anderx лет назад: 4
Родитель
Сommit
17471cf34c

+ 0 - 5
src/main/java/com/goafanti/order/controller/OutsourceOrgApiController.java

@@ -136,11 +136,6 @@ public class OutsourceOrgApiController extends CertifyApiController {
 			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "项目外包信息","项目外包信息"));
 			return res;
 		}
-		int i=orderNewService.checkOutAudit(o.getTid());
-		if(i==1) {
-			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "第三方信息","第三方信息"));
-			return res;
-		}
 		return res.data(orderNewService.pushOutsourceProjectAudit(o));
 	}
 	/**

+ 0 - 1
src/main/java/com/goafanti/order/service/OrderNewService.java

@@ -203,6 +203,5 @@ public interface OrderNewService {
 	 * 	非特批触发订单催款
 	 */
 	void pushOrderDun(String orderNo);
-	int checkOutAudit(Integer id);
 	
 }

+ 0 - 9
src/main/java/com/goafanti/order/service/impl/OrderNewServiceImpl.java

@@ -1381,15 +1381,6 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
 
 
 
-	@Override
-	public int checkOutAudit(Integer id) {
-		List<OutThirdPartyCompany> list=thirdPartyCompanyMapper.selectByTid(id);
-		if (list.isEmpty())return 1;
-//		OrderOutsourceDtails o=tOrderOutsourceMapper.selectByOrderNo(null,String.valueOf(id));
-//		if (o==null)return 2;
-		return 0;
-	}
-
 
 
 

+ 2 - 0
src/main/java/com/goafanti/organization/service/impl/ThirdPartyCompanyServiceImpl.java

@@ -310,6 +310,8 @@ public class ThirdPartyCompanyServiceImpl extends  BaseMybatisDao<ThirdPartyComp
 			op.setInitialUnitPrice(pn.getUnitPrice().toString());
 			op.setInitialPaymentAmount(pn.getPartyAmount().toString());
 		}else if (type==2) {
+			ProjectTypePuls tt=thirdPartyCompanyMapper.selectByTidGetDtails(tp.getTid());
+			op.setInitialQuantity(tt.getQuantity());
 			
 		}
 	if (!TokenManager.hasRole(AFTConstants.FINANCE)&&