Commit 88bbd173 by 徐高华

log

parent 9d1551e7
...@@ -212,12 +212,12 @@ public class HmLinkController { ...@@ -212,12 +212,12 @@ public class HmLinkController {
JSONObject newStoreRuleObj = JSONObject.parseObject(newValue); JSONObject newStoreRuleObj = JSONObject.parseObject(newValue);
logger.info("{},{}", oldStoreRuleObj, newStoreRuleObj); logger.info("{},{}", oldStoreRuleObj, newStoreRuleObj);
otherStoreRuleLog(oldStoreRuleObj, newStoreRuleObj, sb); otherStoreRuleLog(oldStoreRuleObj, newStoreRuleObj, sb);
return sb.toString();
} }
return null; return null;
} }
private static void otherStoreRuleLog(JSONObject oldStoreRuleObj, JSONObject newStoreRuleObj, StringBuilder sb) { private static String otherStoreRuleLog(JSONObject oldStoreRuleObj, JSONObject newStoreRuleObj, StringBuilder sb) {
StringBuilder tempSb = new StringBuilder(); StringBuilder tempSb = new StringBuilder();
int oldOpenFlag = oldStoreRuleObj.getIntValue("open"); int oldOpenFlag = oldStoreRuleObj.getIntValue("open");
int newOpenFlag = newStoreRuleObj.getIntValue("open"); int newOpenFlag = newStoreRuleObj.getIntValue("open");
...@@ -251,6 +251,7 @@ public class HmLinkController { ...@@ -251,6 +251,7 @@ public class HmLinkController {
} }
sb.append(tempSb); sb.append(tempSb);
return tempSb.toString() ;
} }
private static String otherOpenLog(HmLinkStoreSettingDTO newStore, StringBuilder sb, int level) { private static String otherOpenLog(HmLinkStoreSettingDTO newStore, StringBuilder sb, int level) {
......
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