feat:无人机类型增加类型唯一值

This commit is contained in:
gyb 2026-02-27 09:45:12 +08:00
parent 8ae8df19b1
commit 19be5b4bf0
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ public class AirTypeGeneralEnumVO implements Serializable
private Long subType; private Long subType;
/** 类型编码domain-type-subType */ /** 类型编码domain-type-subType */
private String typeCode; private String airType;
/** 图标 */ /** 图标 */
private String icon; private String icon;
@ -50,6 +50,6 @@ public class AirTypeGeneralEnumVO implements Serializable
* 生成类型编码domain-type-subType * 生成类型编码domain-type-subType
*/ */
public void generateTypeCode() { public void generateTypeCode() {
this.typeCode = String.format("%d-%d-%d", domain, type, subType); this.airType = String.format("%d-%d-%d", domain, type, subType);
} }
} }