短信微信列表修改
This commit is contained in:
parent
e96fdaadf0
commit
124f72ec02
@ -78,7 +78,7 @@ public class SignPatientManageRouteController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增签约患者管理任务路径
|
* 新增签约患者管理任务路径(手动创建任务)
|
||||||
*/
|
*/
|
||||||
@Log(title = "签约患者管理任务路径", businessType = BusinessType.INSERT)
|
@Log(title = "签约患者管理任务路径", businessType = BusinessType.INSERT)
|
||||||
@PostMapping("/add")
|
@PostMapping("/add")
|
||||||
|
|||||||
@ -117,4 +117,9 @@ public class TextMessageTaskVO {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "适用任务类型字典表ids")
|
@ApiModelProperty(value = "适用任务类型字典表ids")
|
||||||
private Long[] suitTaskTypeIds;
|
private Long[] suitTaskTypeIds;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短信模版code(手动创建人任务使用)
|
||||||
|
*/
|
||||||
|
private String messageTemplateCode;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -118,4 +118,8 @@ public class TextMessageVO extends BaseEntity {
|
|||||||
@ApiModelProperty(value = "短信模板适用任务类型列表")
|
@ApiModelProperty(value = "短信模板适用任务类型列表")
|
||||||
private List<TextMessageSuitTask> suitTaskList;
|
private List<TextMessageSuitTask> suitTaskList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短信模版code(手动创建人任务使用)
|
||||||
|
*/
|
||||||
|
private String messageTemplateCode;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -107,4 +107,16 @@ public class WechatTemplateTaskVO {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "适用任务类型字典表ids")
|
@ApiModelProperty(value = "适用任务类型字典表ids")
|
||||||
private Long[] suitTaskTypeIds;
|
private Long[] suitTaskTypeIds;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 微信模板ID (手动创建任务使用)
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "模板ID")
|
||||||
|
private String appletTemplateCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公众号模板ID (手动创建任务使用)
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "模板ID")
|
||||||
|
private String officialTemplateCode ;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,6 +32,7 @@
|
|||||||
<result column="disease_type_name" property="diseaseTypeName"/>
|
<result column="disease_type_name" property="diseaseTypeName"/>
|
||||||
<result column="text_message_name" property="textMessageName"/>
|
<result column="text_message_name" property="textMessageName"/>
|
||||||
<result column="text_message_id" property="textMessageId"/>
|
<result column="text_message_id" property="textMessageId"/>
|
||||||
|
<result column="messageTemplateCode" property="messageTemplateCode"/>
|
||||||
<result column="text_message_content" property="textMessageContent"/>
|
<result column="text_message_content" property="textMessageContent"/>
|
||||||
<result column="text_message_channel" property="textMessageChannel"/>
|
<result column="text_message_channel" property="textMessageChannel"/>
|
||||||
<result column="text_message_status" property="textMessageStatus"/>
|
<result column="text_message_status" property="textMessageStatus"/>
|
||||||
@ -106,6 +107,7 @@
|
|||||||
tm.disease_type_name,
|
tm.disease_type_name,
|
||||||
tm.text_message_name,
|
tm.text_message_name,
|
||||||
tm.text_message_id,
|
tm.text_message_id,
|
||||||
|
tm.text_message_id messageTemplateCode,
|
||||||
tm.text_message_content,
|
tm.text_message_content,
|
||||||
tm.text_message_channel,
|
tm.text_message_channel,
|
||||||
tm.text_message_status,
|
tm.text_message_status,
|
||||||
|
|||||||
@ -123,11 +123,17 @@
|
|||||||
wt.disease_type_name,
|
wt.disease_type_name,
|
||||||
wt.wechat_template_name,
|
wt.wechat_template_name,
|
||||||
wt.template_id,
|
wt.template_id,
|
||||||
|
CASE
|
||||||
|
WHEN wt.template_source = 'WE_CHAT_APPLET' THEN wt.template_id
|
||||||
|
END AS appletTemplateCode,
|
||||||
|
CASE
|
||||||
|
WHEN wt.template_source = 'WE_CHAT_OFFICIAL_ACCOUNT' THEN wt.template_id
|
||||||
|
END AS officialTemplateCode,
|
||||||
wt.template_content,
|
wt.template_content,
|
||||||
wt.template_source,
|
wt.template_source,
|
||||||
wt.template_sort,
|
wt.template_sort,
|
||||||
wt.template_remark,
|
wt.template_remark,
|
||||||
wt.source_template_id,
|
wt.source_template_id,
|
||||||
IFNULL(MAX(wtst.id), 0) AS taskId,
|
IFNULL(MAX(wtst.id), 0) AS taskId,
|
||||||
GROUP_CONCAT(wtst.suit_task_type_name SEPARATOR ',') as suitTaskTypeName
|
GROUP_CONCAT(wtst.suit_task_type_name SEPARATOR ',') as suitTaskTypeName
|
||||||
from wechat_template wt
|
from wechat_template wt
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user