qushaowei
2024-01-31 a5bb107b88b161bd59edb68fa5be7e52137af839
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
package org.jeecg.modules.eam.mapper;
 
import java.util.List;
import org.jeecg.modules.eam.entity.OperationCertificateDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * @Description: 操作证管理明细
 * @Author: jeecg-boot
 * @Date:   2023-10-17
 * @Version: V1.0
 */
public interface OperationCertificateDetailMapper extends BaseMapper<OperationCertificateDetail> {
 
    /**
     * 通过主表id删除子表数据
     *
     * @param mainId 主表id
     * @return boolean
     */
    public boolean deleteByMainId(@Param("mainId") String mainId);
 
  /**
   * 通过主表id查询子表数据
   *
   * @param mainId 主表id
   * @return List<OperationCertificateDetail>
   */
    public List<OperationCertificateDetail> selectByMainId(@Param("mainId") String mainId);
}