|
|
@@ -91,6 +91,9 @@ public class ResumptionTaskBusiness extends TaskCreatingServiceImplBase<Resumpti
|
|
|
public int buildTask(List<Long> execOrgIds, @NotEmpty List<AppPlan> plans, @NotNull Date date) {
|
|
|
List<Resumption> resumptions = new ArrayList<>();
|
|
|
for (AppPlan appPlan : plans) {
|
|
|
+ if(ObjectUtil.notEqual(appPlan.getPlanStatus(),1)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
//获取履职计划中对应的检查要点
|
|
|
List<AppRulePointTaskVo> pointList = appRulePointService.findPointByPlan(appPlan.getId());
|
|
|
if (pointList.size() <= 0) {//没有检查项不生成履职任务
|