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/StaWipSnExMapper.xml | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/WoWipSnExMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml similarity index 88% rename from pms-parent/pms-global/src/main/resources/mapper/WoWipSnExMapper.xml rename to pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.xml index a816f56..f66bc70 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/WoWipSnExMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/StaWipSnExMapper.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.WoWipSnExMapper"> +<mapper namespace="com.dy.pmsGlobal.daoSta.StaWipSnExMapper"> - <resultMap id="BaseResultMap" type="com.dy.pmsGlobal.pojoWo.WoWipSnEx"> + <resultMap id="BaseResultMap" type="com.dy.pmsGlobal.pojoSta.StaWipSnEx"> <id property="id" column="id" jdbcType="VARCHAR"/> <result property="deviceNo" column="device_no" jdbcType="VARCHAR"/> <result property="productId" column="product_id" jdbcType="INTEGER"/> @@ -23,16 +23,16 @@ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> - from wo_wip_sn_ex + from sta_wip_sn_ex where id = #{id,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> - delete from wo_wip_sn_ex + delete from sta_wip_sn_ex where id = #{id,jdbcType=VARCHAR} </delete> - <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoWo.WoWipSnEx" useGeneratedKeys="true"> - insert into wo_wip_sn_ex + <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) @@ -40,8 +40,8 @@ ,#{productName,jdbcType=VARCHAR},#{productNo,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP} ,#{createBy,jdbcType=VARCHAR}) </insert> - <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoWo.WoWipSnEx" useGeneratedKeys="true"> - insert into wo_wip_sn_ex + <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx" useGeneratedKeys="true"> + insert into sta_wip_sn_ex <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> <if test="deviceNo != null">device_no,</if> @@ -61,8 +61,8 @@ <if test="createBy != null">#{createBy,jdbcType=VARCHAR},</if> </trim> </insert> - <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoWo.WoWipSnEx"> - update wo_wip_sn_ex + <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaWipSnEx"> + update sta_wip_sn_ex <set> <if test="deviceNo != null"> device_no = #{deviceNo,jdbcType=VARCHAR}, @@ -85,8 +85,8 @@ </set> where id = #{id,jdbcType=VARCHAR} </update> - <update id="updateByPrimaryKey" parameterType="com.dy.pmsGlobal.pojoWo.WoWipSnEx"> - update wo_wip_sn_ex + <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}, -- Gitblit v1.8.0