PDA首页菜单问题

test
anthonywj 1 year ago
parent feccc47758
commit 4631e2dfcc

@ -262,6 +262,7 @@ public class IoOrderController extends BaseController {
@AuthRuleAnnotation("")
@PostMapping("warehouse/inout/submitCodes")
@Log(title = "单据管理", businessType = BusinessType.UPDATE)
@CusRedissonAnnotation(cacheName = RedissonCacheKey.SUBMIT_ORDER, key = {"#addOrderRequest.billNo"}, timeOutMsg = "系统正在处理,请勿重复提交")
public BaseResponse submitCodes(@RequestBody AddOrderRequest addOrderRequest) {
//校验单据是否已完成
@ -420,6 +421,7 @@ public class IoOrderController extends BaseController {
@AuthRuleAnnotation("")
@PostMapping("warehouse/inout/codeResult/submitOrderWeb")
@Log(title = "单据管理", businessType = BusinessType.UPDATE)
@CusRedissonAnnotation(cacheName = RedissonCacheKey.SUBMIT_ORDER, key = {"#addOrderRequest.billNo"}, timeOutMsg = "系统正在处理,请勿重复提交")
public BaseResponse submitByCodeResult(@RequestBody AddOrderRequest addOrderRequest) {
IoOrderEntity orderEntity = orderService.findByBillNo(addOrderRequest.getBillNo());
@ -446,6 +448,7 @@ public class IoOrderController extends BaseController {
@AuthRuleAnnotation("")
@Transactional(rollbackFor = Exception.class)
@PostMapping("warehouse/inout/codeCheck/submitOrderWeb")
@CusRedissonAnnotation(cacheName = RedissonCacheKey.SUBMIT_ORDER, key = {"#addOrderRequest.billNo"}, timeOutMsg = "系统正在处理,请勿重复提交")
@Log(title = "单据管理", businessType = BusinessType.UPDATE)
public BaseResponse submitByCheckResult(@RequestBody AddOrderRequest addOrderRequest) {

@ -88,4 +88,7 @@ public class FilterMenuRequest extends ListPageRequest {
private String neMenuId;
private Long userId;
}

@ -58,6 +58,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
List<SysMenu> menuList = null;
// 管理员显示所有菜单信息
FilterMenuRequest filterMenuRequest = new FilterMenuRequest();
filterMenuRequest.setUserId(userId);
BeanUtils.copyProperties(menu, filterMenuRequest);
if (Constant.ADMIN_ID.equals(userId + "")) {
menuList = sysMenuDao.selectMenuList(filterMenuRequest);

@ -147,6 +147,7 @@
left join auth_role_menu rm on m.menu_id = rm.menu_id
left join auth_user_role sur on rm.role_id = sur.role_id
left join auth_role ro on sur.role_id = ro.role_id
where sur.user_id = #{userId}
</select>
<select id="selectMenuTreeByUserId" parameterType="Long" resultMap="SysMenuResult">

Loading…
Cancel
Save