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/sd/ProductMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
index e915d83..dd28dd4 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
@@ -64,6 +64,9 @@
<if test="product.creator != null and product.creator != ''">
and a.creator like concat('%',#{product.creator},'%')
</if>
+ <if test="product.state != null">
+ and a.state = #{product.state}
+ </if>
<if test="product.createTime != null and product.createTime != ''">
and date(a.create_time) like concat('%',#{product.createTime},'%')
</if>
@@ -74,6 +77,14 @@
;
</select>
+ <select id="selectProduct">
+ select * from sd.product where ${productName}=#{productNameValue}
+ </select>
+
+ <select id="selectProductId">
+ select * from sd.product where ${productName}=#{productNameValue} and id != #{id}
+ </select>
+
<select id="getPageTotal" >
select
CEILING(count(a.id)/#{pageSize})
--
Gitblit v1.8.0