Commit 65157e1b by guojuxing

导购、资源组引用维护调整

parent 2b1880b6
......@@ -173,7 +173,7 @@ public class ClerkApiServiceImpl implements ClerkApiService {
storeLogByAddClerk(clerkDTO);
synClerkInfoToWeimobMq(clerkDTO);
saveRefer(id, clerkDTO.getPositionId());
saveRefer(id, clerkDTO.getClerkName(), clerkDTO.getPositionId());
} else {
TabClerk oldClerk = this.clerkService.getById(clerkDTO.getClerkId());
clerkService.update(clerkDTO);
......@@ -181,7 +181,7 @@ public class ClerkApiServiceImpl implements ClerkApiService {
clerkDTO.getClerkId(), clerkDTO.getReason(), clerkDTO.getRemark(), clerkDTO.getOperatorId(),
clerkDTO.getOperatorName());
saveRefer(clerkDTO.getClerkId(), clerkDTO.getPositionId());
saveRefer(clerkDTO.getClerkId(), clerkDTO.getClerkName(), clerkDTO.getPositionId());
synClerkInfoToWeimobMq(clerkDTO);
}
return ServiceResponse.success(clerkDTO.getClerkId());
......@@ -1061,10 +1061,10 @@ public class ClerkApiServiceImpl implements ClerkApiService {
}
}
private void saveRefer(Integer businessId, Integer positionId) {
private void saveRefer(Integer businessId, String businessName, Integer positionId) {
PopupDTO popupDTO = new PopupDTO();
popupDTO.setBusinessId(String.valueOf(businessId));
popupDTO.setBusinessName("导购");
popupDTO.setBusinessName(businessName);
popupDTO.setBusinessType(10);
popupDTO.setRelationBusinessIdList(new RelationBusinessInfoDTO(6, String.valueOf(positionId)));
......
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