|
@@ -24,7 +24,7 @@ import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
@@ -53,30 +53,27 @@ public class PtlAgreementServiceImpl extends ServiceImpl<PtlAgreementMapper, Ptl
|
|
|
|
|
|
|
|
private final EsmInsCompanyService esmInsCompanyService;
|
|
private final EsmInsCompanyService esmInsCompanyService;
|
|
|
|
|
|
|
|
- private InsCrawlerOrderService insCrawlerOrderController;
|
|
|
|
|
|
|
+ private final InsCrawlerOrderService insCrawlerOrderController;
|
|
|
|
|
+
|
|
|
|
|
+ private final PtlAgreementService proxyObject;
|
|
|
|
|
|
|
|
- private PtlAgreementService proxyObject;
|
|
|
|
|
|
|
|
|
|
private final PtlAgreementNonCarProductCostsService ptlAgreementNonCarProductCostsService;
|
|
private final PtlAgreementNonCarProductCostsService ptlAgreementNonCarProductCostsService;
|
|
|
|
|
|
|
|
- public PtlAgreementServiceImpl(PtlAgreementProductCostsService ptlAgreementProductCostsService, PtlAgreementUnderwritingRulesService ptlAgreementUnderwritingRulesService, PtlAgreementAttributionService ptlAgreementAttributionService, PtlAgreementDeptService ptlAgreementDeptService, EsmInsCompanyService esmInsCompanyService, PtlAgreementNonCarProductCostsService ptlAgreementNonCarProductCostsService) {
|
|
|
|
|
|
|
+ public PtlAgreementServiceImpl(PtlAgreementProductCostsService ptlAgreementProductCostsService, PtlAgreementUnderwritingRulesService ptlAgreementUnderwritingRulesService,
|
|
|
|
|
+ PtlAgreementAttributionService ptlAgreementAttributionService, PtlAgreementDeptService ptlAgreementDeptService,
|
|
|
|
|
+ EsmInsCompanyService esmInsCompanyService, PtlAgreementNonCarProductCostsService ptlAgreementNonCarProductCostsService,
|
|
|
|
|
+ @Lazy InsCrawlerOrderService insCrawlerOrderController, @Lazy PtlAgreementService proxyObject) {
|
|
|
this.ptlAgreementProductCostsService = ptlAgreementProductCostsService;
|
|
this.ptlAgreementProductCostsService = ptlAgreementProductCostsService;
|
|
|
this.ptlAgreementUnderwritingRulesService = ptlAgreementUnderwritingRulesService;
|
|
this.ptlAgreementUnderwritingRulesService = ptlAgreementUnderwritingRulesService;
|
|
|
this.ptlAgreementAttributionService = ptlAgreementAttributionService;
|
|
this.ptlAgreementAttributionService = ptlAgreementAttributionService;
|
|
|
this.ptlAgreementDeptService = ptlAgreementDeptService;
|
|
this.ptlAgreementDeptService = ptlAgreementDeptService;
|
|
|
this.esmInsCompanyService = esmInsCompanyService;
|
|
this.esmInsCompanyService = esmInsCompanyService;
|
|
|
this.ptlAgreementNonCarProductCostsService = ptlAgreementNonCarProductCostsService;
|
|
this.ptlAgreementNonCarProductCostsService = ptlAgreementNonCarProductCostsService;
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @Autowired
|
|
|
|
|
- public void setProxyObject(PtlAgreementService proxyObject) {
|
|
|
|
|
|
|
+ this.insCrawlerOrderController = insCrawlerOrderController;
|
|
|
this.proxyObject = proxyObject;
|
|
this.proxyObject = proxyObject;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
- public void setInsCrawlerOrderController(InsCrawlerOrderService insCrawlerOrderController) {
|
|
|
|
|
- this.insCrawlerOrderController = insCrawlerOrderController;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public List<PtlAgreementInsCompanyDto> getAgreementCompany(String deptId) {
|
|
public List<PtlAgreementInsCompanyDto> getAgreementCompany(String deptId) {
|