|
@@ -16,6 +16,7 @@ import com.inkasso.factoring.creditmanagement.entity.*;
|
|
import com.inkasso.factoring.creditmanagement.entity.vo.UserBiddingProjectsVo;
|
|
import com.inkasso.factoring.creditmanagement.entity.vo.UserBiddingProjectsVo;
|
|
import com.inkasso.factoring.creditmanagement.enums.ProjectAndEnterpriseStatusEnums;
|
|
import com.inkasso.factoring.creditmanagement.enums.ProjectAndEnterpriseStatusEnums;
|
|
import com.inkasso.factoring.creditmanagement.enums.ProjectInitiationStatusDict;
|
|
import com.inkasso.factoring.creditmanagement.enums.ProjectInitiationStatusDict;
|
|
|
|
+import com.inkasso.factoring.creditmanagement.enums.SupplierStatusEnums;
|
|
import com.inkasso.factoring.creditmanagement.service.*;
|
|
import com.inkasso.factoring.creditmanagement.service.*;
|
|
import com.inkasso.factoring.dict.entity.Dictionary;
|
|
import com.inkasso.factoring.dict.entity.Dictionary;
|
|
import com.inkasso.factoring.dict.service.DictionaryService;
|
|
import com.inkasso.factoring.dict.service.DictionaryService;
|
|
@@ -404,7 +405,9 @@ public class ProjectInformationServiceImpl extends ServiceImpl<ProjectInformatio
|
|
if(estimatedAccountingPeriod == null){
|
|
if(estimatedAccountingPeriod == null){
|
|
throw new ServiceException(CodeUtil.FAIL,"预估账期不能为空!");
|
|
throw new ServiceException(CodeUtil.FAIL,"预估账期不能为空!");
|
|
}
|
|
}
|
|
- restTemplate.getForObject(startCreditResolutionOld + "?id=" + projectInformation.getId() + "&oldCoreEnterpriseId=" + projectCoreEnterprise.getOldCoreEnterpriseId() + "&estimatedAccountingPeriod=" +estimatedAccountingPeriod , ResponseJson.class);
|
|
|
|
|
|
+ if(supplierInfo.getStatus().equals(SupplierStatusEnums.CREDIT_SUCCESS.getCode())){
|
|
|
|
+ restTemplate.getForObject(startCreditResolutionOld + "?id=" + projectInformation.getId() + "&oldCoreEnterpriseId=" + projectCoreEnterprise.getOldCoreEnterpriseId() + "&estimatedAccountingPeriod=" +estimatedAccountingPeriod , ResponseJson.class);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}else {
|
|
}else {
|
|
start = true;
|
|
start = true;
|