Commit 720c1b9f by jinxin

Merge branch 'bugfix/2023-04-21' into 'master'

Bugfix/2023 04 21

See merge request !1204
parents 7b79f3a2 cc21817e
...@@ -98,12 +98,17 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe ...@@ -98,12 +98,17 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
clerkName = clerkDTO.getClerkName(); clerkName = clerkDTO.getClerkName();
} }
String operClerkId = infoDTO.getOptStaffId(); String operClerkId = infoDTO.getOptStaffId();
//操作人只有staffId,operName字段存储成员名称 ClerkDTO operClerkDTO = clerkService.getClerkByClerkIdNoStatus(operClerkId);
TabHaobanStaff tabHaobanStaff = staffService.selectById(operClerkId);
// clerkDTO = clerkService.getClerkByClerkIdNoStatus(clerkRelation.getClerkId());
String operName = null; String operName = null;
if (null != tabHaobanStaff) { if (null != operClerkDTO) {
operName = tabHaobanStaff.getStaffName(); operName = operClerkDTO.getClerkName();
}
//如果是小程序解绑,需要存储staffName
if(infoDTO.getChannelCode() != null &&(infoDTO.getChannelCode().equals(ChannelCodeEnum.SELF_UNBIND.getCode()) || infoDTO.getChannelCode().equals(ChannelCodeEnum.SELF_BIND.getCode()))){
TabHaobanStaff tabHaobanStaff = staffService.selectById(operClerkId);
if (null != tabHaobanStaff) {
operName =tabHaobanStaff.getStaffName();
}
} }
TabHaobanStaffClerkBindLog enity = new TabHaobanStaffClerkBindLog(); TabHaobanStaffClerkBindLog enity = new TabHaobanStaffClerkBindLog();
enity.setClerkId(clerkRelation.getClerkId()); enity.setClerkId(clerkRelation.getClerkId());
......
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