Commit 6ab222ee by 徐高华

操作日志

parent beeb96ad
...@@ -227,6 +227,22 @@ public class HmLinkController { ...@@ -227,6 +227,22 @@ public class HmLinkController {
if (null != b) { if (null != b) {
content.append(b); content.append(b);
} }
String oldChatRule = oldDTO.getChatStoreRule();
if(null == oldChatRule) {
oldChatRule = "";
}
String newChatRule = newDTO.getChatStoreRule();
if(null == newChatRule) {
newChatRule = "";
}
String s = null ;
logger.info("{},{}",oldChatRule,newChatRule);
if(!oldChatRule.equals(newChatRule)) {
String oldName = this.getChatRuleName(oldChatRule) ;
String newName = this.getChatRuleName(newChatRule) ;
s = String.format("定向入群设置从【%s】修改为【%s】", oldName, newName) ;
content.append(s) ;
}
// 其他群活码 // 其他群活码
String c = null; String c = null;
if (!oldDTO.getOtherChatHmId().equals(newDTO.getOtherChatHmId())) { if (!oldDTO.getOtherChatHmId().equals(newDTO.getOtherChatHmId())) {
...@@ -263,7 +279,7 @@ public class HmLinkController { ...@@ -263,7 +279,7 @@ public class HmLinkController {
d = sb.toString(); d = sb.toString();
content.append(d); content.append(d);
} }
if (org.apache.commons.lang3.StringUtils.isAllBlank(a, b, c, d)) { if (org.apache.commons.lang3.StringUtils.isAllBlank(a, b, c, d,s)) {
return null; return null;
} }
StringBuilder sb = new StringBuilder("编辑引流链接").append("【").append(oldDTO.getLinkCode()).append("-") StringBuilder sb = new StringBuilder("编辑引流链接").append("【").append(oldDTO.getLinkCode()).append("-")
...@@ -311,25 +327,6 @@ public class HmLinkController { ...@@ -311,25 +327,6 @@ public class HmLinkController {
if (null != b) { if (null != b) {
content.append(b); content.append(b);
} }
String oldChatRule = oldDTO.getChatStoreRule();
if(null == oldChatRule) {
oldChatRule = "";
}
String newChatRule = newDTO.getChatStoreRule();
if(null == newChatRule) {
newChatRule = "";
}
String s = null ;
logger.info("{},{}",oldChatRule,newChatRule);
if(!oldChatRule.equals(newChatRule)) {
String oldName = this.getChatRuleName(oldChatRule) ;
String newName = this.getChatRuleName(newChatRule) ;
s = String.format("定向入群设置从【%s】修改为【%s】", oldName, newName) ;
content.append(s) ;
}
String c = comp(wxEnterpriseId, enterpriseId, "分配规则", oldDTO.getStoreRuleJson(), newDTO.getStoreRuleJson(), 3); String c = comp(wxEnterpriseId, enterpriseId, "分配规则", oldDTO.getStoreRuleJson(), newDTO.getStoreRuleJson(), 3);
if (null != c) { if (null != c) {
content.append(c); content.append(c);
...@@ -347,7 +344,7 @@ public class HmLinkController { ...@@ -347,7 +344,7 @@ public class HmLinkController {
if (null != f) { if (null != f) {
content.append(f); content.append(f);
} }
if (org.apache.commons.lang3.StringUtils.isAllBlank(a, b, c, d, e, f,s)) { if (org.apache.commons.lang3.StringUtils.isAllBlank(a, b, c, d, e, f)) {
return null; return null;
} }
StringBuilder sb = new StringBuilder("编辑引流链接").append("【").append(oldDTO.getLinkCode()).append("-") StringBuilder sb = new StringBuilder("编辑引流链接").append("【").append(oldDTO.getLinkCode()).append("-")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment