yeg
2026-08-30 20b346ef9d4fcbbbe05abfe08e4f4f0303b0812e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.ruoyi.system.mapper;
 
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.system.domain.TBatteryGroupField;
 
/**
 * 电池组字段 Mapper 接口。
 *
 * @author ruoyi
 */
public interface TBatteryGroupFieldMapper
{
    /** 查询字段详情。 */
    TBatteryGroupField selectBatteryGroupFieldById(Long fieldId);
 
    /** 查询字段列表。 */
    List<TBatteryGroupField> selectBatteryGroupFieldList(TBatteryGroupField field);
 
    /** 根据名称查询未删除字段。 */
    TBatteryGroupField selectBatteryGroupFieldByName(String fieldName);
 
    /** 新增字段。 */
    int insertBatteryGroupField(TBatteryGroupField field);
 
    /** 编辑字段基础资料。 */
    int updateBatteryGroupField(TBatteryGroupField field);
 
    /** 更新字段状态。 */
    int updateBatteryGroupFieldStatus(TBatteryGroupField field);
 
    /** 逻辑删除字段。 */
    int deleteBatteryGroupFieldById(@Param("fieldId") Long fieldId, @Param("updateBy") String updateBy);
 
    /** 查询字段是否已被模板或电池组使用。 */
    int countFieldReferences(Long fieldId);
}