From 679fb5553807993969169e4b1caba304815ebad7 Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期一, 11 三月 2024 10:27:42 +0800
Subject: [PATCH] 参数采集配置导数据

---
 jcdm-main/src/main/resources/mapper/da/collectionParamConf/DaCollectionParamConfMapper.xml |   38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/jcdm-main/src/main/resources/mapper/da/collectionParamConf/DaCollectionParamConfMapper.xml b/jcdm-main/src/main/resources/mapper/da/collectionParamConf/DaCollectionParamConfMapper.xml
index 06e8c13..351d97a 100644
--- a/jcdm-main/src/main/resources/mapper/da/collectionParamConf/DaCollectionParamConfMapper.xml
+++ b/jcdm-main/src/main/resources/mapper/da/collectionParamConf/DaCollectionParamConfMapper.xml
@@ -30,10 +30,19 @@
         <result property="spareField2"    column="spare_field_2"    />
         <result property="spareField3"    column="spare_field_3"    />
         <result property="spareField4"    column="spare_field_4"    />
+        <result property="processesName"    column="processes_name"    />
+        <result property="device"    column="device"    />
+        <result property="project"    column="project"    />
+        <result property="accuracy"    column="accuracy"    />
+        <result property="arrayLength"    column="array_length"    />
+        <result property="acquisitionFrequency"    column="acquisition_frequency"    />
+        <result property="demandDepartment"    column="demand_department"    />
+        <result property="whetherToCollect"    column="whether_to_collect"    />
+        <result property="defaultValue"    column="default_value"    />
     </resultMap>
 
     <sql id="selectDaCollectionParamConfVo">
-        select id, processes_code, parameter_set_code, parameter_set_name, collect_parameter_id, collect_parameter_name, contrast_parameter_flag, collect_parameter_type, collect_parameter_unit, Descriptives, param_upper, param_lower, param_Central, product_code, gather_address, gather_sequence, remarks, create_user, create_time, update_user, update_time, spare_field_1, spare_field_2, spare_field_3, spare_field_4 from da_collection_param_conf
+        select id, processes_code, parameter_set_code, parameter_set_name, collect_parameter_id, collect_parameter_name, contrast_parameter_flag, collect_parameter_type, collect_parameter_unit, Descriptives, param_upper, param_lower, param_Central, product_code, gather_address, gather_sequence, remarks, create_user, create_time, update_user, update_time, spare_field_1, spare_field_2, spare_field_3, spare_field_4, processes_name, device, project, accuracy, array_length, acquisition_frequency, demand_department, whether_to_collect, default_value from da_collection_param_conf
     </sql>
 
     <select id="selectDaCollectionParamConfList" parameterType="DaCollectionParamConf" resultMap="DaCollectionParamConfResult">
@@ -83,6 +92,15 @@
             <if test="spareField2 != null">spare_field_2,</if>
             <if test="spareField3 != null">spare_field_3,</if>
             <if test="spareField4 != null">spare_field_4,</if>
+            <if test="processesName != null">processes_name,</if>
+            <if test="device != null">device,</if>
+            <if test="project != null">project,</if>
+            <if test="accuracy != null">accuracy,</if>
+            <if test="arrayLength != null">array_length,</if>
+            <if test="acquisitionFrequency != null">acquisition_frequency,</if>
+            <if test="demandDepartment != null">demand_department,</if>
+            <if test="whetherToCollect != null">whether_to_collect,</if>
+            <if test="defaultValue != null">default_value,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
@@ -110,6 +128,15 @@
             <if test="spareField2 != null">#{spareField2},</if>
             <if test="spareField3 != null">#{spareField3},</if>
             <if test="spareField4 != null">#{spareField4},</if>
+            <if test="processesName != null">#{processesName},</if>
+            <if test="device != null">#{device},</if>
+            <if test="project != null">#{project},</if>
+            <if test="accuracy != null">#{accuracy},</if>
+            <if test="arrayLength != null">#{arrayLength},</if>
+            <if test="acquisitionFrequency != null">#{acquisitionFrequency},</if>
+            <if test="demandDepartment != null">#{demandDepartment},</if>
+            <if test="whetherToCollect != null">#{whetherToCollect},</if>
+            <if test="defaultValue != null">#{defaultValue},</if>
          </trim>
     </insert>
 
@@ -140,6 +167,15 @@
             <if test="spareField2 != null">spare_field_2 = #{spareField2},</if>
             <if test="spareField3 != null">spare_field_3 = #{spareField3},</if>
             <if test="spareField4 != null">spare_field_4 = #{spareField4},</if>
+            <if test="processesName != null">processes_name = #{processesName},</if>
+            <if test="device != null">device = #{device},</if>
+            <if test="project != null">project = #{project},</if>
+            <if test="accuracy != null">accuracy = #{accuracy},</if>
+            <if test="arrayLength != null">array_length = #{arrayLength},</if>
+            <if test="acquisitionFrequency != null">acquisition_frequency = #{acquisitionFrequency},</if>
+            <if test="demandDepartment != null">demand_department = #{demandDepartment},</if>
+            <if test="whetherToCollect != null">whether_to_collect = #{whetherToCollect},</if>
+            <if test="defaultValue != null">default_value = #{defaultValue},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3