Commit 2462366f by qwmqiuwenmin

fix

parent 17669f22
......@@ -757,12 +757,12 @@ public class ClerkController extends WebBaseController{
if(clerk == null){
return resultResponse(HaoBanErrCode.ERR_10006);
}
List<ClerkListDTO> list = clerkService.getClerkByStoreId(clerk.getEnterpriseId(), clerk.getStoreId());
if(StringUtils.isNotBlank(headPic)){
clerk.setHeadImgUrl(headPic);
clerk.setImageUrl(headPic);
}
if(StringUtils.isNotBlank(phoneNumber)){
List<ClerkListDTO> list = clerkService.getClerkByStoreId(clerk.getEnterpriseId(), clerk.getStoreId());
for (ClerkListDTO clerkListDTO : list) {
if(clerkListDTO.getPhoneNumber().equals(phoneNumber) && !clerkListDTO.getClerkId().equals(clerkId)){
return resultResponse(HaoBanErrCode.ERR_11122);
......
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