小程序配置
This commit is contained in:
parent
334d2976b8
commit
a0b6c67e44
@ -108,9 +108,6 @@ public class ScriptInfoServiceImpl implements IScriptInfoService {
|
|||||||
if (Objects.isNull(scriptInfo1)) {
|
if (Objects.isNull(scriptInfo1)) {
|
||||||
throw new ServiceException("该话术名称已删除!");
|
throw new ServiceException("该话术名称已删除!");
|
||||||
}
|
}
|
||||||
if (ScriptStatusEnum.NORMAL.getInfo().equals(scriptInfo.getScriptStatus()) && Objects.isNull(scriptInfo1.getScriptFilePath())) {
|
|
||||||
throw new ServiceException("请生成话术图片后上架该话术!");
|
|
||||||
}
|
|
||||||
// 检查除当前记录之外是否存在同名的话术名称
|
// 检查除当前记录之外是否存在同名的话术名称
|
||||||
if (scriptInfoMapper.countByScriptNameExcludingId(scriptInfo.getScriptName(), scriptInfo.getDepartmentId(), scriptInfo.getId(), scriptInfo.getCommonScriptName()) > 0) {
|
if (scriptInfoMapper.countByScriptNameExcludingId(scriptInfo.getScriptName(), scriptInfo.getDepartmentId(), scriptInfo.getId(), scriptInfo.getCommonScriptName()) > 0) {
|
||||||
// 存在同名的通用话术名称,不能进行更新
|
// 存在同名的通用话术名称,不能进行更新
|
||||||
|
|||||||
@ -96,4 +96,6 @@ public class PhonePush {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "话术图片文件路径")
|
@ApiModelProperty(value = "话术图片文件路径")
|
||||||
private String scriptFilePath;
|
private String scriptFilePath;
|
||||||
|
|
||||||
|
private String phoneMessageTemplateContent;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -649,6 +649,7 @@
|
|||||||
spmrn.route_handle_remark,
|
spmrn.route_handle_remark,
|
||||||
spmrn.phone_message_template_id,
|
spmrn.phone_message_template_id,
|
||||||
spmrn.phone_message_template_name,
|
spmrn.phone_message_template_name,
|
||||||
|
spmrn.phone_message_template_content,
|
||||||
si.script_file_path
|
si.script_file_path
|
||||||
from sign_patient_manage_route_node spmrn
|
from sign_patient_manage_route_node spmrn
|
||||||
LEFT JOIN script_info si ON spmrn.phone_id = si.script_id
|
LEFT JOIN script_info si ON spmrn.phone_id = si.script_id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user