From 0c1c30026c906f8055b5f0315785175726f9202c Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 20 六月 2024 13:38:42 +0800
Subject: [PATCH] 模块名称修改

---
 pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml
index f66bc70..f8568f3 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml
@@ -5,13 +5,13 @@
 <mapper namespace="com.dy.pmsGlobal.daoSta.StaWipSnExMapper">
 
     <resultMap id="BaseResultMap" type="com.dy.pmsGlobal.pojoSta.StaWipSnEx">
-            <id property="id" column="id" jdbcType="VARCHAR"/>
+            <id property="id" column="id" jdbcType="BIGINT"/>
             <result property="deviceNo" column="device_no" jdbcType="VARCHAR"/>
-            <result property="productId" column="product_id" jdbcType="INTEGER"/>
+            <result property="productId" column="product_id" jdbcType="BIGINT"/>
             <result property="productName" column="product_name" jdbcType="VARCHAR"/>
             <result property="productNo" column="product_no" jdbcType="VARCHAR"/>
             <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
-            <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
+            <result property="createBy" column="create_by" jdbcType="BIGINT"/>
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -24,21 +24,21 @@
         select
         <include refid="Base_Column_List" />
         from sta_wip_sn_ex
-        where  id = #{id,jdbcType=VARCHAR} 
+        where  id = #{id,jdbcType=BIGINT} 
     </select>
 
     <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
         delete from sta_wip_sn_ex
-        where  id = #{id,jdbcType=VARCHAR} 
+        where  id = #{id,jdbcType=BIGINT} 
     </delete>
     <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx" useGeneratedKeys="true">
         insert into sta_wip_sn_ex
         ( id,device_no,product_id
         ,product_name,product_no,create_time
         ,create_by)
-        values (#{id,jdbcType=VARCHAR},#{deviceNo,jdbcType=VARCHAR},#{productId,jdbcType=INTEGER}
+        values (#{id,jdbcType=BIGINT},#{deviceNo,jdbcType=VARCHAR},#{productId,jdbcType=BIGINT}
         ,#{productName,jdbcType=VARCHAR},#{productNo,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP}
-        ,#{createBy,jdbcType=VARCHAR})
+        ,#{createBy,jdbcType=BIGINT})
     </insert>
     <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx" useGeneratedKeys="true">
         insert into sta_wip_sn_ex
@@ -52,13 +52,13 @@
                 <if test="createBy != null">create_by,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
-                <if test="id != null">#{id,jdbcType=VARCHAR},</if>
+                <if test="id != null">#{id,jdbcType=BIGINT},</if>
                 <if test="deviceNo != null">#{deviceNo,jdbcType=VARCHAR},</if>
-                <if test="productId != null">#{productId,jdbcType=INTEGER},</if>
+                <if test="productId != null">#{productId,jdbcType=BIGINT},</if>
                 <if test="productName != null">#{productName,jdbcType=VARCHAR},</if>
                 <if test="productNo != null">#{productNo,jdbcType=VARCHAR},</if>
                 <if test="createTime != null">#{createTime,jdbcType=TIMESTAMP},</if>
-                <if test="createBy != null">#{createBy,jdbcType=VARCHAR},</if>
+                <if test="createBy != null">#{createBy,jdbcType=BIGINT},</if>
         </trim>
     </insert>
     <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx">
@@ -68,7 +68,7 @@
                     device_no = #{deviceNo,jdbcType=VARCHAR},
                 </if>
                 <if test="productId != null">
-                    product_id = #{productId,jdbcType=INTEGER},
+                    product_id = #{productId,jdbcType=BIGINT},
                 </if>
                 <if test="productName != null">
                     product_name = #{productName,jdbcType=VARCHAR},
@@ -80,20 +80,20 @@
                     create_time = #{createTime,jdbcType=TIMESTAMP},
                 </if>
                 <if test="createBy != null">
-                    create_by = #{createBy,jdbcType=VARCHAR},
+                    create_by = #{createBy,jdbcType=BIGINT},
                 </if>
         </set>
-        where   id = #{id,jdbcType=VARCHAR} 
+        where   id = #{id,jdbcType=BIGINT} 
     </update>
     <update id="updateByPrimaryKey" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx">
         update sta_wip_sn_ex
         set 
             device_no =  #{deviceNo,jdbcType=VARCHAR},
-            product_id =  #{productId,jdbcType=INTEGER},
+            product_id =  #{productId,jdbcType=BIGINT},
             product_name =  #{productName,jdbcType=VARCHAR},
             product_no =  #{productNo,jdbcType=VARCHAR},
             create_time =  #{createTime,jdbcType=TIMESTAMP},
-            create_by =  #{createBy,jdbcType=VARCHAR}
-        where   id = #{id,jdbcType=VARCHAR} 
+            create_by =  #{createBy,jdbcType=BIGINT}
+        where   id = #{id,jdbcType=BIGINT} 
     </update>
 </mapper>

--
Gitblit v1.8.0