|
@@ -31,6 +31,7 @@ public class MsgNewUtil {
|
|
|
String content = ruleSimpleDTO.getContent(); // 界面匹配内容
|
|
|
String conType = ruleSimpleDTO.getConType(); // 禁忌类型
|
|
|
String unionMsg = ruleSimpleDTO.getMsg(); // 原因及建议
|
|
|
+ String structName = ruleSimpleDTO.getStructName(); // 项目名称
|
|
|
String msg = redisUtil.getByKeyAndField(RedisEnum.msg.getName(), orderType + "_" + conType);
|
|
|
if (StringUtil.isBlank(msg)) {
|
|
|
// msg = redisUtil.getByKeyAndField(RedisEnum.msg.getName(), "通用" + "_" + "默认提示语");
|
|
@@ -59,6 +60,7 @@ public class MsgNewUtil {
|
|
|
// 放到最后统一替换【多处匹配】
|
|
|
msg = msg.replaceAll("\\[匹配内容]", content);
|
|
|
msg = msg.replaceAll("\\[开单名称]", orderName);
|
|
|
+ msg = msg.replaceAll("\\[项目名称]", structName);
|
|
|
billMsg.setMsg(msg);
|
|
|
billMsg.setOrderName(orderName);
|
|
|
billMsg.setOrderStandName(orderStandName);
|