From 9ab5567c609940998a4cb4e967edaa2274854eda Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 02 七月 2025 14:43:01 +0800 Subject: [PATCH] 规范二维码 --- pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 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 8a1b2e7..2bd1653 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrDeviceMapper.xml @@ -32,14 +32,14 @@ delete from pr_device where batch_id = #{batchId,jdbcType=BIGINT} </delete> - <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice" useGeneratedKeys="true"> + <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice"> insert into pr_device ( id,pro_id,batch_id ,device_no,status) values (#{id,jdbcType=BIGINT},#{proId,jdbcType=BIGINT},#{batchId,jdbcType=BIGINT} ,#{deviceNo,jdbcType=BIGINT},#{status,jdbcType=TINYINT}) </insert> - <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice" useGeneratedKeys="true"> + <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrDevice"> insert into pr_device <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> -- Gitblit v1.8.0