短信推送修改
This commit is contained in:
parent
865c4ab0a9
commit
c230f846c8
@ -1,30 +0,0 @@
|
|||||||
package com.xinelu.common.enums;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 短信发送结果记录对象
|
|
||||||
*
|
|
||||||
* @author : zh
|
|
||||||
* @date : 2024/8/05
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
public enum ShortMessageSendEnum {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 启用
|
|
||||||
*/
|
|
||||||
PHONE_MSG("PHONE_MSG"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 禁用
|
|
||||||
*/
|
|
||||||
COMMON("COMMON"),
|
|
||||||
;
|
|
||||||
|
|
||||||
final private String info;
|
|
||||||
|
|
||||||
ShortMessageSendEnum(String info) {
|
|
||||||
this.info = info;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -150,7 +150,7 @@ public class SendTextMessageServiceImpl implements SendTextMessageService {
|
|||||||
smsInfoDTO.setTemplateCode(message.getTextMessageId());
|
smsInfoDTO.setTemplateCode(message.getTextMessageId());
|
||||||
Boolean aBoolean = smsSendUtils.sendTextMessage(smsInfoDTO);
|
Boolean aBoolean = smsSendUtils.sendTextMessage(smsInfoDTO);
|
||||||
ShortMessageSendRecord shortMessageSendRecord = new ShortMessageSendRecord();
|
ShortMessageSendRecord shortMessageSendRecord = new ShortMessageSendRecord();
|
||||||
shortMessageSendRecord.setMessageType(ShortMessageSendEnum.COMMON.getInfo());
|
shortMessageSendRecord.setMessageType(ShortMessageTypeEnum.COMMON.getInfo());
|
||||||
shortMessageSendRecord.setPatientId(message.getPatientId());
|
shortMessageSendRecord.setPatientId(message.getPatientId());
|
||||||
shortMessageSendRecord.setPatientPhone(message.getPatientPhone());
|
shortMessageSendRecord.setPatientPhone(message.getPatientPhone());
|
||||||
shortMessageSendRecord.setManageRouteNodeId(message.getSignPatientManageRouteNodeId());
|
shortMessageSendRecord.setManageRouteNodeId(message.getSignPatientManageRouteNodeId());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user