From 9b63b9770cd02ca73c20196a3e02f971bc6e70e8 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期五, 26 七月 2024 17:39:21 +0800
Subject: [PATCH] mapper 及xml整理

---
 pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml
index 581d229..e80217e 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml
@@ -52,7 +52,7 @@
                 <if test="id != null">#{id,jdbcType=BIGINT},</if>
                 <if test="proId != null">#{proId,jdbcType=BIGINT},</if>
                 <if test="batchId != null">#{batchId,jdbcType=BIGINT},</if>
-                <if test="deviceNo != null">#{deviceNo</if>
+                <if test="deviceNo != null">#{deviceNo},</if>
                 <if test="status != null">#{status,jdbcType=TINYINT},</if>
         </trim>
     </insert>
@@ -79,10 +79,10 @@
                     batch_id = #{batchId,jdbcType=BIGINT},
                 </if>
                 <if test="deviceNo != null">
-                    device_no = #{deviceNo
+                    device_no = #{deviceNo},
                 </if>
                 <if test="status != null">
-                    status = #{status,jdbcType=TINYINT},
+                    status = #{status,jdbcType=TINYINT}
                 </if>
         </set>
         where   id = #{id,jdbcType=BIGINT} 
@@ -92,7 +92,7 @@
         set 
             pro_id =  #{proId,jdbcType=BIGINT},
             batch_id =  #{batchId,jdbcType=BIGINT},
-            device_no = #{deviceNo
+            device_no = #{deviceNo},
             status =  #{status,jdbcType=TINYINT}
         where   id = #{id,jdbcType=BIGINT} 
     </update>

--
Gitblit v1.8.0