yeg
2026-09-05 85eb2837e3b3bf5411b332aa2cc38d2755e0d3bf
ruoyi-system/src/main/java/com/ruoyi/system/domain/TBatteryGroup.java
@@ -33,6 +33,8 @@
    private List<TBatteryGroupBattery> batteries;
    private Integer batteryCount;
    private List<TBatteryGroupRelationField> templateFields;
    /** 电池组当前字段值;templateFields 为现有页面兼容名称。 */
    private List<TBatteryGroupRelationField> fields;
    public Long getGroupId() { return groupId; } public void setGroupId(Long v) { groupId = v; }
    public String getGroupName() { return groupName; } public void setGroupName(String v) { groupName = v; }
@@ -55,4 +57,6 @@
    public List<TBatteryGroupBattery> getBatteries() { return batteries; } public void setBatteries(List<TBatteryGroupBattery> v) { batteries = v; }
    public Integer getBatteryCount() { return batteryCount; } public void setBatteryCount(Integer v) { batteryCount = v; }
    public List<TBatteryGroupRelationField> getTemplateFields() { return templateFields; } public void setTemplateFields(List<TBatteryGroupRelationField> v) { templateFields = v; }
    public List<TBatteryGroupRelationField> getFields() { return fields != null ? fields : templateFields; }
    public void setFields(List<TBatteryGroupRelationField> v) { fields = v; templateFields = v; }
}