浏览代码

变更日志打印的位置

lighter 2 年之前
父节点
当前提交
4dea3df2bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/thyyxxk/webserver/service/dictionary/HisWjwMatchService.java

+ 1 - 1
src/main/java/thyyxxk/webserver/service/dictionary/HisWjwMatchService.java

@@ -102,7 +102,6 @@ public class HisWjwMatchService {
     }
     }
 
 
     public String executeMatchAction(HisWjwMatchEntity entity) {
     public String executeMatchAction(HisWjwMatchEntity entity) {
-        log.info("【操作员:{}】匹配卫健委/国临字典:{}", TokenUtil.getTokenUserId(), JSONObject.toJSONString(entity));
         if (entity.getLabel().equals("surgery_chargeCode")) {
         if (entity.getLabel().equals("surgery_chargeCode")) {
             if (null != entity.getChargeCode()) {
             if (null != entity.getChargeCode()) {
                 StringBuilder codeBuilder = new StringBuilder();
                 StringBuilder codeBuilder = new StringBuilder();
@@ -123,6 +122,7 @@ public class HisWjwMatchService {
             dao.updateDateAndOper(entity.getCode(), TokenUtil.getTokenUserId());
             dao.updateDateAndOper(entity.getCode(), TokenUtil.getTokenUserId());
         }
         }
         dao.executeMatchAction(entity);
         dao.executeMatchAction(entity);
+        log.info("【操作员:{}】匹配卫健委/国临字典:{}", TokenUtil.getTokenUserId(), JSONObject.toJSONString(entity));
         return StringUtil.isBlank(entity.getWjwCode()) ? "撤销匹配成功" : "匹配成功";
         return StringUtil.isBlank(entity.getWjwCode()) ? "撤销匹配成功" : "匹配成功";
     }
     }