Commit 6d10f63a by 徐高华

log

parent b7734300
......@@ -112,16 +112,31 @@ public class HmLinkController {
.append(oldDTO.getName()).append("】:");
StringBuilder content = new StringBuilder();
String a = comp(wxEnterpriseId, enterpriseId, "链接名称", oldDTO.getName(), newDTO.getName(), 0);
if (null != a) {
content.append(a);
}
String b = comp(wxEnterpriseId, enterpriseId, "链接描述", oldDTO.getRemark(), newDTO.getRemark(), 0);
if (null != a) {
content.append(b);
}
String c = comp(wxEnterpriseId, enterpriseId, "分配规则", oldDTO.getStoreRuleJson(), newDTO.getStoreRuleJson(), 3);
if (null != a) {
content.append(c);
}
String d = comp(wxEnterpriseId, enterpriseId, "分配规则", oldDTO.getCustomRuleJson(), newDTO.getCustomRuleJson(),
4);
if (null != a) {
content.append(d);
}
String e = comp(wxEnterpriseId, enterpriseId, "链接标签", oldDTO.getMemberLabelId(), newDTO.getMemberLabelId(), 1);
if (null != a) {
content.append(e);
}
String f = comp(wxEnterpriseId, enterpriseId, "欢迎语", oldDTO.getWelcomeId(), newDTO.getWelcomeId(), 2);
content.append(a).append(b).append(c).append(c).append(d).append(e).append(f);
if (content.toString().length() == 0) {
return null;
if (null != a) {
content.append(f);
}
return sb.append(content).toString();
}
......
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