|
|
|
@@ -113,7 +113,7 @@ public class SendCallBackSmsServiceImpl implements MsgSendService { |
|
|
|
if (ret.equals(EnumMsgSendStatus.MSG_SEND_SUCCESS.getCode().toString())) { |
|
|
|
record.setSendstatus(EnumMsgSendStatus.MSG_SEND_SUCCESS.getCode()); |
|
|
|
//扣减剩余条数 |
|
|
|
wxMsgConfig.setRemains(1l); |
|
|
|
wxMsgConfig.setRemains((long)record.getExpectSendNumber()); |
|
|
|
wxMsgConfigMapper.updateRemains(wxMsgConfig); |
|
|
|
} else { |
|
|
|
record.setSendstatus(EnumMsgSendStatus.MSG_SEND_FAIL.getCode()); |
|
|
|
|