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
32
33
34
35
36
37
38
39
40
41
42
43
package org.jeecg.modules.eam.mapper;
 
import java.util.List;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.eam.entity.EquipmentMaintenancePlanDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * @Description: 保养计划明细
 * @Author: jeecg-boot
 * @Date:   2023-10-16
 * @Version: V1.0
 */
public interface EquipmentMaintenancePlanDetailMapper extends BaseMapper<EquipmentMaintenancePlanDetail> {
 
    /**
     * 通过主表id删除子表数据
     *
     * @param mainId 主表id
     * @return boolean
     */
    public boolean deleteByMainId(@Param("mainId") String mainId);
 
   /**
    * 通过主表id查询子表数据
    *
    * @param mainId 主表id
    * @return List<EquipmentMaintenancePlanDetail>
    */
    public List<EquipmentMaintenancePlanDetail> selectByMainId(@Param("mainId") String mainId);
 
    /**
     * 通过主表id查询子表数据
     *
     * @param mainId 主表id
     * @param page
     * @return List<EquipmentMaintenancePlanDetail>
     */
    public List<EquipmentMaintenancePlanDetail> pageList(Page<EquipmentMaintenancePlanDetail> page, @Param("mainId") String mainId);
 
}