From c26d3f181ddd40a23aaef5bbbd5f0fcf1683d68a Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 27 九月 2024 12:17:56 +0800
Subject: [PATCH] 修改语言权限切换以及接口命名替换
---
north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml b/north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml
index 1c3214b..6125485 100644
--- a/north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml
+++ b/north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml
@@ -17,6 +17,7 @@
and m.type regexp #{materialStore.type}
</if>
</where>
+ order by m.id desc
limit #{offset},#{pageSize};
</select>
@@ -57,6 +58,14 @@
delete from mm.material_store where id=#{id}
</delete>
+ <select id="selectMaterialStore" >
+ select count(*) from mm.material_inventory where material_code=#{id}
+ </select>
+
+ <select id="selectMaterialStoreJson" >
+ select count(*) from mm.material_store where json=#{json}
+ </select>
+
--
Gitblit v1.8.0