Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
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
fangxinjiang
yifu-mvp
Commits
a45a1e5a
Commit
a45a1e5a
authored
Jul 04, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
58ab5676
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
TPreDispatchUpdateVo.java
...fu/cloud/plus/v1/yifu/social/vo/TPreDispatchUpdateVo.java
+8
-0
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+5
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPreDispatchUpdateVo.java
View file @
a45a1e5a
...
...
@@ -287,6 +287,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
@Length
(
max
=
100
,
message
=
"小合同名称不能超过100个字符"
)
@ExcelAttribute
(
name
=
"小合同名称"
,
maxLength
=
100
)
private
String
contractMinorName
;
/**
* 唯一号
*/
...
...
@@ -602,4 +603,11 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
*/
@ExcelAttribute
(
name
=
"取消原因"
,
maxLength
=
255
)
private
String
cancelRemark
;
/**
* 0 是 1 否
*/
@ExcelAttribute
(
name
=
"是否同步终止合同、减项、减档"
,
maxLength
=
1
)
@ExcelProperty
(
"是否同步终止合同、减项、减档"
)
private
String
changeContractAndEmployee
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
a45a1e5a
...
...
@@ -923,6 +923,11 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
List
<
TPreDispatchInfo
>
listInfo
=
new
ArrayList
<>();
if
(
Common
.
isNotNull
(
list
)){
for
(
TPreDispatchInfo
info:
list
){
if
(
Common
.
isNotNull
(
info
.
getChangeContractAndEmployee
())
&&
"是"
.
equals
(
info
.
getChangeContractAndEmployee
()))
{
info
.
setChangeContractAndEmployee
(
CommonConstants
.
ZERO_STRING
);
}
else
{
info
.
setChangeContractAndEmployee
(
CommonConstants
.
ONE_STRING
);
}
listInfo
.
add
(
info
);
}
}
...
...
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