diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java index 5e637449..32faa70d 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java @@ -50,6 +50,8 @@ import org.jeecg.modules.demo.expscore.service.IExpScoreService; import org.jeecg.modules.demo.score_management.entity.ScoreManagement; import org.jeecg.modules.demo.scorepersion.entity.ScorePersion; import org.jeecg.modules.demo.scorepersion.service.IScorePersionService; +import org.jeecg.modules.demo.upfile_persion.entity.UpfilePersion; +import org.jeecg.modules.demo.upfile_persion.service.IUpfilePersionService; import org.jeecg.modules.system.entity.SysUser; import org.jeecg.modules.system.service.ISysUserService; import org.jeecgframework.poi.excel.ExcelImportUtil; @@ -124,6 +126,9 @@ public class AnnualCompPointController extends JeecgController queryWrapperup = new QueryWrapper<>(); + queryWrapperup.eq("apply_code",list.get(b).getBmcode()); + List listup = upfilePersionService.list(queryWrapperup); + if(listup.size()>0){ + up = listup.get(0); + up.setStatus(1); + upfilePersionService.updateById(up); + } + } return Result.OK("成功!"); } /** @@ -484,6 +501,18 @@ public class AnnualCompPointController extends JeecgController queryWrapperup = new QueryWrapper<>(); + queryWrapperup.eq("apply_code",list.get(b).getBmcode()); + List listup = upfilePersionService.list(queryWrapperup); + if(listup.size()>0){ + up = listup.get(0); + up.setStatus(1); + upfilePersionService.updateById(up); + } + } return Result.OK("成功!"); }