|
|
@@ -24,7 +24,6 @@ import com.goafanti.order.service.OrderNewService;
|
|
|
import com.goafanti.weChat.bo.*;
|
|
|
import com.goafanti.weChat.service.PublicReleaseService;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.cache.annotation.CacheEvict;
|
|
|
import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
@@ -39,75 +38,113 @@ import java.util.stream.Collectors;
|
|
|
|
|
|
@Service
|
|
|
public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper> implements PublicReleaseService {
|
|
|
- @Autowired
|
|
|
- private PublicReleaseMapper publicReleaseMapper;
|
|
|
- @Autowired
|
|
|
- private PublicReleaseLogMapper publicReleaseLogMapper;
|
|
|
- @Autowired
|
|
|
- private CustomerService customerService;
|
|
|
- @Autowired
|
|
|
- private PublicReleaseDetailsMapper publicReleaseDetailsMapper;
|
|
|
- @Autowired
|
|
|
- private WeChatUtils weChatUtils;
|
|
|
- @Autowired
|
|
|
- private AdminMapper adminMapper;
|
|
|
- @Autowired
|
|
|
- private AsyncUtils asyncUtils;
|
|
|
- @Autowired
|
|
|
- private UserMapper userMapper;
|
|
|
- @Autowired
|
|
|
- private OrganizationContactBookMapper organizationContactBookMapper;
|
|
|
- @Autowired
|
|
|
- private SystemWebSocketHandler systemWebSocketHandler;
|
|
|
- @Autowired
|
|
|
- private TOrderNewMapper tOrderNewMapper;
|
|
|
- @Autowired
|
|
|
- private DepartmentService departmentService;
|
|
|
- @Autowired
|
|
|
- private PublicExamineMapper publicExamineMapper;
|
|
|
- @Autowired
|
|
|
- private PublicReleaseClockMapper publicReleaseClockMapper;
|
|
|
- @Autowired
|
|
|
- private PublicReleaseDateClockMapper publicReleaseDateClockMapper;
|
|
|
- @Autowired
|
|
|
- private TOrderPublicReleaseCountMapper tOrderPublicReleaseCountMapper;
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private RestrictProjectMapper restrictProjectMapper;
|
|
|
- @Autowired
|
|
|
- private OrderYearMaxDurationMapper orderYearMaxDurationMapper;
|
|
|
- @Autowired
|
|
|
- private TTaskMemberMapper tTaskMemberMapper;
|
|
|
- @Autowired
|
|
|
- private OrderNewService orderNewService;
|
|
|
- @Autowired
|
|
|
- private AdminPublicReviewerMapper adminPublicReviewerMapper;
|
|
|
- @Autowired
|
|
|
- private PublicAssistAdviceMapper publicAssistAdviceMapper;
|
|
|
- @Autowired
|
|
|
- private UserLimitCheckMapper userLimitCheckMapper;
|
|
|
- @Autowired
|
|
|
- private UserArchivesMapper userArchivesMapper;
|
|
|
- @Autowired
|
|
|
- private OrganizationIdentityMapper organizationIdentityMapper;
|
|
|
- @Autowired
|
|
|
- private UserSuperEvaluateMapper userSuperEvaluateMapper;
|
|
|
- @Autowired
|
|
|
- private OrderPublicReleaseLogMapper orderPublicReleaseLogMapper;
|
|
|
- @Autowired
|
|
|
- private PublicConfigMapper publicConfigMapper;
|
|
|
- @Autowired
|
|
|
- private UserFirstInterviewMapper userFirstInterviewMapper;
|
|
|
- @Autowired
|
|
|
- private UserArchivesInterviewMapper userArchivesInterviewMapper;
|
|
|
- @Autowired
|
|
|
- private UserInterviewProjectMapper userInterviewProjectMapper;
|
|
|
- @Autowired
|
|
|
- private PublicAssistDetailsMapper publicAssistDetailsMapper;
|
|
|
- @Autowired
|
|
|
- private PublicReleaseTypeMapper publicReleaseTypeMapper;
|
|
|
- @Autowired
|
|
|
- private UserMidMapper userMidMapper;
|
|
|
+ private final PublicReleaseMapper publicReleaseMapper;
|
|
|
+ private final PublicReleaseLogMapper publicReleaseLogMapper;
|
|
|
+ private final CustomerService customerService;
|
|
|
+ private final PublicReleaseDetailsMapper publicReleaseDetailsMapper;
|
|
|
+ private final WeChatUtils weChatUtils;
|
|
|
+ private final AdminMapper adminMapper;
|
|
|
+ private final AsyncUtils asyncUtils;
|
|
|
+ private final UserMapper userMapper;
|
|
|
+ private final OrganizationContactBookMapper organizationContactBookMapper;
|
|
|
+ private final SystemWebSocketHandler systemWebSocketHandler;
|
|
|
+ private final TOrderNewMapper tOrderNewMapper;
|
|
|
+ private final DepartmentService departmentService;
|
|
|
+ private final PublicExamineMapper publicExamineMapper;
|
|
|
+ private final PublicReleaseClockMapper publicReleaseClockMapper;
|
|
|
+ private final PublicReleaseDateClockMapper publicReleaseDateClockMapper;
|
|
|
+ private final TOrderPublicReleaseCountMapper tOrderPublicReleaseCountMapper;
|
|
|
+ private final RestrictProjectMapper restrictProjectMapper;
|
|
|
+ private final OrderYearMaxDurationMapper orderYearMaxDurationMapper;
|
|
|
+ private final TTaskMemberMapper tTaskMemberMapper;
|
|
|
+ private final OrderNewService orderNewService;
|
|
|
+ private final AdminPublicReviewerMapper adminPublicReviewerMapper;
|
|
|
+ private final PublicAssistAdviceMapper publicAssistAdviceMapper;
|
|
|
+ private final UserLimitCheckMapper userLimitCheckMapper;
|
|
|
+ private final UserArchivesMapper userArchivesMapper;
|
|
|
+ private final OrganizationIdentityMapper organizationIdentityMapper;
|
|
|
+ private final UserSuperEvaluateMapper userSuperEvaluateMapper;
|
|
|
+ private final OrderPublicReleaseLogMapper orderPublicReleaseLogMapper;
|
|
|
+ private final PublicConfigMapper publicConfigMapper;
|
|
|
+ private final UserFirstInterviewMapper userFirstInterviewMapper;
|
|
|
+ private final UserArchivesInterviewMapper userArchivesInterviewMapper;
|
|
|
+ private final UserInterviewProjectMapper userInterviewProjectMapper;
|
|
|
+ private final PublicAssistDetailsMapper publicAssistDetailsMapper;
|
|
|
+ private final PublicReleaseTypeMapper publicReleaseTypeMapper;
|
|
|
+ private final UserMidMapper userMidMapper;
|
|
|
+
|
|
|
+ public PublicReleaseServiceImpl(
|
|
|
+ PublicReleaseMapper publicReleaseMapper,
|
|
|
+ PublicReleaseLogMapper publicReleaseLogMapper,
|
|
|
+ CustomerService customerService,
|
|
|
+ PublicReleaseDetailsMapper publicReleaseDetailsMapper,
|
|
|
+ WeChatUtils weChatUtils,
|
|
|
+ AdminMapper adminMapper,
|
|
|
+ AsyncUtils asyncUtils,
|
|
|
+ UserMapper userMapper,
|
|
|
+ OrganizationContactBookMapper organizationContactBookMapper,
|
|
|
+ SystemWebSocketHandler systemWebSocketHandler,
|
|
|
+ TOrderNewMapper tOrderNewMapper,
|
|
|
+ DepartmentService departmentService,
|
|
|
+ PublicExamineMapper publicExamineMapper,
|
|
|
+ PublicReleaseClockMapper publicReleaseClockMapper,
|
|
|
+ PublicReleaseDateClockMapper publicReleaseDateClockMapper,
|
|
|
+ TOrderPublicReleaseCountMapper tOrderPublicReleaseCountMapper,
|
|
|
+ RestrictProjectMapper restrictProjectMapper,
|
|
|
+ OrderYearMaxDurationMapper orderYearMaxDurationMapper,
|
|
|
+ TTaskMemberMapper tTaskMemberMapper,
|
|
|
+ OrderNewService orderNewService,
|
|
|
+ AdminPublicReviewerMapper adminPublicReviewerMapper,
|
|
|
+ PublicAssistAdviceMapper publicAssistAdviceMapper,
|
|
|
+ UserLimitCheckMapper userLimitCheckMapper,
|
|
|
+ UserArchivesMapper userArchivesMapper,
|
|
|
+ OrganizationIdentityMapper organizationIdentityMapper,
|
|
|
+ UserSuperEvaluateMapper userSuperEvaluateMapper,
|
|
|
+ OrderPublicReleaseLogMapper orderPublicReleaseLogMapper,
|
|
|
+ PublicConfigMapper publicConfigMapper,
|
|
|
+ UserFirstInterviewMapper userFirstInterviewMapper,
|
|
|
+ UserArchivesInterviewMapper userArchivesInterviewMapper,
|
|
|
+ UserInterviewProjectMapper userInterviewProjectMapper,
|
|
|
+ PublicAssistDetailsMapper publicAssistDetailsMapper,
|
|
|
+ PublicReleaseTypeMapper publicReleaseTypeMapper,
|
|
|
+ UserMidMapper userMidMapper
|
|
|
+ ) {
|
|
|
+ super();
|
|
|
+ this.publicReleaseMapper = publicReleaseMapper;
|
|
|
+ this.publicReleaseLogMapper = publicReleaseLogMapper;
|
|
|
+ this.customerService = customerService;
|
|
|
+ this.publicReleaseDetailsMapper = publicReleaseDetailsMapper;
|
|
|
+ this.weChatUtils = weChatUtils;
|
|
|
+ this.adminMapper = adminMapper;
|
|
|
+ this.asyncUtils = asyncUtils;
|
|
|
+ this.userMapper = userMapper;
|
|
|
+ this.organizationContactBookMapper = organizationContactBookMapper;
|
|
|
+ this.systemWebSocketHandler = systemWebSocketHandler;
|
|
|
+ this.tOrderNewMapper = tOrderNewMapper;
|
|
|
+ this.departmentService = departmentService;
|
|
|
+ this.publicExamineMapper = publicExamineMapper;
|
|
|
+ this.publicReleaseClockMapper = publicReleaseClockMapper;
|
|
|
+ this.publicReleaseDateClockMapper = publicReleaseDateClockMapper;
|
|
|
+ this.tOrderPublicReleaseCountMapper = tOrderPublicReleaseCountMapper;
|
|
|
+ this.restrictProjectMapper = restrictProjectMapper;
|
|
|
+ this.orderYearMaxDurationMapper = orderYearMaxDurationMapper;
|
|
|
+ this.tTaskMemberMapper = tTaskMemberMapper;
|
|
|
+ this.orderNewService = orderNewService;
|
|
|
+ this.adminPublicReviewerMapper = adminPublicReviewerMapper;
|
|
|
+ this.publicAssistAdviceMapper = publicAssistAdviceMapper;
|
|
|
+ this.userLimitCheckMapper = userLimitCheckMapper;
|
|
|
+ this.userArchivesMapper = userArchivesMapper;
|
|
|
+ this.organizationIdentityMapper = organizationIdentityMapper;
|
|
|
+ this.userSuperEvaluateMapper = userSuperEvaluateMapper;
|
|
|
+ this.orderPublicReleaseLogMapper = orderPublicReleaseLogMapper;
|
|
|
+ this.publicConfigMapper = publicConfigMapper;
|
|
|
+ this.userFirstInterviewMapper = userFirstInterviewMapper;
|
|
|
+ this.userArchivesInterviewMapper = userArchivesInterviewMapper;
|
|
|
+ this.userInterviewProjectMapper = userInterviewProjectMapper;
|
|
|
+ this.publicAssistDetailsMapper = publicAssistDetailsMapper;
|
|
|
+ this.publicReleaseTypeMapper = publicReleaseTypeMapper;
|
|
|
+ this.userMidMapper = userMidMapper;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
@Override
|