Commit 00f54fdd authored by hongguangwu's avatar hongguangwu

MVP1.6.4-选择“皖信自动化处理”

parent fcad1092
...@@ -178,11 +178,13 @@ public class SocialConfig { ...@@ -178,11 +178,13 @@ public class SocialConfig {
} }
List<HashMap> dataList = JSON.parseArray(bodyObject.getString("data"), HashMap.class); List<HashMap> dataList = JSON.parseArray(bodyObject.getString("data"), HashMap.class);
String label; String label;
String disabled;
if (dataList != null && !dataList.isEmpty()) { if (dataList != null && !dataList.isEmpty()) {
for (HashMap data : dataList) { for (HashMap data : dataList) {
terminalId = String.valueOf(data.get("value")); terminalId = String.valueOf(data.get("value"));
label = String.valueOf(data.get("label")); label = String.valueOf(data.get("label"));
if (Common.isNotNull(label) && label.contains("空闲")) { disabled = String.valueOf(data.get("disabled"));
if ("false".equals(disabled) && Common.isNotNull(label) && label.contains("皖信自动化处理") && label.contains("空闲")) {
break; break;
} }
} }
......
...@@ -88,11 +88,9 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap ...@@ -88,11 +88,9 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
if ("社保增员".equals(type) || "社保减员".equals(type)) { if ("社保增员".equals(type) || "社保减员".equals(type)) {
socialInfo.setYgsAddId(addId); socialInfo.setYgsAddId(addId);
socialInfo.setYgsHandleStatus(CommonConstants.TWO_STRING); socialInfo.setYgsHandleStatus(CommonConstants.TWO_STRING);
log.error("社保增员TWO_STRING="+socialInfo.getId());
} else { } else {
socialInfo.setYsdAddId(addId); socialInfo.setYsdAddId(addId);
socialInfo.setYsdHandleStatus(CommonConstants.TWO_STRING); socialInfo.setYsdHandleStatus(CommonConstants.TWO_STRING);
log.error("医疗增员TWO_STRING="+socialInfo.getId());
} }
} }
tSocialInfoService.updateBatchById(socialList); tSocialInfoService.updateBatchById(socialList);
...@@ -152,11 +150,11 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap ...@@ -152,11 +150,11 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
**/ **/
@Override @Override
public R<String> pushSoldier(List<String> dispatchIdList) { public R<String> pushSoldier(List<String> dispatchIdList) {
log.error("dispatchIdList="+dispatchIdList); log.info("dispatchIdList="+dispatchIdList);
// 社保增员、社保减员、医保增员、医保减员 // 社保增员、社保减员、医保增员、医保减员
// 养工失新增列表 // 养工失新增列表
List<SocialSoldierYgsAddVo> ygsAddlist = baseMapper.getSocialSoldierYgsAddVoList(dispatchIdList); List<SocialSoldierYgsAddVo> ygsAddlist = baseMapper.getSocialSoldierYgsAddVoList(dispatchIdList);
log.error("ygsAddlist="+ygsAddlist); log.info("ygsAddlist="+ygsAddlist);
if (ygsAddlist != null && !ygsAddlist.isEmpty()) { if (ygsAddlist != null && !ygsAddlist.isEmpty()) {
List<TSocialInfo> socialIdList = new ArrayList<>(); List<TSocialInfo> socialIdList = new ArrayList<>();
TSocialInfo socialInfo; TSocialInfo socialInfo;
...@@ -167,7 +165,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap ...@@ -167,7 +165,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
} }
MultipartFile file = this.getFile(ygsAddlist, 1); MultipartFile file = this.getFile(ygsAddlist, 1);
if (Common.isNotNull(file)) { if (Common.isNotNull(file)) {
log.error("社保增员"+file.getOriginalFilename());
this.getOneAppGetModuleDetail(socialIdList, file, "社保增员"); this.getOneAppGetModuleDetail(socialIdList, file, "社保增员");
} }
} }
...@@ -183,7 +180,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap ...@@ -183,7 +180,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
} }
MultipartFile file = this.getFile(ygsReducelist, 2); MultipartFile file = this.getFile(ygsReducelist, 2);
if (Common.isNotNull(file)) { if (Common.isNotNull(file)) {
log.error("社保减员"+file.getOriginalFilename());
this.getOneAppGetModuleDetail(socialIdList, file, "社保减员"); this.getOneAppGetModuleDetail(socialIdList, file, "社保减员");
} }
} }
...@@ -199,7 +195,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap ...@@ -199,7 +195,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
} }
MultipartFile file = this.getFile(ysdAddlist, 3); MultipartFile file = this.getFile(ysdAddlist, 3);
if (Common.isNotNull(file)) { if (Common.isNotNull(file)) {
log.error("医保增员"+file.getOriginalFilename());
this.getOneAppGetModuleDetail(socialIdList, file, "医保增员"); this.getOneAppGetModuleDetail(socialIdList, file, "医保增员");
} }
} }
...@@ -215,7 +210,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap ...@@ -215,7 +210,6 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
} }
MultipartFile file = this.getFile(ysdReducelist, 4); MultipartFile file = this.getFile(ysdReducelist, 4);
if (Common.isNotNull(file)) { if (Common.isNotNull(file)) {
log.error("医保减员"+file.getOriginalFilename());
this.getOneAppGetModuleDetail(socialIdList, file, "医保减员"); this.getOneAppGetModuleDetail(socialIdList, file, "医保减员");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment