|
|
@@ -433,7 +433,11 @@ public class OrderChangeServiceImpl extends BaseMybatisDao<NewOrderChangeMapper>
|
|
|
}
|
|
|
tOrderTaskMapper.insertSelectiveGetId(tOrderTaskBo);
|
|
|
int y=tOrderTaskBo.getId();
|
|
|
- tTaskMidMapper.insertSelective(new TTaskMid(y,new BigDecimal(0)));
|
|
|
+ TTaskMid dtails = tTaskMidMapper.getDtails(tOrderTaskBo.getId());
|
|
|
+ TTaskMid tTaskMid = new TTaskMid(y, new BigDecimal(0));
|
|
|
+ tTaskMid.setDispatchProvince(dtails.getDispatchProvince());
|
|
|
+ tTaskMid.setDutyDep(dtails.getDutyDep());
|
|
|
+ tTaskMidMapper.insertSelective(tTaskMid);
|
|
|
if(tOrderTaskBo.getSplitStatus()==1) {
|
|
|
map.put(x, y);
|
|
|
}
|