Browse Source

项目统计待完成

anderx 3 years ago
parent
commit
4a92ef62e3

+ 2 - 0
src/main/java/com/goafanti/order/service/impl/OrderProjectServiceImpl.java

@@ -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);