From 1c703617885275090d69c697e82e61f4940c0bdc Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期二, 28 五月 2024 14:20:29 +0800 Subject: [PATCH] 380新产品,优化 --- jcdm-main/src/main/resources/mapper/da/paramCollection/DaParamCollectionMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/jcdm-main/src/main/resources/mapper/da/paramCollection/DaParamCollectionMapper.xml b/jcdm-main/src/main/resources/mapper/da/paramCollection/DaParamCollectionMapper.xml index 67ad846..03caf9a 100644 --- a/jcdm-main/src/main/resources/mapper/da/paramCollection/DaParamCollectionMapper.xml +++ b/jcdm-main/src/main/resources/mapper/da/paramCollection/DaParamCollectionMapper.xml @@ -28,10 +28,11 @@ <result property="paramName" column="param_name" /> <result property="unit" column="unit" /> <result property="type" column="type" /> + <result property="repairFlag" column="repair_flag" /> </resultMap> <sql id="selectDaParamCollectionVo"> - select id, work_order_no, sfc_code, product_code, production_line, location_code, equipment_no, param_code, param_value, param_upper, param_lower, param_standard, collection_time, spare_field_1, spare_field_2, create_user, create_time, update_user, update_time, state, param_name, unit, type from da_param_collection + select id, work_order_no, sfc_code, product_code, production_line, location_code, equipment_no, param_code, param_value, param_upper, param_lower, param_standard, collection_time, spare_field_1, spare_field_2, create_user, create_time, update_user, update_time, state, param_name, unit, type, repair_flag from da_param_collection </sql> <select id="selectDaParamCollectionList" parameterType="DaParamCollection" resultMap="DaParamCollectionResult"> @@ -45,8 +46,10 @@ <if test="locationCode != null and locationCode != ''"> and location_code = #{locationCode}</if> <if test="equipmentNo != null and equipmentNo != ''"> and equipment_no = #{equipmentNo}</if> <if test="paramCode != null and paramCode != ''"> and param_code = #{paramCode}</if> + <if test="paramValue != null and paramValue != ''"> and param_value = #{paramValue}</if> <if test="dateConditions != null and dateConditions != ''"> and collection_time BETWEEN #{startTime} AND #{endTime}</if> </where> + ORDER BY id DESC </select> <select id="selectDaParamCollectionById" parameterType="Long" resultMap="DaParamCollectionResult"> -- Gitblit v1.9.3