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
8a6740c9
Commit
8a6740c9
authored
Oct 24, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-社保自动化相关提交
parent
494069d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
13 deletions
+6
-13
MybatisPlusMetaObjectHandler.java
...u/common/mybatis/config/MybatisPlusMetaObjectHandler.java
+3
-3
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+0
-4
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+3
-6
No files found.
yifu-common/yifu-common-mybatis/src/main/java/com/yifu.cloud.plus.v1/yifu/common/mybatis/config/MybatisPlusMetaObjectHandler.java
View file @
8a6740c9
...
@@ -31,9 +31,9 @@ public class MybatisPlusMetaObjectHandler implements MetaObjectHandler {
...
@@ -31,9 +31,9 @@ public class MybatisPlusMetaObjectHandler implements MetaObjectHandler {
fillValIfNullByName
(
"updateTime"
,
now
,
metaObject
,
true
);
fillValIfNullByName
(
"updateTime"
,
now
,
metaObject
,
true
);
YifuUser
yifuUser
=
getYifuUser
();
YifuUser
yifuUser
=
getYifuUser
();
if
(
Common
.
isNotNull
(
yifuUser
)){
if
(
Common
.
isNotNull
(
yifuUser
)){
fillValIfNullByName
(
"createBy"
,
yifuUser
.
getId
(),
metaObject
,
tru
e
);
fillValIfNullByName
(
"createBy"
,
yifuUser
.
getId
(),
metaObject
,
fals
e
);
fillValIfNullByName
(
"updateBy"
,
yifuUser
.
getId
(),
metaObject
,
tru
e
);
fillValIfNullByName
(
"updateBy"
,
yifuUser
.
getId
(),
metaObject
,
fals
e
);
fillValIfNullByName
(
"createName"
,
yifuUser
.
getNickname
(),
metaObject
,
tru
e
);
fillValIfNullByName
(
"createName"
,
yifuUser
.
getNickname
(),
metaObject
,
fals
e
);
}
}
}
}
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
View file @
8a6740c9
...
@@ -900,8 +900,4 @@ public class TDispatchInfo extends BaseEntity {
...
@@ -900,8 +900,4 @@ public class TDispatchInfo extends BaseEntity {
@Schema
(
description
=
"社保待购买id"
)
@Schema
(
description
=
"社保待购买id"
)
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
String
preId
;
private
String
preId
;
@Schema
(
description
=
"社保待购买前端客服"
)
@TableField
(
exist
=
false
)
private
String
preName
;
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
8a6740c9
...
@@ -814,8 +814,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -814,8 +814,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
auditInfo
.
setDispatchInfoId
(
dispatch
.
getId
());
auditInfo
.
setDispatchInfoId
(
dispatch
.
getId
());
auditInfo
.
setAuditRemark
(
"派单申请提交"
);
auditInfo
.
setAuditRemark
(
"派单申请提交"
);
auditInfo
.
setTitle
(
"派单申请"
);
auditInfo
.
setTitle
(
"派单申请"
);
auditInfo
.
setOrganName
(
dispatch
.
getOrganName
());
auditInfo
.
setOrganName
(
null
!=
dispatch
.
getPreId
()
?
""
:
dispatch
.
getOrganName
());
auditInfo
.
setAuditUser
(
null
!=
dispatch
.
getPreName
()
?
dispatch
.
getPreName
()
:
dispatch
.
getCreateName
());
auditInfo
.
setAuditUser
(
dispatch
.
getCreateName
());
auditInfo
.
setAuditTime
(
new
Date
());
auditInfo
.
setAuditTime
(
new
Date
());
auditInfo
.
setIsCommision
(
CommonConstants
.
ONE_STRING
);
auditInfo
.
setIsCommision
(
CommonConstants
.
ONE_STRING
);
auditInfoMapper
.
insert
(
auditInfo
);
auditInfoMapper
.
insert
(
auditInfo
);
...
@@ -1359,10 +1359,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -1359,10 +1359,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if
(
Common
.
isNotNull
(
excel
.
getPreId
()))
{
if
(
Common
.
isNotNull
(
excel
.
getPreId
()))
{
dispatch
.
setPreId
(
excel
.
getPreId
());
dispatch
.
setPreId
(
excel
.
getPreId
());
}
}
if
(
Common
.
isNotNull
(
excel
.
getPreName
()))
{
dispatch
.
setCreateBy
(
null
==
user
?
"1"
:
user
.
getId
());
dispatch
.
setPreName
(
excel
.
getPreName
());
}
dispatch
.
setCreateBy
(
null
==
user
?
"7"
:
user
.
getId
());
dispatch
.
setCreateName
(
Common
.
isNotNull
(
excel
.
getPreName
())
?
excel
.
getPreName
()
:
user
.
getNickname
());
dispatch
.
setCreateName
(
Common
.
isNotNull
(
excel
.
getPreName
())
?
excel
.
getPreName
()
:
user
.
getNickname
());
dispatch
.
setCreateTime
(
LocalDateTime
.
now
());
dispatch
.
setCreateTime
(
LocalDateTime
.
now
());
dispatch
.
setContractSubName
(
excel
.
getContractSubName
());
dispatch
.
setContractSubName
(
excel
.
getContractSubName
());
...
...
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