cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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
package org.jeecg.modules.eam.mapper;
 
import java.util.List;
import org.jeecg.modules.eam.entity.EquipmentSealDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * @Description: 设备封存明细
 * @Author: jeecg-boot
 * @Date:   2023-05-06
 * @Version: V1.0
 */
public interface EquipmentSealDetailMapper extends BaseMapper<EquipmentSealDetail> {
 
    /**
     * 通过主表id删除子表数据
     *
     * @param mainId 主表id
     * @return boolean
     */
    public boolean deleteByMainId(@Param("mainId") String mainId);
 
   /**
    * 通过主表id查询子表数据
    *
    * @param mainId 主表id
    * @return List<EquipmentSealDetail>
    */
    public List<EquipmentSealDetail> selectByMainId(@Param("mainId") String mainId);
 
}