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
02ee7ce4
Commit
02ee7ce4
authored
Sep 24, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
户拆分任务:批量导入、批量更新、导出、新增、编辑-fxj
parent
088a8e29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
SysHouseHoldInfoServiceImpl.java
...yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
+16
-0
SysHouseHoldInfoMapper.xml
...-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
+6
-6
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
View file @
02ee7ce4
...
@@ -944,6 +944,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
...
@@ -944,6 +944,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
if
(
Common
.
isNotNull
(
excel
.
getIsSingle
())){
if
(
Common
.
isNotNull
(
excel
.
getIsSingle
())){
household
.
setIsSingle
(
excel
.
getIsSingle
().
equals
(
HouseConfigConstants
.
IS_SINGLE_NO
)
?
"0"
:
"1"
);
household
.
setIsSingle
(
excel
.
getIsSingle
().
equals
(
HouseConfigConstants
.
IS_SINGLE_NO
)
?
"0"
:
"1"
);
}
}
}
else
{
household
.
setRosterAutoFlagYgs
(
null
);
household
.
setDataFlagYgs
(
null
);
household
.
setIsSingle
(
null
);
}
}
//如果医保自动化为是时,才更新 推送类型、是否生成花名册、是否仅补缴生成材料、
//如果医保自动化为是时,才更新 推送类型、是否生成花名册、是否仅补缴生成材料、
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
household
.
getAutoStatusYsd
())){
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
household
.
getAutoStatusYsd
())){
...
@@ -956,6 +960,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
...
@@ -956,6 +960,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
if
(
Common
.
isNotNull
(
excel
.
getIsSingleYsd
())){
if
(
Common
.
isNotNull
(
excel
.
getIsSingleYsd
())){
household
.
setIsSingleYsd
(
excel
.
getIsSingleYsd
().
equals
(
HouseConfigConstants
.
IS_SINGLE_NO
)
?
"0"
:
"1"
);
household
.
setIsSingleYsd
(
excel
.
getIsSingleYsd
().
equals
(
HouseConfigConstants
.
IS_SINGLE_NO
)
?
"0"
:
"1"
);
}
}
}
else
{
household
.
setRosterAutoFlagYsd
(
null
);
household
.
setDataFlagYsd
(
null
);
household
.
setIsSingleYsd
(
null
);
}
}
household
.
setOrganId
(
dicMap
.
get
(
household
.
getOrganName
()));
household
.
setOrganId
(
dicMap
.
get
(
household
.
getOrganName
()));
...
@@ -1289,6 +1297,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
...
@@ -1289,6 +1297,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
if
(
Common
.
isNotNull
(
excel
.
getRosterAutoFlagYgs
()))
{
if
(
Common
.
isNotNull
(
excel
.
getRosterAutoFlagYgs
()))
{
info
.
setRosterAutoFlagYgs
(
excel
.
getRosterAutoFlagYgs
().
equals
(
CommonConstants
.
IS_TRUE
)
?
"1"
:
"0"
);
info
.
setRosterAutoFlagYgs
(
excel
.
getRosterAutoFlagYgs
().
equals
(
CommonConstants
.
IS_TRUE
)
?
"1"
:
"0"
);
}
}
}
else
{
info
.
setIsSingle
(
null
);
info
.
setDataFlagYgs
(
null
);
info
.
setRosterAutoFlagYgs
(
null
);
}
}
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
info
.
getAutoStatusYsd
())){
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
info
.
getAutoStatusYsd
())){
if
(
Common
.
isNotNull
(
excel
.
getRosterAutoFlagYsd
()))
{
if
(
Common
.
isNotNull
(
excel
.
getRosterAutoFlagYsd
()))
{
...
@@ -1300,6 +1312,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
...
@@ -1300,6 +1312,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
if
(
Common
.
isNotNull
(
excel
.
getDataFlagYsd
()))
{
if
(
Common
.
isNotNull
(
excel
.
getDataFlagYsd
()))
{
info
.
setDataFlagYsd
(
excel
.
getDataFlagYsd
().
equals
(
CommonConstants
.
IS_TRUE
)
?
"1"
:
"0"
);
info
.
setDataFlagYsd
(
excel
.
getDataFlagYsd
().
equals
(
CommonConstants
.
IS_TRUE
)
?
"1"
:
"0"
);
}
}
}
else
{
info
.
setRosterAutoFlagYsd
(
null
);
info
.
setIsSingleYsd
(
null
);
info
.
setDataFlagYsd
(
null
);
}
}
if
(
Common
.
isNotNull
(
excel
.
getOrganName
()))
{
if
(
Common
.
isNotNull
(
excel
.
getOrganName
()))
{
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
View file @
02ee7ce4
...
@@ -244,12 +244,12 @@
...
@@ -244,12 +244,12 @@
if(a.IS_SIGN = '0','是','否') isSign,
if(a.IS_SIGN = '0','是','否') isSign,
if(a.AUTO_STATUS = '0','启用','禁用') autoStatus,
if(a.AUTO_STATUS = '0','启用','禁用') autoStatus,
if(a.AUTO_STATUS_YSD = '0','启用','禁用') autoStatusYsd,
if(a.AUTO_STATUS_YSD = '0','启用','禁用') autoStatusYsd,
if(a.IS_SINGLE = '0','批量','单个')
isSingle,
case when a.IS_SINGLE = '0' then '批量' when a.IS_SINGLE = '1' then '单个' else '' end
isSingle,
if(a.IS_SINGLE_YSD = '0','批量','单个')
isSingleYsd,
case when a.IS_SINGLE_YSD = '0' then '批量' when a.IS_SINGLE_YSD = '1' then '单个' else '' end
isSingleYsd,
if(a.ROSTER_AUTO_FLAG_YGS = '0','否','是')
rosterAutoFlagYgs,
case when a.ROSTER_AUTO_FLAG_YGS = '0' then '否' when a.ROSTER_AUTO_FLAG_YGS = '1' then '是' else '' end
rosterAutoFlagYgs,
if(a.ROSTER_AUTO_FLAG_YSD = '0','否','是')
rosterAutoFlagYsd,
case when a.ROSTER_AUTO_FLAG_YSD = '0' then '否' when a.ROSTER_AUTO_FLAG_YSD = '1' then '是' else '' end
rosterAutoFlagYsd,
if(a.DATA_FLAG_YGS = '0','否','是')
dataFlagYgs,
case when a.DATA_FLAG_YGS = '0' then '否' when a.DATA_FLAG_YGS = '1' then '是' else '' end
dataFlagYgs,
if(a.DATA_FLAG_YSD = '0','否','是')
dataFlagYsd
case when a.DATA_FLAG_YSD = '0' then '否' when a.DATA_FLAG_YSD = '1' then '是' else '' end
dataFlagYsd
FROM sys_house_hold_info a
FROM sys_house_hold_info a
LEFT JOIN sys_area a1 on a1.id=a.PROVINCE
LEFT JOIN sys_area a1 on a1.id=a.PROVINCE
LEFT JOIN sys_area a2 on a2.id=a.CITY
LEFT JOIN sys_area a2 on a2.id=a.CITY
...
...
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