From b899d2388df844378ff6f2c495febf09447d954d Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期五, 27 十二月 2024 19:51:39 +0800 Subject: [PATCH] #问题修复 # 3.生成任务档作业中数量没变 4.合并订单生成任务,只生成了其中一个 5.103任务完成后,订单状态未修改 6.库位订数量未减少 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/service/impl/RoleMenuServiceImpl.java | 62 +++++++++++++++--------------- 1 files changed, 31 insertions(+), 31 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/service/impl/RoleMenuServiceImpl.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/service/impl/RoleMenuServiceImpl.java index 13b3308..6a16ab9 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/service/impl/RoleMenuServiceImpl.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/service/impl/RoleMenuServiceImpl.java @@ -1,31 +1,31 @@ -package com.zy.asrs.wms.system.service.impl; - -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.zy.asrs.wms.system.entity.Menu; -import com.zy.asrs.wms.system.entity.RoleMenu; -import com.zy.asrs.wms.system.mapper.RoleMenuMapper; -import com.zy.asrs.wms.system.service.RoleMenuService; -import org.springframework.stereotype.Service; - -import java.util.Collections; -import java.util.List; - -@Service("roleMenuService") -public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements RoleMenuService { - - @Override - public List<Menu> listMenuByUserId(Long userId, Integer menuType) { - return baseMapper.listMenuByUserId(userId, menuType, null); - } - - @Override - public List<Menu> listMenuByUserId(Long userId, Integer menuType, Long hostId) { - return baseMapper.listMenuByUserId(userId, menuType, hostId); - } - - @Override - public List<Long> listStrictlyMenuByRoleId(Long roleId) { - return baseMapper.listStrictlyMenuByRoleId(roleId); - } - -} +package com.zy.asrs.wms.system.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.zy.asrs.wms.system.entity.Menu; +import com.zy.asrs.wms.system.entity.RoleMenu; +import com.zy.asrs.wms.system.mapper.RoleMenuMapper; +import com.zy.asrs.wms.system.service.RoleMenuService; +import org.springframework.stereotype.Service; + +import java.util.Collections; +import java.util.List; + +@Service("roleMenuService") +public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements RoleMenuService { + + @Override + public List<Menu> listMenuByUserId(Long userId, Integer menuType) { + return baseMapper.listMenuByUserId(userId, menuType, null); + } + + @Override + public List<Menu> listMenuByUserId(Long userId, Integer menuType, Long hostId) { + return baseMapper.listMenuByUserId(userId, menuType, hostId); + } + + @Override + public List<Long> listStrictlyMenuByRoleId(Long roleId) { + return baseMapper.listStrictlyMenuByRoleId(roleId); + } + +} -- Gitblit v1.9.1