From 5a3ee5fe053f60e75f795d016b28f5ae7182eab6 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 08 三月 2024 14:34:26 +0800
Subject: [PATCH] 修改sql语句的排序
---
north-glass-erp/src/main/resources/mapper/sd/Product.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/sd/Product.xml b/north-glass-erp/src/main/resources/mapper/sd/Product.xml
index ae51f90..3212ae3 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/Product.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/Product.xml
@@ -15,10 +15,12 @@
<result column="creator" property="creator"/>
<result column="create_time" property="createTime"/>
<result column="update_time" property="updateTime"/>
+ <!--鎺ユ敹鍏朵粬澶栭敭瀹炰綋绫绘暟鎹�-->
<association property="basicGlassType" javaType="com.example.erp.entity.sd.BasicGlassType">
<result column="type_id" property="typeID"/>
<result column="type_name" property="typeName"/>
</association>
+
<!--<result column="g_typeId" property="glassTypes.typeId"/>
<result column="g_type" property="glassTypes.type"/>-->
@@ -101,4 +103,8 @@
limit #{offset},#{pageSize}
;
</select>
+
+ <update id="updateProductStateById">
+ update product set state = #{state} where id = #{id}
+ </update>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0