From d05dd9bd1e32e95108b0a299ccf71459c685c222 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期三, 19 六月 2024 14:25:59 +0800
Subject: [PATCH] 模块名称修改

---
 pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/WoDeviceProductionLogMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml
similarity index 92%
rename from pms-parent/pms-global/src/main/resources/mapper/WoDeviceProductionLogMapper.xml
rename to pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml
index eb2f6d9..21d5a69 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/WoDeviceProductionLogMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceLifeMapper.xml
@@ -2,9 +2,9 @@
 <!DOCTYPE mapper
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.dy.pmsGlobal.daoWo.WoDeviceProductionLogMapper">
+<mapper namespace="com.dy.pmsGlobal.daoSta.StaDeviceLifeMapper">
 
-    <resultMap id="BaseResultMap" type="com.dy.pmsGlobal.pojoWo.WoDeviceProductionLog">
+    <resultMap id="BaseResultMap" type="com.dy.pmsGlobal.pojoSta.StaDeviceLife">
             <id property="id" column="id" jdbcType="BIGINT"/>
             <result property="equipNo" column="equip_no" jdbcType="VARCHAR"/>
             <result property="planId" column="plan_id" jdbcType="VARCHAR"/>
@@ -35,16 +35,16 @@
     <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
         select
         <include refid="Base_Column_List" />
-        from wo_device_production_log
+        from sta_device_life
         where  id = #{id,jdbcType=BIGINT} 
     </select>
 
     <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
-        delete from wo_device_production_log
+        delete from sta_device_life
         where  id = #{id,jdbcType=BIGINT} 
     </delete>
-    <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoWo.WoDeviceProductionLog" useGeneratedKeys="true">
-        insert into wo_device_production_log
+    <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife" useGeneratedKeys="true">
+        insert into sta_device_life
         ( id,equip_no,plan_id
         ,station_id,curr_node,next_node
         ,in_line_time,status,result
@@ -58,8 +58,8 @@
         ,#{updatedDate,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=VARCHAR},#{claimId,jdbcType=BIGINT}
         ,#{repairId,jdbcType=BIGINT})
     </insert>
-    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoWo.WoDeviceProductionLog" useGeneratedKeys="true">
-        insert into wo_device_production_log
+    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife" useGeneratedKeys="true">
+        insert into sta_device_life
         <trim prefix="(" suffix=")" suffixOverrides=",">
                 <if test="id != null">id,</if>
                 <if test="equipNo != null">equip_no,</if>
@@ -97,8 +97,8 @@
                 <if test="repairId != null">#{repairId,jdbcType=BIGINT},</if>
         </trim>
     </insert>
-    <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoWo.WoDeviceProductionLog">
-        update wo_device_production_log
+    <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife">
+        update sta_device_life
         <set>
                 <if test="equipNo != null">
                     equip_no = #{equipNo,jdbcType=VARCHAR},
@@ -148,8 +148,8 @@
         </set>
         where   id = #{id,jdbcType=BIGINT} 
     </update>
-    <update id="updateByPrimaryKey" parameterType="com.dy.pmsGlobal.pojoWo.WoDeviceProductionLog">
-        update wo_device_production_log
+    <update id="updateByPrimaryKey" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLife">
+        update sta_device_life
         set 
             equip_no =  #{equipNo,jdbcType=VARCHAR},
             plan_id =  #{planId,jdbcType=VARCHAR},

--
Gitblit v1.8.0