From 60edff747d52eb42aadb036e3fbd580252de4c05 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期四, 28 八月 2025 08:15:54 +0800 Subject: [PATCH] 1 --- zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java index 5cdd1cc..bb201a6 100644 --- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java +++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java @@ -56,7 +56,7 @@ * 绔欑被鍨� */ @ApiModelProperty(value= "绔欑被鍨�") - private Long staType; + private Integer staType; /** * 鏉$爜 @@ -178,6 +178,15 @@ return null; } + public Integer getStaTypeIsCheck(){ + StaTypeService service = SpringUtils.getBean(StaTypeService.class); + StaType staType = service.getById(this.staType); + if (!Cools.isEmpty(staType)){ + return staType.getCheckType(); + } + return 0; + } + public String getCode$(){ CodeService service = SpringUtils.getBean(CodeService.class); Code code = service.getById(this.code); -- Gitblit v1.9.1