|
|
@@ -27,10 +27,13 @@ import com.ydtech.modules.protocol.entity.po.*;
|
|
|
import com.ydtech.modules.protocol.entity.vo.*;
|
|
|
import com.ydtech.modules.protocol.service.*;
|
|
|
import com.ydtech.modules.protocol.utils.AssertionUtils;
|
|
|
+import com.ydtech.modules.protocols.entity.po.PtlAgreementProductCostsNew;
|
|
|
+import com.ydtech.modules.protocols.service.PtlAgreementProductCostsNewService;
|
|
|
import com.ydtech.utils.idgen.IdGenerate;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
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.transaction.annotation.Transactional;
|
|
|
@@ -79,6 +82,7 @@ public class PtlAgreementServiceImpl extends ServiceImpl<PtlAgreementMapper, Ptl
|
|
|
|
|
|
private final PtlAgreementAttributionHistoryService ptlAgreementAttributionHistoryService;
|
|
|
|
|
|
+
|
|
|
public PtlAgreementServiceImpl(PtlAgreementProductCostsService ptlAgreementProductCostsService,
|
|
|
PtlAgreementAttributionService ptlAgreementAttributionService, PtlAgreementDeptService ptlAgreementDeptService,
|
|
|
EsmInsCompanyService esmInsCompanyService, PtlAgreementNonCarProductCostsService ptlAgreementNonCarProductCostsService,
|
|
|
@@ -605,4 +609,11 @@ public class PtlAgreementServiceImpl extends ServiceImpl<PtlAgreementMapper, Ptl
|
|
|
return list;
|
|
|
}
|
|
|
|
|
|
+ public List<PtlAgreement> getCurrentAgreementList(String agreementId){
|
|
|
+ PtlAgreement ptlAgreement = this.getById(agreementId);
|
|
|
+ String insuranceCompanyId = ptlAgreement.getInsuranceCompanyId();
|
|
|
+ List<PtlAgreement> ptlAgreements = baseMapper.selectList(new LambdaQueryWrapper<PtlAgreement>().eq(PtlAgreement::getInsuranceCompanyId, insuranceCompanyId));
|
|
|
+ return ptlAgreements;
|
|
|
+ }
|
|
|
+
|
|
|
}
|