From 00311f718b9ed42d48305b8ffe98ef79fdb3e716 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 04 九月 2025 15:15:29 +0800 Subject: [PATCH] 设备管理技术状态鉴定、设备保养、设备维修下所有列表添加使用部门展示 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/request/EamReportAccidentsRegisterQuery.java | 152 ++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 126 insertions(+), 26 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/request/EamReportAccidentsRegisterQuery.java b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/request/EamReportAccidentsRegisterQuery.java index 3a800cc..4f25045 100644 --- a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/request/EamReportAccidentsRegisterQuery.java +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/request/EamReportAccidentsRegisterQuery.java @@ -1,5 +1,6 @@ package org.jeecg.modules.eam.request; +import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; @@ -45,7 +46,7 @@ @Excel(name = "鍒犻櫎鏍囪", width = 15) @ApiModelProperty(value = "鍒犻櫎鏍囪") @TableLogic - private String delFlag; + private Integer delFlag; /**鎶ヤ慨ID*/ @Excel(name = "鎶ヤ慨ID", width = 15) @ApiModelProperty(value = "鎶ヤ慨ID") @@ -54,6 +55,10 @@ @Excel(name = "璁惧ID", width = 15) @ApiModelProperty(value = "璁惧ID") private String equipmentId; + /**HF缂栫爜*/ + @Excel(name = "HF缂栫爜", width = 15) + @ApiModelProperty(value = "HF缂栫爜") + private String hfCode; /**鐧昏鐘舵��*/ @ApiModelProperty(value = "鐧昏鐘舵��") @Dict(dicCode = "eam_report_accidents_register_status") @@ -117,7 +122,7 @@ private String district; /**鍖洪暱纭*/ @Excel(name = "鍖洪暱纭", width = 15) - @ApiModelProperty(value = "鍖洪暱纭") + @ApiModelProperty(value = "鍖洪暱纭鎰忚") private String districtConfirm; /**鍖洪暱纭鏃堕棿*/ @Excel(name = "鍖洪暱纭鏃堕棿", width = 15, format = "yyyy-MM-dd") @@ -125,6 +130,10 @@ @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "鍖洪暱纭鏃堕棿") private Date districtTime; + /**鍖洪暱纭缁撴灉*/ + @Excel(name = "鍖洪暱纭缁撴灉", width = 15) + @ApiModelProperty(value = "鍖洪暱纭缁撴灉") + private String districtResult; /**涓績涓讳换*/ @Excel(name = "涓績涓讳换", width = 15) @ApiModelProperty(value = "涓績涓讳换") @@ -132,14 +141,23 @@ private String centerDirector; /**涓績涓讳换纭*/ @Excel(name = "涓績涓讳换纭", width = 15) - @ApiModelProperty(value = "涓績涓讳换纭") + @ApiModelProperty(value = "涓績涓讳换纭鎰忚") private String centerDirectorConfirm; + /**涓績涓讳换纭缁撴灉*/ + @Excel(name = "涓績涓讳换纭缁撴灉", width = 15) + @ApiModelProperty(value = "涓績涓讳换纭缁撴灉") + private String centerDirectorResult; /**涓績涓讳换纭鏃堕棿*/ @Excel(name = "涓績涓讳换纭鏃堕棿", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "涓績涓讳换纭鏃堕棿") private Date centerDirectorTime; + /**缁翠慨宸ョ‘璁�*/ + @Excel(name = "缁翠慨宸ョ‘璁�", width = 15) + @ApiModelProperty(value = "缁翠慨宸ョ‘璁�") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") + private String repairConfirm; /**缁翠慨寮�濮嬫椂闂�*/ @Excel(name = "缁翠慨寮�濮嬫椂闂�", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @@ -172,17 +190,16 @@ @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "寤鸿閲囧彇鎺柦鏃堕棿") private Date suggestionTakeStepsTime; - /**缁翠慨纭*/ - @Excel(name = "缁翠慨纭", width = 15) - @ApiModelProperty(value = "缁翠慨纭") - @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") - private String repairConfirm; - /**缁翠慨纭鎰忚*/ - @Excel(name = "缁翠慨纭鎰忚", width = 15) - @ApiModelProperty(value = "缁翠慨纭鎰忚") + /**缁翠慨宸ョ‘璁ょ粨鏋�*/ + @Excel(name = "缁翠慨宸ョ‘璁ょ粨鏋�", width = 15) + @ApiModelProperty(value = "缁翠慨宸ョ‘璁ょ粨鏋�") + private String repairConfirmResult; + /**缁翠慨宸ョ‘璁ゆ剰瑙�*/ + @Excel(name = "缁翠慨宸ョ‘璁ゆ剰瑙�", width = 15) + @ApiModelProperty(value = "缁翠慨宸ョ‘璁ゆ剰瑙�") private String repairConfirmComment; - /**缁翠慨纭鏃堕棿*/ - @Excel(name = "缁翠慨纭鏃堕棿", width = 15, format = "yyyy-MM-dd") + /**缁翠慨宸ョ‘璁ゆ椂闂�*/ + @Excel(name = "缁翠慨宸ョ‘璁ゆ椂闂�", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "缁翠慨纭鏃堕棿") @@ -196,27 +213,40 @@ @Excel(name = "缁翠慨缁勯暱鎰忚", width = 15) @ApiModelProperty(value = "缁翠慨缁勯暱鎰忚") private String repairGroupLeaderComment; + /**缁翠慨缁勯暱纭缁撴灉*/ + @Excel(name = "缁翠慨缁勯暱纭缁撴灉", width = 15) + @ApiModelProperty(value = "缁翠慨缁勯暱纭缁撴灉") + private String repairGroupLeaderResult; /**缁翠慨缁勯暱纭鏃堕棿*/ @Excel(name = "缁翠慨缁勯暱纭鏃堕棿", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "缁翠慨缁勯暱纭鏃堕棿") private Date repairGroupLeaderTime; - /**缁翠慨缁勯暱纭*/ - @Excel(name = "缁翠慨缁勯暱纭", width = 15) - @ApiModelProperty(value = "缁翠慨缁勯暱纭") + /**缁翠慨缁勯暱(鍖洪暱)纭*/ + @Excel(name = "缁翠慨缁勯暱(鍖洪暱)纭", width = 15) + @ApiModelProperty(value = "缁翠慨缁勯暱(鍖洪暱)纭") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") private String repairDistrict; - /**缁翠慨缁勯暱鎰忚*/ - @Excel(name = "缁翠慨缁勯暱鎰忚", width = 15) - @ApiModelProperty(value = "缁翠慨缁勯暱鎰忚") + /**缁翠慨缁勯暱(鍖洪暱)鎰忚*/ + @Excel(name = "缁翠慨缁勯暱(鍖洪暱)鎰忚", width = 15) + @ApiModelProperty(value = "缁翠慨缁勯暱(鍖洪暱)鎰忚") private String repairDistrictComment; - /**缁翠慨缁勯暱纭鏃堕棿*/ + /**缁翠慨缁勯暱(鍖洪暱)纭缁撴灉*/ + @Excel(name = "缁翠慨缁勯暱(鍖洪暱)纭缁撴灉", width = 15) + @ApiModelProperty(value = "缁翠慨缁勯暱(鍖洪暱)纭缁撴灉") + private String repairDistrictResult; + /**缁翠慨缁勯暱(鍖洪暱)纭鏃堕棿*/ @Excel(name = "缁翠慨缁勯暱纭鏃堕棿", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") - @ApiModelProperty(value = "缁翠慨缁勯暱纭鏃堕棿") + @ApiModelProperty(value = "缁翠慨缁勯暱(鍖洪暱)纭鏃堕棿") private Date repairDistrictTime; + /**鎶�鏈礋璐d汉*/ + @Excel(name = "鎶�鏈礋璐d汉", width = 15) + @ApiModelProperty(value = "鎶�鏈礋璐d汉") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") + private String technicalDirector; /**鍘熷洜鍒嗘瀽鏍稿鍚屾剰銆佷笉鍚屾剰*/ @Excel(name = "鍘熷洜鍒嗘瀽鏍稿鍚屾剰銆佷笉鍚屾剰", width = 15) @ApiModelProperty(value = "鍘熷洜鍒嗘瀽鏍稿鍚屾剰銆佷笉鍚屾剰") @@ -233,11 +263,14 @@ @Excel(name = "浜嬫晠缁撹", width = 15) @ApiModelProperty(value = "浜嬫晠缁撹") private String accidentConclusion; - /**鎶�鏈礋璐d汉*/ - @Excel(name = "鎶�鏈礋璐d汉", width = 15) - @ApiModelProperty(value = "鎶�鏈礋璐d汉") - @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") - private String technicalDirector; + /**鎶�鏈礋璐d汉纭鎰忚*/ + @Excel(name = "鎶�鏈礋璐d汉纭鎰忚", width = 15) + @ApiModelProperty(value = "鎶�鏈礋璐d汉纭鎰忚") + private String technicalDirectorConfirm; + /**鎶�鏈礋璐d汉纭缁撴灉*/ + @Excel(name = "鎶�鏈礋璐d汉纭缁撴灉", width = 15) + @ApiModelProperty(value = "鎶�鏈礋璐d汉纭缁撴灉") + private String technicalDirectorResult; /**鎶�鏈礋璐d汉纭鏃堕棿*/ @Excel(name = "鎶�鏈礋璐d汉纭鏃堕棿", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @@ -249,6 +282,14 @@ @ApiModelProperty(value = "鎶�鏈富绠″绾ч瀵�") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") private String technicalDirectorLeader; + /**鎶�鏈富绠″绾ч瀵肩‘璁ゆ剰瑙�*/ + @Excel(name = "鎶�鏈富绠″绾ч瀵肩‘璁ゆ剰瑙�", width = 15) + @ApiModelProperty(value = "鎶�鏈富绠″绾ч瀵肩‘璁ゆ剰瑙�") + private String technicalDirectorLeaderConfirm; + /**鎶�鏈富绠″绾ч瀵肩‘璁ょ粨鏋�*/ + @Excel(name = "鎶�鏈富绠″绾ч瀵肩‘璁ょ粨鏋�", width = 15) + @ApiModelProperty(value = "鎶�鏈富绠″绾ч瀵肩‘璁ょ粨鏋�") + private String technicalDirectorLeaderResult; /**鎶�鏈富绠″绾ч瀵肩‘璁ゆ椂闂�*/ @Excel(name = "鎶�鏈富绠″绾ч瀵肩‘璁ゆ椂闂�", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @@ -266,6 +307,14 @@ @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "涓荤閮ㄧ骇棰嗗纭鏃堕棿") private Date technicalDirectorPartTime; + /**涓荤閮ㄧ骇棰嗗纭鎰忚*/ + @Excel(name = "涓荤閮ㄧ骇棰嗗纭鎰忚", width = 15) + @ApiModelProperty(value = "涓荤閮ㄧ骇棰嗗纭鎰忚") + private String technicalDirectorPartConfirm; + /**涓荤閮ㄧ骇棰嗗纭缁撴灉*/ + @Excel(name = "涓荤閮ㄧ骇棰嗗纭缁撴灉", width = 15) + @ApiModelProperty(value = "涓荤閮ㄧ骇棰嗗纭缁撴灉") + private String technicalDirectorPartResult; //鍒楄〃灞曠ず @TableField(exist = false) private String equipmentCode; @@ -289,4 +338,55 @@ @TableField(exist = false) @ApiModelProperty(value = "搴熷搧浠峰��") private String scrapPartValue; + /** + * 鍏徃 + */ + @ApiModelProperty(value = "鍏徃") + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") + @TableField(exist = false) + private transient String gsfactoryOrgCode; + + /** + * 涓績 + */ + @ApiModelProperty(value = "涓績") + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") + @TableField(exist = false) + private transient String zxfactoryOrgCode; + + /** + * 宸ュ尯 + */ + @ApiModelProperty(value = "宸ュ尯") + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") + @TableField(exist = false) + private transient String gqfactoryOrgCode; + + /** + * 宸ユ + */ + @ApiModelProperty(value = "涓績/宸ュ尯/宸ユ") + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") + @TableField(exist = false) + private String factoryOrgCode; + + public void setFactoryOrgCode(String factoryOrgCode){ + this.factoryOrgCode = factoryOrgCode; + if(StrUtil.isNotEmpty(factoryOrgCode)){ + if(factoryOrgCode.length()==12){ + this.gqfactoryOrgCode = factoryOrgCode.substring(0,9); + this.zxfactoryOrgCode = factoryOrgCode.substring(0,6); + this.gsfactoryOrgCode = factoryOrgCode.substring(0,3); + } + + if(factoryOrgCode.length()==9){ + this.zxfactoryOrgCode = factoryOrgCode.substring(0,6); + this.gsfactoryOrgCode = factoryOrgCode.substring(0,3); + } + + if(factoryOrgCode.length()==6){ + this.gsfactoryOrgCode = factoryOrgCode.substring(0,3); + } + } + } } -- Gitblit v1.9.3