Compare commits
No commits in common. "6e5da0821b7cd9a82459563c4ff3c525f8050cd5" and "35f3067343f191ec4f0977f4aeb78b84e54d57c2" have entirely different histories.
6e5da0821b
...
35f3067343
@ -92,9 +92,7 @@ public class WmsInPlanServiceImpl implements IWmsInPlanService {
|
||||
public int insertWmsInPlan(WmsInPlan wmsInPlan) {
|
||||
wmsInPlan.setCreateTime(DateUtils.getNowDate());
|
||||
// 设置计划编码
|
||||
if (wmsInPlan.getPlanCode() == null) {
|
||||
wmsInPlan.setPlanCode(MultiModuleCodeGenerator.generateTaskCode("RKP"));
|
||||
}
|
||||
if (wmsInPlan.getPlanCode() == null) wmsInPlan.setPlanCode(MultiModuleCodeGenerator.generateTaskCode("RKP"));
|
||||
int rows = wmsInPlanMapper.insertWmsInPlan(wmsInPlan);
|
||||
insertWmsInPlanDetails(wmsInPlan);
|
||||
return rows;
|
||||
@ -163,7 +161,6 @@ public class WmsInPlanServiceImpl implements IWmsInPlanService {
|
||||
List<WmsInPlanDetailEntity> wmsInPlanDetailEntityList = list.get(i).getWmsInPlanDetailEntityList();
|
||||
wmsInPlanDetailsList1.get(i).setWmsInPlanDetailEntityList(wmsInPlanDetailEntityList);
|
||||
wmsInPlanDetailEntityMapper.deleteWmsInPlanDetailEntityByPlanDetailsId(wmsInPlanDetailsList1.get(i).getDetailsId());
|
||||
// 插入实例
|
||||
insertWmsInPlanDetailEntity(wmsInPlanDetailsList1.get(i));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user