From 26a103aa2ed0453d3a0314015c6c9e3c81ff4131 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期三, 14 五月 2025 17:38:03 +0800 Subject: [PATCH] 优化mabatis xml --- aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessShopStatMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessShopStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessShopStatMapper.xml index f78c192..8951097 100644 --- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessShopStatMapper.xml +++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessShopStatMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.aps.core.mapper.ApsPlateProcessShopStatMapper"> - <resultMap type="ApsPlateProcessShopStat" id="ApsPlateProcessShopStatResult"> + <resultMap type="com.aps.core.domain.ApsPlateProcessShopStat" id="ApsPlateProcessShopStatResult"> <result property="id" column="id" /> <result property="docNo" column="doc_no" /> <result property="shopCode" column="shop_code" /> @@ -27,7 +27,7 @@ from aps_plate_process_shop_stat </sql> - <select id="selectApsPlateProcessShopStatList" parameterType="ApsPlateProcessShopStat" resultMap="ApsPlateProcessShopStatResult"> + <select id="selectApsPlateProcessShopStatList" parameterType="com.aps.core.domain.ApsPlateProcessShopStat" resultMap="ApsPlateProcessShopStatResult"> <include refid="selectApsPlateProcessShopStatVo"/> <where> <if test="docNo != null and docNo != ''"> and doc_no = #{docNo}</if> @@ -47,7 +47,7 @@ where id = #{id} </select> - <insert id="insertApsPlateProcessShopStat" parameterType="ApsPlateProcessShopStat" useGeneratedKeys="true" keyProperty="id"> + <insert id="insertApsPlateProcessShopStat" parameterType="com.aps.core.domain.ApsPlateProcessShopStat" useGeneratedKeys="true" keyProperty="id"> insert into aps_plate_process_shop_stat <trim prefix="(" suffix=")" suffixOverrides=","> <if test="docNo != null">doc_no,</if> @@ -79,7 +79,7 @@ </trim> </insert> - <update id="updateApsPlateProcessShopStat" parameterType="ApsPlateProcessShopStat"> + <update id="updateApsPlateProcessShopStat" parameterType="com.aps.core.domain.ApsPlateProcessShopStat"> update aps_plate_process_shop_stat <trim prefix="SET" suffixOverrides=","> <if test="docNo != null">doc_no = #{docNo},</if> -- Gitblit v1.9.3