|
@@ -31,6 +31,7 @@ import com.gree.mall.manager.plus.entity.*;
|
|
import com.gree.mall.manager.plus.service.*;
|
|
import com.gree.mall.manager.plus.service.*;
|
|
import com.gree.mall.manager.utils.CommonUtils;
|
|
import com.gree.mall.manager.utils.CommonUtils;
|
|
import com.gree.mall.manager.utils.RedisUtil;
|
|
import com.gree.mall.manager.utils.RedisUtil;
|
|
|
|
+import com.gree.mall.manager.utils.StringUtil;
|
|
import com.gree.mall.manager.utils.excel.ExcelUtils;
|
|
import com.gree.mall.manager.utils.excel.ExcelUtils;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
@@ -243,6 +244,10 @@ public class UserLogic {
|
|
throw new RemoteServiceException("请先取消内部人员");
|
|
throw new RemoteServiceException("请先取消内部人员");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (StringUtil.isEmpty(websitId) && isService) {
|
|
|
|
+ throw new RemoteServiceException("必须要有所属网点");
|
|
|
|
+ }
|
|
|
|
+
|
|
final List<String> userIds = Collections.singletonList(userId);
|
|
final List<String> userIds = Collections.singletonList(userId);
|
|
this.batchChangeServiceUser(userIds, isService);
|
|
this.batchChangeServiceUser(userIds, isService);
|
|
|
|
|