|
|
@@ -358,7 +358,7 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
|
|
|
ap.setPlanExec(plan.getPlanExec());
|
|
|
ap.setModifiedBy(SecurityUtils.getUserId());
|
|
|
ap.setPlanName(plan.getPlanName());
|
|
|
-
|
|
|
+ ap.setCount(plan.getCount());
|
|
|
baseMapper.updateById(ap);
|
|
|
|
|
|
if (app.getRoleList().size() > 0) {
|
|
|
@@ -547,7 +547,8 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
|
|
|
if (orgs.size() > 0) {
|
|
|
appPlanVo.setOrgId(orgs.get(0).getOrgId());
|
|
|
}
|
|
|
-
|
|
|
+ AppPlan ap = baseMapper.selectById(appPlan.getParentId());
|
|
|
+ appPlanVo.setParentCount(ap != null ? Integer.parseInt(ap.getCount()) : 1);
|
|
|
|
|
|
return appPlanVo;
|
|
|
}
|