浏览代码

no message

FengChaoYu 9 月之前
父节点
当前提交
646710e359
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mall-server-api/src/main/java/com/gree/mall/manager/logic/user/UserLogic.java

+ 3 - 0
mall-server-api/src/main/java/com/gree/mall/manager/logic/user/UserLogic.java

@@ -231,6 +231,9 @@ public class UserLogic {
                     throw new RemoteServiceException(errPrefix + "网点不存在");
                 }
             }
+            if (StringUtils.isBlank(workerNumber)) {
+                throw new RemoteServiceException(errPrefix + "师傅编号不能为空");
+            }
             UserWait userWait = new UserWait();
             userWait.setUserType(userTypeEnum.getKey());
             userWait.setMobile(mobile);