From a8f00a488561323d87dc4669d8fe4a1149fe90d8 Mon Sep 17 00:00:00 2001 From: 张磊磊 <201175954@qq.com> Date: 星期四, 09 十一月 2023 15:32:38 +0800 Subject: [PATCH] 模具添加字段/预警次数-天数 --- hd/pipe/engineeringManage/src/main/resources/mapping/MouldMapper.xml | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/hd/pipe/engineeringManage/src/main/resources/mapping/MouldMapper.xml b/hd/pipe/engineeringManage/src/main/resources/mapping/MouldMapper.xml index 51a6030..2dd25ec 100644 --- a/hd/pipe/engineeringManage/src/main/resources/mapping/MouldMapper.xml +++ b/hd/pipe/engineeringManage/src/main/resources/mapping/MouldMapper.xml @@ -18,7 +18,9 @@ t.come_factory_time as comeFactoryTime, t.current_cycle_time as currentCycleTime, t.status as status, - t.grouting_holes as groutingHoles + t.grouting_holes as groutingHoles, + t.warning_value as warningValue, + t.warning_day as warningDay </sql> <sql id="condition_query"> @@ -188,6 +190,12 @@ <if test="groutingHoles != null and groutingHoles!=''"> grouting_holes, </if> + <if test="warningValue != null"> + warning_value, + </if> + <if test="warningDay != null"> + warning_day, + </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides="," > @@ -245,6 +253,12 @@ <if test="groutingHoles != null and groutingHoles!=''"> #{groutingHoles}, </if> + <if test="warningValue != null"> + #{warningValue}, + </if> + <if test="warningDay != null"> + #{warningDay}, + </if> </trim> </insert> @@ -301,6 +315,12 @@ <if test="updateTime != null"> update_time = #{updateTime}, </if> + <if test="warningValue != null"> + warning_value=#{warningValue}, + </if> + <if test="warningDay != null"> + warning_day=#{warningDay}, + </if> </set> where mould_id=#{mouldId} </update> -- Gitblit v1.9.3