From 0f4b1ef7db5b361f38ca62ee75c31eca07b191aa Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期日, 27 四月 2025 15:20:00 +0800 Subject: [PATCH] 【UPDATE】1.修改获取U9工单数据实体字段新增op_status, next_op_name 2.对应钣金、零件、气柜管路实体 --- aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml index 6273868..e887477 100644 --- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml +++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml @@ -41,6 +41,8 @@ <result property="hasTurnback" column="has_turnback" /> <result property="hasRisk" column="has_risk" /> <result property="planType" column="plan_type" /> + <result property="opStatus" column="op_status" /> + <result property="nextOpName" column="next_op_name" /> <!-- <collection property="apsProcessRoutes" javaType="java.util.ArrayList" ofType="com.aps.core.domain.ApsProcessRoute">--> <!-- <result property="id" column="id" />--> <!-- <result property="itemNo" column="item_no" />--> @@ -90,7 +92,7 @@ department, plan_start_day, plan_end_day, standby_number, standby_name, standby_stock, next_process_deparment, is_suspended, is_outsourcing, account, advanced_materials, advanced_document_number, advanced_requirement_day, is_plan_complete, is_stock_complete, - has_turnback, has_risk ,plan_type + has_turnback, has_risk ,plan_type, op_status, next_op_name from aps_gas_piping_plan </sql> @@ -128,6 +130,8 @@ <if test="hasTurnback != null "> and has_turnback = #{hasTurnback}</if> <if test="hasRisk != null "> and has_risk = #{hasRisk}</if> <if test="planType != null "> and plan_type = #{planType}</if> + <if test="opStatus != null "> and op_status = #{opStatus}</if> + <if test="nextOpName != null "> and next_op_name = #{nextOpName}</if> and del_flag ='0' </where> </select> @@ -176,6 +180,8 @@ <if test="hasTurnback != null">has_turnback,</if> <if test="hasRisk != null">has_risk,</if> <if test="planType != null">plan_type,</if> + <if test="opStatus != null">op_status,</if> + <if test="nextOpName != null">next_op_name,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null and id != ''">#{id},</if> @@ -214,6 +220,8 @@ <if test="hasTurnback != null">#{hasTurnback},</if> <if test="hasRisk != null">#{hasRisk},</if> <if test="planType != null">#{planType},</if> + <if test="opStatus != null">#{opStatus},</if> + <if test="nextOpName != null">#{nextOpName},</if> </trim> </insert> @@ -255,6 +263,8 @@ <if test="hasTurnback != null">has_turnback = #{hasTurnback},</if> <if test="hasRisk != null">has_risk = #{hasRisk},</if> <if test="planType != null">plan_type = #{planType},</if> + <if test="opStatus != null">op_status = #{opStatus},</if> + <if test="nextOpName != null">next_op_name = #{nextOpName},</if> </trim> where id = #{id} </update> -- Gitblit v1.9.3