Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李丛阳
education
Commits
057a8665
Commit
057a8665
authored
Nov 19, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo
parent
35bc121c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
7 deletions
+15
-7
AddOrUpdateDTO.java
...rg/rcisoft/business/bexternallink/dto/AddOrUpdateDTO.java
+5
-2
BExternalLink.java
.../rcisoft/business/bexternallink/entity/BExternalLink.java
+7
-3
BPersonValueRepository.java
...oft/business/bpersonvalue/dao/BPersonValueRepository.java
+1
-1
BExternalLinkMapper.xml
...per/business/bexternallink/mapper/BExternalLinkMapper.xml
+2
-1
No files found.
src/main/java/org/rcisoft/business/bexternallink/dto/AddOrUpdateDTO.java
View file @
057a8665
...
...
@@ -18,8 +18,11 @@ public class AddOrUpdateDTO {
@ApiModelProperty
(
value
=
"外部URL"
,
required
=
true
,
dataType
=
"varchar"
)
private
String
externalUrl
;
@ApiModelProperty
(
value
=
"图标"
,
required
=
false
,
dataType
=
"varchar"
)
private
String
logo
;
@ApiModelProperty
(
value
=
"手机图标"
,
required
=
false
,
dataType
=
"varchar"
)
private
String
mobileLogo
;
@ApiModelProperty
(
value
=
"客户端图标"
,
required
=
false
,
dataType
=
"varchar"
)
private
String
computerLogo
;
@ApiModelProperty
(
value
=
"备注"
,
required
=
false
,
dataType
=
"varchar"
)
private
String
remarks
;
...
...
src/main/java/org/rcisoft/business/bexternallink/entity/BExternalLink.java
View file @
057a8665
...
...
@@ -30,9 +30,13 @@ public class BExternalLink extends IdEntity<BExternalLink> {
@ApiModelProperty
(
value
=
"标题"
)
private
String
title
;
@Length
(
min
=
1
,
max
=
64
,
message
=
"长度最小为1,最大为64"
)
@ApiModelProperty
(
value
=
"图标"
)
private
String
logo
;
@ApiModelProperty
(
value
=
"移动端图标"
,
required
=
false
,
dataType
=
"varchar"
)
private
String
mobileLogo
;
@ApiModelProperty
(
value
=
"客户端图标"
,
required
=
false
,
dataType
=
"varchar"
)
private
String
computerLogo
;
@Length
(
min
=
1
,
max
=
64
,
message
=
"长度最小为1,最大为64"
)
@ApiModelProperty
(
value
=
"外部URL"
)
...
...
src/main/java/org/rcisoft/business/bpersonvalue/dao/BPersonValueRepository.java
View file @
057a8665
...
...
@@ -52,7 +52,7 @@ public interface BPersonValueRepository extends BaseMapper<BPersonValue> {
" (select IFNULL((select sum(`value`) from b_person_value where del_flag != 1 and flag = 1 and type = 1 and person_id = #{personId}) ,0 )))"
+
", lock_num = lock_num+1 "
+
"where business_id = #{personId} and corp_id = #{corpId}"
+
"<if test=\"
Integer
!=null \"> and lock_num = lockNum </if> "
+
"<if test=\"
lockNum
!=null \"> and lock_num = lockNum </if> "
+
"</script>"
)
int
updateUserValue
(
@Param
(
"personId"
)
String
personId
,
@Param
(
"corpId"
)
String
corpId
,
@Param
(
"lockNum"
)
Integer
lockNum
);
...
...
src/main/resources/mapper/business/bexternallink/mapper/BExternalLinkMapper.xml
View file @
057a8665
...
...
@@ -11,7 +11,8 @@
<result
column=
"flag"
jdbcType=
"VARCHAR"
property=
"flag"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"title"
jdbcType=
"VARCHAR"
property=
"title"
/>
<result
column=
"logo"
jdbcType=
"VARCHAR"
property=
"logo"
/>
<result
column=
"mobile_logo"
jdbcType=
"VARCHAR"
property=
"mobileLogo"
/>
<result
column=
"computer_logo"
jdbcType=
"VARCHAR"
property=
"computerLogo"
/>
<result
column=
"external_url"
jdbcType=
"VARCHAR"
property=
"externalUrl"
/>
<result
column=
"type"
jdbcType=
"VARCHAR"
property=
"type"
/>
<result
column=
"sort"
jdbcType=
"INTEGER"
property=
"sort"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment