diff --git a/lms/nladmin-system/src/main/java/org/nl/b_lms/pdm/ivt/service/impl/StPointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/b_lms/pdm/ivt/service/impl/StPointIvtServiceImpl.java index 9515976..4ac5e54 100644 --- a/lms/nladmin-system/src/main/java/org/nl/b_lms/pdm/ivt/service/impl/StPointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/b_lms/pdm/ivt/service/impl/StPointIvtServiceImpl.java @@ -18,7 +18,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; diff --git a/lms/nladmin-system/src/main/java/org/nl/b_lms/sch/task/service/impl/TaskServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/b_lms/sch/task/service/impl/TaskServiceImpl.java index 401d509..35d1ebb 100644 --- a/lms/nladmin-system/src/main/java/org/nl/b_lms/sch/task/service/impl/TaskServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/b_lms/sch/task/service/impl/TaskServiceImpl.java @@ -26,7 +26,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.util.SpringContextHolder; import org.nl.wms.basedata.master.classstandard.service.IClassStandardService; import org.nl.wms.basedata.master.classstandard.service.dao.ClassStandard; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.sch.manage.TaskStatusEnum; import org.redisson.api.RLock; import org.redisson.api.RedissonClient; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/controller/UserAreaPermissionController.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/controller/UserAreaPermissionController.java similarity index 91% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/controller/UserAreaPermissionController.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/controller/UserAreaPermissionController.java index c9b4c68..097c447 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/controller/UserAreaPermissionController.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/controller/UserAreaPermissionController.java @@ -1,11 +1,11 @@ -package org.nl.wms.basedata.st.areapermissions.controller; +package org.nl.wms.basedata.st.userarea.controller; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.nl.common.TableDataInfo; import org.nl.common.domain.query.PageQuery; import org.nl.modules.logging.annotation.Log; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/package-info.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/package-info.java similarity index 58% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/package-info.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/package-info.java index 2b7df79..80fe2bb 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/package-info.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/package-info.java @@ -2,4 +2,4 @@ * 区域权限管理相关内容 * 基础的三层逻辑 */ -package org.nl.wms.basedata.st.areapermissions; +package org.nl.wms.basedata.st.userarea; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/IUserAreaPermissionService.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/IUserAreaPermissionService.java similarity index 75% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/IUserAreaPermissionService.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/IUserAreaPermissionService.java index 56392c4..8b84cd6 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/IUserAreaPermissionService.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/IUserAreaPermissionService.java @@ -1,14 +1,11 @@ -package org.nl.wms.basedata.st.areapermissions.service; +package org.nl.wms.basedata.st.userarea.service; -import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import org.nl.common.domain.query.PageQuery; -import org.nl.system.service.user.dao.SysUser; -import org.nl.wms.basedata.st.areapermissions.service.dao.UserAreaPermission; -import org.nl.wms.basedata.st.areapermissions.service.vo.UsersVo; -import org.springframework.data.domain.Pageable; +import org.nl.wms.basedata.st.userarea.service.dao.UserAreaPermission; +import org.nl.wms.basedata.st.userarea.service.vo.UsersVo; import java.util.List; import java.util.Map; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/UserAreaPermission.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/UserAreaPermission.java similarity index 86% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/UserAreaPermission.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/UserAreaPermission.java index 3cf3960..f111f55 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/UserAreaPermission.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/UserAreaPermission.java @@ -1,4 +1,4 @@ -package org.nl.wms.basedata.st.areapermissions.service.dao; +package org.nl.wms.basedata.st.userarea.service.dao; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/mapper/UserAreaPermissionMapper.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/mapper/UserAreaPermissionMapper.java similarity index 67% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/mapper/UserAreaPermissionMapper.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/mapper/UserAreaPermissionMapper.java index 60de925..99dd98a 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/mapper/UserAreaPermissionMapper.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/mapper/UserAreaPermissionMapper.java @@ -1,9 +1,9 @@ -package org.nl.wms.basedata.st.areapermissions.service.dao.mapper; +package org.nl.wms.basedata.st.userarea.service.dao.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; -import org.nl.wms.basedata.st.areapermissions.service.dao.UserAreaPermission; -import org.nl.wms.basedata.st.areapermissions.service.vo.UsersVo; +import org.nl.wms.basedata.st.userarea.service.dao.UserAreaPermission; +import org.nl.wms.basedata.st.userarea.service.vo.UsersVo; /** * @Author: lyd diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/mapper/UserAreaPermissionMapper.xml b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/mapper/UserAreaPermissionMapper.xml similarity index 94% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/mapper/UserAreaPermissionMapper.xml rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/mapper/UserAreaPermissionMapper.xml index bab8db8..d8e4610 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/dao/mapper/UserAreaPermissionMapper.xml +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/dao/mapper/UserAreaPermissionMapper.xml @@ -2,7 +2,7 @@ - SELECT sys_user.*, dept.name diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/impl/UserAreaPermissionServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/impl/UserAreaPermissionServiceImpl.java similarity index 79% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/impl/UserAreaPermissionServiceImpl.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/impl/UserAreaPermissionServiceImpl.java index dd1625c..6964ee4 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/impl/UserAreaPermissionServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/impl/UserAreaPermissionServiceImpl.java @@ -1,4 +1,4 @@ -package org.nl.wms.basedata.st.areapermissions.service.impl; +package org.nl.wms.basedata.st.userarea.service.impl; import cn.hutool.core.util.ObjectUtil; import com.alibaba.fastjson.JSONArray; @@ -11,14 +11,13 @@ import org.nl.common.domain.query.PageQuery; import org.nl.common.utils.SecurityUtils; import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.core.bean.WQLObject; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; -import org.nl.wms.basedata.st.areapermissions.service.dao.UserAreaPermission; -import org.nl.wms.basedata.st.areapermissions.service.dao.mapper.UserAreaPermissionMapper; -import org.nl.wms.basedata.st.areapermissions.service.vo.UsersVo; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.dao.UserAreaPermission; +import org.nl.wms.basedata.st.userarea.service.dao.mapper.UserAreaPermissionMapper; +import org.nl.wms.basedata.st.userarea.service.vo.UsersVo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -71,30 +70,28 @@ public class UserAreaPermissionServiceImpl extends ServiceImpl userStorArr = userAreaPermissionMapper.selectList(new LambdaQueryWrapper() + .eq(UserAreaPermission::getUser_id, currentUserId)); // 将仓库id拼成字符串 String in_stor_id = ""; - + int size = userStorArr.size(); for (int i = 0; i < userStorArr.size(); i++) { - JSONObject json = userStorArr.getJSONObject(i); + UserAreaPermission json = userStorArr.get(i); if (size == 1) { // 如果只有一条记录 - in_stor_id = "('" + json.getString("product_area") + "')"; + in_stor_id = "('" + json.getProduct_area() + "')"; } else { if (i == 0) { // 第一条记录拼接 - in_stor_id = "('" + json.getString("product_area") + "','"; + in_stor_id = "('" + json.getProduct_area()+ "','"; } else { if ((size - 1) == i) { // 最后一条记录拼接 - in_stor_id += json.getString("product_area") + "')"; + in_stor_id += json.getProduct_area() + "')"; } else { - in_stor_id += json.getString("product_area") + "','"; + in_stor_id += json.getProduct_area() + "','"; } } } diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/vo/UsersVo.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/vo/UsersVo.java similarity index 97% rename from lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/vo/UsersVo.java rename to lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/vo/UsersVo.java index 0767747..8034deb 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/areapermissions/service/vo/UsersVo.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userarea/service/vo/UsersVo.java @@ -1,4 +1,4 @@ -package org.nl.wms.basedata.st.areapermissions.service.vo; +package org.nl.wms.basedata.st.userarea.service.vo; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonFormat; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userstor/service/dao/mapper/UserStorMapper.xml b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userstor/service/dao/mapper/UserStorMapper.xml index 40fba30..d5835c6 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userstor/service/dao/mapper/UserStorMapper.xml +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/st/userstor/service/dao/mapper/UserStorMapper.xml @@ -10,7 +10,7 @@ sys_user.is_used = '1' - and (username like #{blurry} or person_name like #{blurry}) + and (username like CONCAT('%', #{blurry}, '%') or person_name like CONCAT('%', #{blurry}, '%') ) order by username desc diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/BakingServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/BakingServiceImpl.java index 6d2c79b..25879ce 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/BakingServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/BakingServiceImpl.java @@ -5,7 +5,6 @@ import cn.hutool.core.util.IdUtil; import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.StrUtil; -import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import lombok.RequiredArgsConstructor; @@ -17,7 +16,7 @@ import org.nl.common.utils.CodeUtil; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.SpringContextHolder; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.acs.service.impl.WmsToAcsServiceImpl; import org.nl.wms.pda.mps.eum.RegionTypeEnum; import org.nl.wms.pda.mps.service.BakingService; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/CasingServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/CasingServiceImpl.java index 62255ff..e9ccb20 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/CasingServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/CasingServiceImpl.java @@ -17,7 +17,7 @@ import org.nl.wms.basedata.master.interfaceback.service.dao.InterfaceBack; import org.nl.wms.basedata.master.interfaceback.service.dao.mapper.InterfaceBackMapper; import org.nl.wms.basedata.master.storagevehicleinfo.service.StoragevehicleinfoService; import org.nl.wms.basedata.master.storagevehicleinfo.service.dao.Storagevehicleinfo; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.acs.service.impl.WmsToAcsServiceImpl; import org.nl.wms.ext.mes.service.LmsToMesService; import org.nl.wms.pda.mps.service.CasingService; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/FeedingServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/FeedingServiceImpl.java index 51340e4..ab954e3 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/FeedingServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/FeedingServiceImpl.java @@ -18,7 +18,7 @@ import org.nl.modules.wql.core.content.HttpContext; import org.nl.modules.wql.util.SpringContextHolder; import org.nl.wms.basedata.master.unit.service.dao.Unit; import org.nl.wms.basedata.master.unit.service.dao.mapper.UnitMapper; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.basedata.st.structattr.service.dao.Structattr; import org.nl.wms.basedata.st.structattr.service.dao.mapper.StructattrMapper; import org.nl.wms.ext.acs.service.WmsToAcsService; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/InServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/InServiceImpl.java index 4f19f19..d0ef45f 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/InServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/InServiceImpl.java @@ -9,7 +9,7 @@ import lombok.extern.slf4j.Slf4j; import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pda.mps.service.InService; import org.nl.wms.sch.manage.TaskStatusEnum; import org.nl.wms.sch.tasks.CutConveyorTask; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/OutServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/OutServiceImpl.java index 674df6a..352e33b 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/OutServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/OutServiceImpl.java @@ -9,7 +9,7 @@ import lombok.extern.slf4j.Slf4j; import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pda.mps.service.OutService; import org.nl.wms.sch.manage.TaskStatusEnum; import org.nl.wms.sch.tasks.CutConveyorTask; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/PaperTubeServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/PaperTubeServiceImpl.java index f905635..dacc038 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/PaperTubeServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/PaperTubeServiceImpl.java @@ -9,7 +9,7 @@ import lombok.extern.slf4j.Slf4j; import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.acs.service.WmsToAcsService; import org.nl.wms.pda.mps.service.PaperTubeService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/RawFoilServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/RawFoilServiceImpl.java index 0b643cf..c440ca5 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/RawFoilServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/RawFoilServiceImpl.java @@ -14,7 +14,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.core.content.HttpContext; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.acs.service.impl.WmsToAcsServiceImpl; import org.nl.wms.pda.mps.eum.RegionTypeEnum; import org.nl.wms.pda.mps.service.RawFoilService; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/ShippingServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/ShippingServiceImpl.java index 9a1dc4e..6c1f1b7 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/ShippingServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/mps/service/impl/ShippingServiceImpl.java @@ -12,7 +12,7 @@ import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.wms.basedata.master.interfaceback.service.dao.InterfaceBack; import org.nl.wms.basedata.master.interfaceback.service.dao.mapper.InterfaceBackMapper; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pda.mps.service.ShippingService; import org.nl.wms.sch.tasks.CutConveyorTask; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolInServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolInServiceImpl.java index e03b39b..8b2a4b8 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolInServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolInServiceImpl.java @@ -12,7 +12,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.core.content.HttpContext; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pda.st.service.CoolInService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolOutServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolOutServiceImpl.java index d5548e6..02558de 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolOutServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/st/service/impl/CoolOutServiceImpl.java @@ -9,7 +9,7 @@ import lombok.extern.slf4j.Slf4j; import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pda.st.service.CoolOutService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pda/task/service/impl/PdaTaskServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pda/task/service/impl/PdaTaskServiceImpl.java index 6ee1476..0a4f17f 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pda/task/service/impl/PdaTaskServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pda/task/service/impl/PdaTaskServiceImpl.java @@ -11,7 +11,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.SpringContextHolder; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.acs.service.WmsToAcsService; import org.nl.wms.pda.task.service.PdaTaskService; import org.nl.b_lms.sch.task.service.TaskService; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CoolPointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CoolPointIvtServiceImpl.java index a2d6164..c653cad 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CoolPointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CoolPointIvtServiceImpl.java @@ -21,7 +21,7 @@ import org.nl.modules.wql.util.WqlUtil; import org.nl.system.service.param.impl.SysParamServiceImpl; import org.nl.wms.basedata.master.interfaceback.service.dao.InterfaceBack; import org.nl.wms.basedata.master.interfaceback.service.dao.mapper.InterfaceBackMapper; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.mes.service.LmsToMesService; import org.nl.wms.pdm.ivt.service.CoolPointIvtService; import org.nl.wms.pdm.ivt.service.dto.CoolPointIvtDto; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CutPointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CutPointIvtServiceImpl.java index ffe9584..cac62eb 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CutPointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/CutPointIvtServiceImpl.java @@ -14,7 +14,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pdm.ivt.service.CutPointIvtService; import org.nl.wms.pdm.ivt.service.dto.CutPointIvtDto; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/DeliveryPointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/DeliveryPointIvtServiceImpl.java index 68ecd36..b7b0e67 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/DeliveryPointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/DeliveryPointIvtServiceImpl.java @@ -14,7 +14,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pdm.ivt.service.DeliveryPointIvtService; import org.nl.wms.pdm.ivt.service.dto.DeliveryPointIvtDto; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/HotPointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/HotPointIvtServiceImpl.java index e07d2be..de11db9 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/HotPointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/HotPointIvtServiceImpl.java @@ -21,7 +21,7 @@ import org.nl.modules.wql.util.WqlUtil; import org.nl.system.service.param.impl.SysParamServiceImpl; import org.nl.wms.basedata.master.interfaceback.service.dao.InterfaceBack; import org.nl.wms.basedata.master.interfaceback.service.dao.mapper.InterfaceBackMapper; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.mes.service.LmsToMesService; import org.nl.wms.pdm.ivt.service.HotPointIvtService; import org.nl.wms.pdm.ivt.service.dto.HotPointIvtDto; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/PackagePointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/PackagePointIvtServiceImpl.java index 22a8bfc..d7dd906 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/PackagePointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/PackagePointIvtServiceImpl.java @@ -14,7 +14,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pdm.ivt.service.PackagePointIvtService; import org.nl.wms.pdm.ivt.service.dto.PackagePointIvtDto; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/SbPointIvtServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/SbPointIvtServiceImpl.java index 85932d7..bb63b32 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/SbPointIvtServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/ivt/service/impl/SbPointIvtServiceImpl.java @@ -14,7 +14,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pdm.ivt.service.SbPointIvtService; import org.nl.wms.pdm.ivt.service.dto.SbPointIvtDto; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/RawfoilworkorderServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/RawfoilworkorderServiceImpl.java index 0e5e5a4..38cc543 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/RawfoilworkorderServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/RawfoilworkorderServiceImpl.java @@ -15,7 +15,7 @@ import org.nl.modules.common.exception.BadRequestException; import org.nl.modules.wql.WQL; import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.pdm.service.RawfoilworkorderService; import org.nl.wms.pdm.service.dto.RawfoilworkorderDto; import org.springframework.beans.factory.annotation.Autowired; diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/SlittingproductionplanServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/SlittingproductionplanServiceImpl.java index 2cd654d..9d77d24 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/SlittingproductionplanServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/service/impl/SlittingproductionplanServiceImpl.java @@ -19,7 +19,7 @@ import org.nl.modules.wql.core.bean.WQLObject; import org.nl.modules.wql.util.WqlUtil; import org.nl.wms.basedata.master.interfaceback.service.dao.InterfaceBack; import org.nl.wms.basedata.master.interfaceback.service.dao.mapper.InterfaceBackMapper; -import org.nl.wms.basedata.st.areapermissions.service.IUserAreaPermissionService; +import org.nl.wms.basedata.st.userarea.service.IUserAreaPermissionService; import org.nl.wms.ext.mes.service.LmsToMesService; import org.nl.wms.pdm.service.SlittingproductionplanService; import org.nl.wms.pdm.service.dto.SlittingproductionplanDto; diff --git a/lms/nladmin-ui/src/views/wms/basedata/product/userArea/index.vue b/lms/nladmin-ui/src/views/wms/basedata/product/userArea/index.vue index a21de81..afdd8bb 100644 --- a/lms/nladmin-ui/src/views/wms/basedata/product/userArea/index.vue +++ b/lms/nladmin-ui/src/views/wms/basedata/product/userArea/index.vue @@ -2,18 +2,26 @@
-
+
- - + + + + + +
diff --git a/lms/nladmin-ui/src/views/wms/basedata/st/userStor/index.vue b/lms/nladmin-ui/src/views/wms/basedata/st/userStor/index.vue index 4eabb21..19a15d6 100644 --- a/lms/nladmin-ui/src/views/wms/basedata/st/userStor/index.vue +++ b/lms/nladmin-ui/src/views/wms/basedata/st/userStor/index.vue @@ -2,18 +2,26 @@
-
+
- + + + + +
diff --git a/lms/nladmin-ui/src/views/wms/st/inStor/moveStor/index.vue b/lms/nladmin-ui/src/views/wms/st/inStor/moveStor/index.vue index df9ab51..9e23eef 100644 --- a/lms/nladmin-ui/src/views/wms/st/inStor/moveStor/index.vue +++ b/lms/nladmin-ui/src/views/wms/st/inStor/moveStor/index.vue @@ -99,8 +99,8 @@ :value="item.value" /> - - + + -