@@ -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));
/**
@@ -203,6 +203,5 @@ public interface OrderNewService {
* 非特批触发订单催款
*/
void pushOrderDun(String orderNo);
- int checkOutAudit(Integer id);
@@ -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;
-
@@ -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)&&