Commit 54a4b13c by 墨竹

fix:日志

parent aff7100e
...@@ -232,8 +232,12 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService { ...@@ -232,8 +232,12 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
setLoggerContext(enterpriseId, wxEnterpriseId, hmQrcodeQDTO.getWebLoginDTO()); setLoggerContext(enterpriseId, wxEnterpriseId, hmQrcodeQDTO.getWebLoginDTO());
String logContent = "【" + "批量创建数量" + clerkIdList.size() + "】"; String logContent = "【" + "批量创建数量" + clerkIdList.size() + "】";
if (StringUtils.isBlank(logContent)) {
GicLogRecordEvaluationContext.noWriteLog();
} else {
GicLogRecordEvaluationContext.putAttribute("logContent", logContent); GicLogRecordEvaluationContext.putAttribute("logContent", logContent);
logger.info("批量新增活码日志:logText:{}", logContent); logger.info("批量新增活码日志:logText:{}", logContent);
}
return ServiceResponse.success(); return ServiceResponse.success();
} }
...@@ -312,11 +316,11 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService { ...@@ -312,11 +316,11 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
//操作日志 //操作日志
updateSystemLog(hmQrcodeQDTO, hmId); updateSystemLog(hmQrcodeQDTO, hmId);
String welcomeId = hmQrcodeQDTO.getWelcomeId(); String welcomeId = hmQrcodeQDTO.getWelcomeId();
if (StringUtils.isBlank(welcomeId)){ if (StringUtils.isBlank(welcomeId)) {
hmQrcodeQDTO.setWelcomeId(""); hmQrcodeQDTO.setWelcomeId("");
} }
String memberLabelId = hmQrcodeQDTO.getMemberLabelId(); String memberLabelId = hmQrcodeQDTO.getMemberLabelId();
if (StringUtils.isBlank(memberLabelId)){ if (StringUtils.isBlank(memberLabelId)) {
hmQrcodeQDTO.setMemberLabelId(""); hmQrcodeQDTO.setMemberLabelId("");
} }
int updateResult = hmQrcodeService.update(hmQrcodeQDTO); int updateResult = hmQrcodeService.update(hmQrcodeQDTO);
......
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