|
|
@@ -425,7 +425,7 @@ public class SendMsg {
|
|
|
log.info("销售执行完成:{}, 耗时:{}", user.getQwUserName(), end3 - start3);
|
|
|
}
|
|
|
|
|
|
- @Scheduled(fixedDelay = 10000*60*30) // 每30min执行一次
|
|
|
+ @Scheduled(fixedDelay = 1000*60*30) // 每30min执行一次
|
|
|
public void sendLobsterQwMsg(){
|
|
|
log.info("开始龙虾发送企微消息");
|
|
|
List<CompanyWorkflowLobsterTask> companyWorkflowLobsterTasks = companyWorkflowLobsterTaskMapper.selectList(new LambdaQueryWrapper<CompanyWorkflowLobsterTask>().eq(CompanyWorkflowLobsterTask::getDelFlag, 0)
|
|
|
@@ -447,7 +447,7 @@ public class SendMsg {
|
|
|
WxWorkResponseDTO<WxWorkSendTextMsgRespDTO> wxWorkSendTextMsgRespDTOWxWorkResponseDTO = wxWorkService.SendTextMsg(dto, qwUser.getServerId());
|
|
|
|
|
|
log.info("开始发送企微消息,内容:{}", wxWorkSendTextMsgRespDTOWxWorkResponseDTO);
|
|
|
- //todo 发企微,
|
|
|
+ //todo 日志记录
|
|
|
if (wxWorkSendTextMsgRespDTOWxWorkResponseDTO.getErrcode()==0){
|
|
|
task.setExecuteStatus(2);
|
|
|
log.info("企微发送成功:{}", task.getId());
|