feat:无人机类型增加类型唯一值
This commit is contained in:
parent
8ae8df19b1
commit
19be5b4bf0
|
|
@ -35,7 +35,7 @@ public class AirTypeGeneralEnumVO implements Serializable
|
|||
private Long subType;
|
||||
|
||||
/** 类型编码(domain-type-subType) */
|
||||
private String typeCode;
|
||||
private String airType;
|
||||
|
||||
/** 图标 */
|
||||
private String icon;
|
||||
|
|
@ -50,6 +50,6 @@ public class AirTypeGeneralEnumVO implements Serializable
|
|||
* 生成类型编码(domain-type-subType)
|
||||
*/
|
||||
public void generateTypeCode() {
|
||||
this.typeCode = String.format("%d-%d-%d", domain, type, subType);
|
||||
this.airType = String.format("%d-%d-%d", domain, type, subType);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue