Commit f43ca518 by ilal

提交

parent ff72890c
...@@ -534,7 +534,6 @@ public class SocialSecurityFundController { ...@@ -534,7 +534,6 @@ public class SocialSecurityFundController {
@ApiOperation(value = "投保", httpMethod = "POST", notes = "接口发布说明") @ApiOperation(value = "投保", httpMethod = "POST", notes = "接口发布说明")
public ResponseResult InsurancePlan(@CurrentUser UserBean userBean,@RequestBody InsureDto insuredto) { public ResponseResult InsurancePlan(@CurrentUser UserBean userBean,@RequestBody InsureDto insuredto) {
String[] usernums = insuredto.getUsernums(); String[] usernums = insuredto.getUsernums();
if(insuredto.getUsernum() > 0) { if(insuredto.getUsernum() > 0) {
...@@ -546,6 +545,7 @@ public class SocialSecurityFundController { ...@@ -546,6 +545,7 @@ public class SocialSecurityFundController {
if(usernums.length > 0){ if(usernums.length > 0){
for(int f=0;f<usernums.length;f++){ for(int f=0;f<usernums.length;f++){
SbgjjAdminCbry.builder().state(0).isUse(0).build().update(new QueryWrapper<SbgjjAdminCbry>().lambda().eq(SbgjjAdminCbry::getUserNum, Integer.valueOf(usernums[f])).eq(SbgjjAdminCbry::getQyid, userBean.getOrgCode()));
// Integer.valueOf(usernums[f]) // Integer.valueOf(usernums[f])
SbgjjAdminCbry cbry = SbgjjAdminCbry.builder().build(); SbgjjAdminCbry cbry = SbgjjAdminCbry.builder().build();
...@@ -917,7 +917,7 @@ public class SocialSecurityFundController { ...@@ -917,7 +917,7 @@ public class SocialSecurityFundController {
if(istb.getSbcbState() == 3 && istb.getGjjcbState() == 3) {//社保和公积金全部“停保”时 if(istb.getSbcbState() == 3 && istb.getGjjcbState() == 3) {//社保和公积金全部“停保”时
SbgjjAdminCbry up = SbgjjAdminCbry.builder().build(); SbgjjAdminCbry up = SbgjjAdminCbry.builder().build();
up.setId(stopi.getId()); up.setId(stopi.getId());
up.setState(0);//状态 1:使用中;0:历史记录 up.setState(1);//up.setState(0);//状态 1:使用中;0:历史记录
up.updateById(); up.updateById();
} }
......
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