Merge branch '0418_小程序开发' of http://182.92.166.109:3000/zhuangyuanke/PostDischargePatientManage into 0418_小程序开发

This commit is contained in:
haown 2024-07-02 08:53:15 +08:00
commit 5ba970da7f
3 changed files with 6 additions and 8 deletions

View File

@ -32,7 +32,7 @@ xinelu:
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口默认为8080 # 服务器的HTTP端口默认为8080
port: 8080 port: 9090
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /
@ -191,10 +191,10 @@ xss:
# 院后微信小程序参数配置信息 # 院后微信小程序参数配置信息
wechat-applet-chat-config: wechat-applet-chat-config:
# 微信小程序idwxdec3416aa3d60cab # 微信小程序id
applet-id: wxdc32268eca6b78f9 applet-id: wx68efddfbe8eb703a
# 微信小程序密钥f58e19be0380c2ebc6e9e9684c0dacce # 微信小程序密钥
secret: 0d0e41432908750460aef2bf0aa871ae secret: a6c75e3be9d690f049f0781367f1714f
# 微信小程序返回国家语言 # 微信小程序返回国家语言
lang: zh_CN lang: zh_CN
# 微信小程序授权类型 # 微信小程序授权类型

View File

@ -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) {
// 存在同名的通用话术名称不能进行更新 // 存在同名的通用话术名称不能进行更新

View File

@ -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_node_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