From d5f9789713304cfdd550ddd080d57511efad6609 Mon Sep 17 00:00:00 2001
From: yangyang
Date: 星期一, 14 七月 2025 06:11:54 +0800
Subject: [PATCH] 分页初始化
---
zy-asrs-wms/src/main/resources/mapper/system/MenuMapper.xml | 60 ++++++++++++++++++++++++++++++------------------------------
1 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/zy-asrs-wms/src/main/resources/mapper/system/MenuMapper.xml b/zy-asrs-wms/src/main/resources/mapper/system/MenuMapper.xml
index a9a672c..f42d586 100644
--- a/zy-asrs-wms/src/main/resources/mapper/system/MenuMapper.xml
+++ b/zy-asrs-wms/src/main/resources/mapper/system/MenuMapper.xml
@@ -1,30 +1,30 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.zy.asrs.wms.system.mapper.MenuMapper">
-
- <select id="selectByParentId" resultType="com.zy.asrs.wms.system.entity.Menu">
- select * from sys_menu
- where parent_id = #{parentId}
- <if test="type!=null">
- and type = #{type}
- </if>
- <if test="hostId!=null">
- and host_id = #{hostId}
- </if>
- and deleted = 0
- order by id
- </select>
-
- <select id="selectByHostId" resultType="com.zy.asrs.wms.system.entity.Menu">
- select * from sys_menu
- where host_id = #{hostId}
- and deleted = 0
- order by id
- </select>
-
- <delete id="removeByHostId">
- delete from sys_menu
- where host_id = #{hostId}
- </delete>
-
-</mapper>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.zy.asrs.wms.system.mapper.MenuMapper">
+
+ <select id="selectByParentId" resultType="com.zy.asrs.wms.system.entity.Menu">
+ select * from sys_menu
+ where parent_id = #{parentId}
+ <if test="type!=null">
+ and type = #{type}
+ </if>
+ <if test="hostId!=null">
+ and host_id = #{hostId}
+ </if>
+ and deleted = 0
+ order by id
+ </select>
+
+ <select id="selectByHostId" resultType="com.zy.asrs.wms.system.entity.Menu">
+ select * from sys_menu
+ where host_id = #{hostId}
+ and deleted = 0
+ order by id
+ </select>
+
+ <delete id="removeByHostId">
+ delete from sys_menu
+ where host_id = #{hostId}
+ </delete>
+
+</mapper>
--
Gitblit v1.9.1