From 172fbd8ed8a64952de9c2c806f1ba4b4c2409558 Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期五, 08 十二月 2023 16:27:56 +0800
Subject: [PATCH] 拌和站大屏图片更换,搅和站样式修改
---
hd/pipe/mobile/src/main/resources/mapping/SteelStockMapper.xml | 72 ++++++++++++++++++++++++++++++++++++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/hd/pipe/mobile/src/main/resources/mapping/SteelStockMapper.xml b/hd/pipe/mobile/src/main/resources/mapping/SteelStockMapper.xml
index 679d0cb..adf1e93 100644
--- a/hd/pipe/mobile/src/main/resources/mapping/SteelStockMapper.xml
+++ b/hd/pipe/mobile/src/main/resources/mapping/SteelStockMapper.xml
@@ -239,4 +239,76 @@
update sys_steel set stock = (stock+#{needNum}) where steel_id = #{steelId}
</update>
+ <insert id="insertSteelStockRecord">
+ insert into t_steel_stock_record
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test="recordId !=null and recordId !=''">
+ record_id,
+ </if>
+ <if test="steelRecordId !=null and steelRecordId !=''">
+ check_record_id,
+ </if>
+ <if test="modCheckId !=null and modCheckId !=''">
+ mod_check_id,
+ </if>
+ <if test="proId !=null and proId !=''">
+ pro_id,
+ </if>
+ <if test="sizeId !=null and sizeId !=''">
+ size_id,
+ </if>
+ <if test="reinforcementId !=null and reinforcementId !=''">
+ reinforcement_id,
+ </if>
+ <if test="blockId !=null and blockId !=''">
+ block_id,
+ </if>
+ <if test="stock !=null and stock !=''">
+ stock,
+ </if>
+ <if test="createTime !=null and createTime !=''">
+ create_time,
+ </if>
+ <if test="type !=null">
+ type,
+ </if>
+ </trim>
+ <trim prefix=" values (" suffix=")" suffixOverrides=",">
+ <if test="recordId !=null and recordId !=''">
+ #{recordId},
+ </if>
+ <if test="steelRecordId !=null and steelRecordId !=''">
+ #{steelRecordId},
+ </if>
+ <if test="modCheckId !=null and modCheckId !=''">
+ #{modCheckId},
+ </if>
+ <if test="proId !=null and proId !=''">
+ #{proId},
+ </if>
+ <if test="sizeId !=null and sizeId !=''">
+ #{sizeId},
+ </if>
+ <if test="reinforcementId !=null and reinforcementId !=''">
+ #{reinforcementId},
+ </if>
+ <if test="blockId !=null and blockId !=''">
+ #{blockId},
+ </if>
+ <if test="stock !=null and stock !=''">
+ #{stock},
+ </if>
+ <if test="createTime !=null and createTime !=''">
+ #{createTime},
+ </if>
+ <if test="type !=null">
+ #{type},
+ </if>
+ </trim>
+ </insert>
+
+ <update id="updateSteelStockRecordByCheckId">
+ update t_steel_stock_record set is_use = #{isUse} where check_record_id = #{checkRecordId}
+ </update>
+
</mapper>
--
Gitblit v1.9.3