Commit b616cbb4 authored by hongguangwu's avatar hongguangwu

MVP1.7.16-法大大

parent c3de8578
...@@ -142,9 +142,25 @@ public class TFascTemplateDetailController { ...@@ -142,9 +142,25 @@ public class TFascTemplateDetailController {
} else { } else {
editContent += old.getHrField() + "”"; editContent += old.getHrField() + "”";
} }
editContent += "→“" + tFascTemplateDetail.getHrField() + "”"; editContent += "→“";
if (Common.isEmpty(old.getIsEdit()) || CommonConstants.ZERO_STRING.equals(old.getIsEdit())) { if (Common.isNotNull(tFascTemplateDetail.getHrField())) {
editContent += ";“是否已配置”由“未配置”→“已配置”"; editContent += tFascTemplateDetail.getHrField() + "”";
} else {
editContent += "空”";
}
// 判断是否已配置有没有变更:0未配置 1已配置
if (Common.isEmpty(old.getIsEdit())) {
if (Common.isNotNull(tFascTemplateDetail.getIsEdit()) && CommonConstants.ONE_STRING.equals(tFascTemplateDetail.getIsEdit())) {
editContent += ";“是否已配置”由“未配置”→“已配置”";
}
} else if (Common.isEmpty(tFascTemplateDetail.getIsEdit())) {
editContent += ";“是否已配置”由“已配置”→“未配置”";
} else if (!old.getIsEdit().equals(tFascTemplateDetail.getIsEdit())) {
if (CommonConstants.ONE_STRING.equals(tFascTemplateDetail.getIsEdit())) {
editContent += ";“是否已配置”由“未配置”→“已配置”";
} else {
editContent += ";“是否已配置”由“已配置”→“未配置”";
}
} }
tFascEditLog.setEditContent(editContent); tFascEditLog.setEditContent(editContent);
tFascEditLogService.save(tFascEditLog); tFascEditLogService.save(tFascEditLog);
......
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