Browse Source

项目统计待完成

anderx 3 years ago
parent
commit
e2e82caab1

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

@@ -468,6 +468,10 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 			if(b.getProjectStatus()==NewProjectStatus.YLX.getCode()||b.getProjectStatus()==NewProjectStatus.YNGS.getCode()){
 				t.setSetUpStatus(1);
 				taskMid.setSetUpCount(task2.getCommodityQuantity());
+				if (b.getProjectStatus()==NewProjectStatus.YNGS.getCode()){
+					t.setIfPublicity(1);
+					taskMid.setPromulgateCount(task2.getCommodityQuantity());
+				}
 			}
 			//大于3计做已完成 不计做库存
 			if (b.getProjectStatus()>3){