Commit 4f941016 by huangZW

111

parent 906de071
......@@ -410,7 +410,7 @@ public class ClerkController extends WebBaseController{
}
//绑定
@RequestMapping("bind-staff")
public HaobanResponse bindStaff(String clerkId,String staffId,String storeId,Integer auditType){
public HaobanResponse bindStaff(String clerkId,String staffId ,Integer auditType){
if(StringUtils.isAnyBlank(clerkId,staffId)){
return resultResponse(HaoBanErrCode.ERR_2);
}
......@@ -429,7 +429,7 @@ public class ClerkController extends WebBaseController{
if(auditDTO != null){
return resultResponse(HaoBanErrCode.ERR_10018);
}
StaffClerkRelationDTO haveclekCode = staffClerkRelationApiService.getOneByStoreIdAndStaffId(storeId, staffId);
StaffClerkRelationDTO haveclekCode = staffClerkRelationApiService.getOneByStoreIdAndStaffId(clerk.getStoreId(), staffId);
if(haveclekCode !=null){
return resultResponse(HaoBanErrCode.ERR_10020);
}
......
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