Commit 584febb4 by fudahua

绑定状态

parent 384150c1
......@@ -125,6 +125,12 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
response.setMessage("该导购已经被被申请绑定,请审核处理后再绑定");
return response;
}
List<AuditDTO> list = auditApiService.listByStoreId(staffClerkRelationDTO.getStoreId());
if (CollectionUtils.isNotEmpty(list)) {
response.setCode(5);
response.setMessage("该成员已经已经在该门店下申请了绑定,请审核处理后再绑定");
return response;
}
StaffClerkRelationDTO storeHasBind = staffClerkRelatinService.getOneBindByStoreId(staffClerkRelationDTO.getStaffId(), staffClerkRelationDTO.getStoreId());
if (storeHasBind!=null) {
response.setCode(3);
......
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