|
|
@@ -1039,9 +1039,14 @@ public class OrderChangeServiceImpl extends BaseMybatisDao<NewOrderChangeMapper>
|
|
|
if (tid==null)tid=tChangeTaskMapper.selectByPrimaryKey(cd.getChangeSplitSuper()).getTid();
|
|
|
ot.setSplitSuper(tid);
|
|
|
}
|
|
|
+ //计算出拆分编号
|
|
|
+ Integer i = tOrderTaskMapper.getSplitCount(ot.getSplitSuper());
|
|
|
+ i++;
|
|
|
+ ot.setSplitId(i);
|
|
|
}
|
|
|
if (cd.getDeclarationBatch()!=null)ot.setDeclarationBatch(cd.getDeclarationBatch());
|
|
|
if (cd.getPatentType()!=null)ot.setPatentType(cd.getPatentType());
|
|
|
+
|
|
|
tOrderTaskMapper.insertSelective(ot);
|
|
|
InputAddTask inMid=new InputAddTask();
|
|
|
inMid.setId(ot.getId());
|