Commit aca2f733 by 梅存智

删除计划判空

parent 5688ce56
...@@ -183,7 +183,7 @@ public class TpPlanActivityServiceImpl extends ServiceImpl<TpPlanActivityMapper, ...@@ -183,7 +183,7 @@ public class TpPlanActivityServiceImpl extends ServiceImpl<TpPlanActivityMapper,
EntityWrapper<TpPlanActivity> ew = new EntityWrapper<>(tpPlanActivityEW); EntityWrapper<TpPlanActivity> ew = new EntityWrapper<>(tpPlanActivityEW);
ew.in("id", ids); ew.in("id", ids);
TpPlanActivity tpPlanActivity = tpPlanActivityEW.selectOne(ew); TpPlanActivity tpPlanActivity = tpPlanActivityEW.selectOne(ew);
if (null != tpPlanActivityEW) { if (tpPlanActivity != null && null != tpPlanActivityEW) {
// 查出TPplanId 下的 活动 // 查出TPplanId 下的 活动
tpPlanActivityEW.setDeleted(ProjectConstant.DELETED_NO); tpPlanActivityEW.setDeleted(ProjectConstant.DELETED_NO);
if(tpPlanActivity.getTpPlanId()!=null) { if(tpPlanActivity.getTpPlanId()!=null) {
......
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