From d164df98abff9bffba850b8edbcfe74989ed52b6 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Thu, 24 Aug 2023 10:13:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=89=BA=E6=96=B0=E5=A2=9E=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/op/technology/domain/ProRoute.java | 42 +++++++++++++++++++ .../mapper/technology/ProRouteMapper.xml | 26 ++++++++++-- 2 files changed, 64 insertions(+), 4 deletions(-) diff --git a/op-modules/op-technology/src/main/java/com/op/technology/domain/ProRoute.java b/op-modules/op-technology/src/main/java/com/op/technology/domain/ProRoute.java index 43cd688e1..996b85b7c 100644 --- a/op-modules/op-technology/src/main/java/com/op/technology/domain/ProRoute.java +++ b/op-modules/op-technology/src/main/java/com/op/technology/domain/ProRoute.java @@ -53,6 +53,18 @@ public class ProRoute extends BaseEntity /** 预留字段4 */ private String attr4; + /** 人工 */ + private String tecMan; + + /** 机器 */ + private String tecMachine; + + /** 折旧 */ + private String tecDepreciation; + + /** 其他 */ + private String tecOther; + private String fileList; private List files; @@ -182,6 +194,32 @@ public class ProRoute extends BaseEntity this.needCheck = needCheck; } + public void setTecMan(String tecMan) { + this.tecMan = tecMan; + } + public String getTecMan() { + return tecMan; + } + + public void setTecMachine(String tecMachine) { + this.tecMachine = tecMachine; + } + public String getTecMachine() { + return tecMachine; + } + + public String getTecDepreciation() { return tecDepreciation; } + public void setTecDepreciation(String tecDepreciation) { + this.tecDepreciation = tecDepreciation; + } + + public String getTecOther() { + return tecOther; + } + public void setTecOther(String tecOther) { + this.tecOther = tecOther; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -199,6 +237,10 @@ public class ProRoute extends BaseEntity .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) + .append("tecMan",getTecMan()) + .append("tecMachine",getTecMachine()) + .append("tecOther",getTecOther()) + .append("tecDepreciation",getTecDepreciation()) .toString(); } } diff --git a/op-modules/op-technology/src/main/resources/mapper/technology/ProRouteMapper.xml b/op-modules/op-technology/src/main/resources/mapper/technology/ProRouteMapper.xml index 870d103f1..6016d0795 100644 --- a/op-modules/op-technology/src/main/resources/mapper/technology/ProRouteMapper.xml +++ b/op-modules/op-technology/src/main/resources/mapper/technology/ProRouteMapper.xml @@ -21,13 +21,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + + + + + select route_id, route_code, route_name, route_desc, enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, - route_version,need_check + route_version,need_check,tec_man,tec_machine,tec_other,tec_depreciation from pro_route @@ -59,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -89,7 +93,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time, route_version, need_check, - + -- 新增 + tec_man, + tec_machine, + tec_other, + tec_depreciation, #{routeId}, @@ -108,6 +116,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{updateTime}, #{routeVersion}, #{needCheck}, + -- 新增 + #{tecMan}, + #{tecMachine}, + #{tecOther}, + #{tecDepreciation}, @@ -129,6 +142,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time = #{updateTime}, route_version = #{routeVersion}, need_check=#{needCheck}, + -- 新增 + tec_man = #{tecMan}, + tec_machine = #{tecMachine}, + tec_other = #{tecOther}, + tec_depreciation=#{tecDepreciation}, where route_id = #{routeId}