Commit 41b9f3c9 by 徐高华

操作日志bug

parent 8932bab9
...@@ -442,9 +442,21 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService { ...@@ -442,9 +442,21 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
Long hmGroupId = hmQrcodeQDTO.getHmGroupId(); Long hmGroupId = hmQrcodeQDTO.getHmGroupId();
Long hmGroupIdOld = hmOld.getHmGroupId(); Long hmGroupIdOld = hmOld.getHmGroupId();
if (!hmGroupId.equals(hmGroupIdOld)) { if (!hmGroupId.equals(hmGroupIdOld)) {
String oldName = "默认分组";
if(hmGroupIdOld != 0) {
HmGroupSettingBO hmGroupSettingBOOld = hmGroupService.queryGroupSettingDetail(hmGroupIdOld); HmGroupSettingBO hmGroupSettingBOOld = hmGroupService.queryGroupSettingDetail(hmGroupIdOld);
if(null != hmGroupSettingBOOld) {
oldName = hmGroupSettingBOOld.getGroupName();
}
}
String newName = "默认分组" ;
if(hmGroupId != 0) {
HmGroupSettingBO hmGroupSettingBO = hmGroupService.queryGroupSettingDetail(hmGroupId); HmGroupSettingBO hmGroupSettingBO = hmGroupService.queryGroupSettingDetail(hmGroupId);
logContent.append("活码分组「").append(hmGroupSettingBOOld.getGroupName()).append("」").append("变更为「").append(hmGroupSettingBO.getGroupName()).append("」"); if(null != hmGroupSettingBO) {
newName = hmGroupSettingBO.getGroupName() ;
}
}
logContent.append("活码分组「").append(oldName).append("」").append("变更为「").append(newName).append("」");
} }
//员工变更 //员工变更
List<String> clerkIdList = hmQrcodeQDTO.getClerkIdList(); List<String> clerkIdList = hmQrcodeQDTO.getClerkIdList();
......
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