提交 8bf0c38d authored 作者: douxy's avatar douxy

新增xxl-job执行配置

上级 f2e4a02b
...@@ -11,8 +11,6 @@ import com.sfa.job.domain.feishu.mapper.FeishuLeaveInfoMapper; ...@@ -11,8 +11,6 @@ import com.sfa.job.domain.feishu.mapper.FeishuLeaveInfoMapper;
import com.sfa.job.pojo.feishu.response.FeishuLeaveInfoDTO; import com.sfa.job.pojo.feishu.response.FeishuLeaveInfoDTO;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils; import org.springframework.util.CollectionUtils;
......
package com.sfa.job.service.feishu; package com.sfa.job.service.feishu;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.sfa.job.domain.feishu.dao.FeishuLeaveInfoDao; import com.sfa.job.domain.feishu.dao.FeishuLeaveInfoDao;
import com.sfa.job.pojo.feishu.response.FeishuLeaveInfoDTO; import com.sfa.job.pojo.feishu.response.FeishuLeaveInfoDTO;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -11,6 +12,7 @@ import javax.annotation.Resource; ...@@ -11,6 +12,7 @@ import javax.annotation.Resource;
* Service实现:仅简单调用Dao方法,无任何核心业务逻辑 * Service实现:仅简单调用Dao方法,无任何核心业务逻辑
*/ */
@Service @Service
@DS("bi")
public class FeishuLeaveInfoServiceImpl implements IFeishuLeaveInfoService { public class FeishuLeaveInfoServiceImpl implements IFeishuLeaveInfoService {
@Resource @Resource
......
...@@ -29,7 +29,7 @@ import java.util.stream.Collectors; ...@@ -29,7 +29,7 @@ import java.util.stream.Collectors;
*/ */
@Slf4j @Slf4j
@Service @Service
@DS("promotion") @DS("bi")
public class QinceUserStatisticServiceImpl implements IQinceUserStatisticService { public class QinceUserStatisticServiceImpl implements IQinceUserStatisticService {
@Autowired @Autowired
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论