Commit afe5cfe5 by guojuxing

m默认导购不能下线

parent 540ac890
......@@ -600,7 +600,7 @@ public class ClerkApiServiceImpl implements ClerkApiService {
for(UserOwnerDefaultDTO dto : result){
if(clerkId.intValue() == dto.getClerkId().intValue()){
messageBuiler.append(clerkIdMap.get(clerkId).getClerkName()).append(",默认导购不能下线;");
return false;
throw new CommonException(ErrorCode.PARAMETER_ERROR.getCode(), "该导购为默认导购,操作失败");
}
}
return true;
......
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