Commit b35e82e0 by jinxin

解绑操作日志操作人名称bug修复

parent 15bd3e45
......@@ -98,10 +98,12 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
clerkName = clerkDTO.getClerkName();
}
String operClerkId = infoDTO.getOptStaffId();
clerkDTO = clerkService.getClerkByClerkIdNoStatus(clerkRelation.getClerkId());
//操作人只有staffId,operName字段存储成员名称
TabHaobanStaff tabHaobanStaff = staffService.selectById(operClerkId);
// clerkDTO = clerkService.getClerkByClerkIdNoStatus(clerkRelation.getClerkId());
String operName = null;
if (null != clerkDTO) {
operName = clerkDTO.getClerkName();
if (null != tabHaobanStaff) {
operName = tabHaobanStaff.getStaffName();
}
TabHaobanStaffClerkBindLog enity = new TabHaobanStaffClerkBindLog();
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