From 2f9c7c1c030d6d48831386d42dd927188552848f Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Thu, 16 Nov 2023 17:39:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=85=BB=E5=A7=94=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/op/device/domain/EquOrder.java | 9 +++++ .../java/com/op/device/domain/EquPlan.java | 40 +++++++++++++++++++ .../mapper/device/EquOrderMapper.xml | 7 +++- .../resources/mapper/device/EquPlanMapper.xml | 22 +++++++++- 4 files changed, 76 insertions(+), 2 deletions(-) diff --git a/op-modules/op-device/src/main/java/com/op/device/domain/EquOrder.java b/op-modules/op-device/src/main/java/com/op/device/domain/EquOrder.java index 259e990e..439b112c 100644 --- a/op-modules/op-device/src/main/java/com/op/device/domain/EquOrder.java +++ b/op-modules/op-device/src/main/java/com/op/device/domain/EquOrder.java @@ -151,6 +151,15 @@ public class EquOrder extends BaseEntity { private String equipmentName; private String planRestrict; + private String outsourceCode; + + public String getOutsourceCode() { + return outsourceCode; + } + + public void setOutsourceCode(String outsourceCode) { + this.outsourceCode = outsourceCode; + } private List detailList; diff --git a/op-modules/op-device/src/main/java/com/op/device/domain/EquPlan.java b/op-modules/op-device/src/main/java/com/op/device/domain/EquPlan.java index 9dcc738c..a630e7d8 100644 --- a/op-modules/op-device/src/main/java/com/op/device/domain/EquPlan.java +++ b/op-modules/op-device/src/main/java/com/op/device/domain/EquPlan.java @@ -157,6 +157,46 @@ public class EquPlan extends BaseEntity { private Date getLoopEndArrayEnd; + private String workPerson; + + private String workOutsourcingUnit; + + private String workConnection; + + private String workReason; + + public String getWorkOutsourcingUnit() { + return workOutsourcingUnit; + } + + public void setWorkOutsourcingUnit(String workOutsourcingUnit) { + this.workOutsourcingUnit = workOutsourcingUnit; + } + + public String getWorkConnection() { + return workConnection; + } + + public void setWorkConnection(String workConnection) { + this.workConnection = workConnection; + } + + public String getWorkReason() { + return workReason; + } + + public void setWorkReason(String workReason) { + this.workReason = workReason; + } + + public String getWorkPerson() { + return workPerson; + } + + public void setWorkPerson(String workPerson) { + this.workPerson = workPerson; + } + public List getLoopEndArray() { return loopEndArray; } diff --git a/op-modules/op-device/src/main/resources/mapper/device/EquOrderMapper.xml b/op-modules/op-device/src/main/resources/mapper/device/EquOrderMapper.xml index 6394d68f..db97cf3c 100644 --- a/op-modules/op-device/src/main/resources/mapper/device/EquOrderMapper.xml +++ b/op-modules/op-device/src/main/resources/mapper/device/EquOrderMapper.xml @@ -39,6 +39,7 @@ + @@ -46,7 +47,7 @@ plan_loop_start, plan_loop_end, order_start, order_end, equipment_code, order_status, order_cost, plan_person, order_cost_time, order_sign_person, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, - update_by, update_time,upkeep,calculation_rule,shut_down,order_inspect,repair_code,work_code + update_by, update_time,upkeep,calculation_rule,shut_down,order_inspect,repair_code,work_code,outsource_code from equ_order @@ -84,6 +85,7 @@ and shut_down = #{shutDown} and order_inspect = #{orderInspect} and repair_code = #{repairCode} + and outsource_code = #{outsourceCode} and work_code = #{workCode} and del_flag = '0' @@ -182,6 +184,7 @@ repair_code, work_code, plan_restrict, + outsource_code, #{orderId}, @@ -219,6 +222,7 @@ #{repairCode}, #{workCode}, #{planRestrict}, + #{outsourceCode}, @@ -258,6 +262,7 @@ order_inspect = #{orderInspect}, repair_code = #{repairCode}, work_code = #{workCode}, + outsource_code = #{outsourceCode}, where order_id = #{orderId} diff --git a/op-modules/op-device/src/main/resources/mapper/device/EquPlanMapper.xml b/op-modules/op-device/src/main/resources/mapper/device/EquPlanMapper.xml index a0eb4be8..a73fcf74 100644 --- a/op-modules/op-device/src/main/resources/mapper/device/EquPlanMapper.xml +++ b/op-modules/op-device/src/main/resources/mapper/device/EquPlanMapper.xml @@ -34,10 +34,14 @@ + + + + - select plan_id, plan_code, plan_name, plan_workshop, plan_prod_line, equipment_name, equipment_code, plan_loop, plan_loop_type, plan_loop_start, plan_loop_end, plan_person, plan_status, plan_restrict, plan_type, plan_outsource, work_code, upkeep, calculation_rule, shut_down, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time from equ_plan + select plan_id, plan_code, plan_name, plan_workshop, plan_prod_line, equipment_name, equipment_code, plan_loop, plan_loop_type, plan_loop_start, plan_loop_end, plan_person, plan_status, plan_restrict, plan_type, plan_outsource, work_code, upkeep, calculation_rule, shut_down, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time , work_person, work_outsourcing_unit, work_connection,work_reason from equ_plan