|
|
@@ -469,8 +469,10 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
|
|
|
t.setSetUpStatus(1);
|
|
|
taskMid.setSetUpCount(task2.getCommodityQuantity());
|
|
|
}
|
|
|
+ //大于3计做已完成 不计做库存
|
|
|
if (b.getProjectStatus()>3){
|
|
|
taskMid.setCompleteCount(task2.getCommodityQuantity());
|
|
|
+ taskMid.setDispatchCount(0);
|
|
|
}
|
|
|
tTaskMidMapper.updateByTid(taskMid);
|
|
|
tOrderTaskMapper.updateByPrimaryKeySelective(t);
|