排单非空判断错误修改

This commit is contained in:
liuzhaotian
2025-03-12 10:33:51 +08:00
parent 8b1d81eefc
commit 0a46ef30a5
@@ -994,7 +994,7 @@ public class PlanServiceImpl implements PlanService {
for (Long planId : planIds) { for (Long planId : planIds) {
PlanDO planDO = planMapper.selectById(planId); PlanDO planDO = planMapper.selectById(planId);
if(ObjectUtils.isEmpty(planDO)){ if(ObjectUtils.isEmpty(planDO)){
throw exception(PLAN_NOT_DATA_EXISTS,planDO.getId()); throw exception(PLAN_NOT_DATA_EXISTS,planId);
} }
planDOS.add(planDO); planDOS.add(planDO);
} }