From ce3f55e4daea0640fd5065b8e655c3b177e79b9b Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期一, 25 八月 2025 15:55:22 +0800 Subject: [PATCH] 设备管理首页列表接口 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamThirdMaintenanceOrder.java | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamThirdMaintenanceOrder.java b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamThirdMaintenanceOrder.java index 3c1fdae..157037a 100644 --- a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamThirdMaintenanceOrder.java +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/entity/EamThirdMaintenanceOrder.java @@ -1,5 +1,6 @@ package org.jeecg.modules.eam.entity; +import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; @@ -259,4 +260,40 @@ /**娴佺▼涓氬姟瀹炰緥id 涓�涓祦绋嬩笟鍔″敮涓�锛屾湰琛ㄤ腑涔熷敮涓�*/ @TableField(exist = false) private String processInstanceId; + + /**鎶�鏈姸鎬�*/ + @TableField(exist = false) + @ApiModelProperty(value = "鎶�鏈姸鎬�") + @Dict(dicCode = "equipment_technology_status") + private String technologyStatus; + + @ApiModelProperty(value = "涓績") + @TableField(exist = false) + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") + private transient String zxfactoryOrgCode; + + @ApiModelProperty(value = "宸ュ尯") + @TableField(exist = false) + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") + private transient String gqfactoryOrgCode; + + @ApiModelProperty(value = "涓績/宸ュ尯/宸ユ") + @TableField(exist = false) + @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "factory_code") + 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); + } + + if(factoryOrgCode.length()==9){ + this.zxfactoryOrgCode = factoryOrgCode.substring(0,6); + } + + } + } } -- Gitblit v1.9.3