|
|
@@ -39,7 +39,6 @@ import com.ydtech.modules.protocol.entity.dto.PtlAgreementInsCompanyDto;
|
|
|
import com.ydtech.modules.protocol.service.PtlAgreementService;
|
|
|
import com.ydtech.utils.idgen.IdGenerate;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
|
@@ -71,21 +70,17 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
|
|
|
private final StringRedisTemplate redisTemplate;
|
|
|
|
|
|
- private InsAreaCompanyService insAreaCompanyService;
|
|
|
+ private final InsAreaCompanyService insAreaCompanyService;
|
|
|
|
|
|
private final PtlAgreementService ptlAgreementService;
|
|
|
|
|
|
- public InsOrdersServiceImpl(OrderComponents orderComponents, SysUserService sysUserService, SysDeptService sysDeptService, StringRedisTemplate redisTemplate, PtlAgreementService ptlAgreementService) {
|
|
|
+ public InsOrdersServiceImpl(OrderComponents orderComponents, SysUserService sysUserService, SysDeptService sysDeptService, StringRedisTemplate redisTemplate, InsAreaCompanyService insAreaCompanyService, PtlAgreementService ptlAgreementService) {
|
|
|
this.orderComponents = orderComponents;
|
|
|
this.sysUserService = sysUserService;
|
|
|
this.sysDeptService = sysDeptService;
|
|
|
this.redisTemplate = redisTemplate;
|
|
|
- this.ptlAgreementService = ptlAgreementService;
|
|
|
- }
|
|
|
-
|
|
|
- @Autowired
|
|
|
- public void setInsAreaCompanyService(InsAreaCompanyService insAreaCompanyService) {
|
|
|
this.insAreaCompanyService = insAreaCompanyService;
|
|
|
+ this.ptlAgreementService = ptlAgreementService;
|
|
|
}
|
|
|
|
|
|
@Override
|