Sfoglia il codice sorgente

msg

release_toaliyun_real
xhxu 4 anni fa
parent
commit
30cce236a7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      mallinkSchedule/src/main/java/com/iformall/schedule/MsgSendingSchedule.java

+ 2
- 0
mallinkSchedule/src/main/java/com/iformall/schedule/MsgSendingSchedule.java Vedi File

@@ -55,6 +55,7 @@ public class MsgSendingSchedule {
for (WxMsg msg : list) {
//sendmsg(msg);
msg.setStatus(EnumMsgStatus.MSG_STATUS_SENDED.getCode());
logger.info("sendmsg定时任务"+wxMsg.getWay());
if(EnumSendWay.TAG.getCode().equals(wxMsg.getWay())){
if (wxMsg.getExpectSendNumber().intValue() > 1000) {
WxMsgService.batchSendMsg(wxMsg, null, null);
@@ -67,6 +68,7 @@ public class MsgSendingSchedule {
}else if(EnumSendWay.APPINFOR.getCode().equals(msg.getWay())){
WxMsgService.batchSendAppinfo(msg);
}else{
logger.info("sendmsg定时任务"+wxMsg.getWay());
break;
}
wxMsgMapper.updateById(msg);


Caricamento…
Annulla
Salva