lyh
2025-06-30 0843d9fa608a6d319d9d1c37860a0f16ce263a19
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
package org.jeecg.modules.eam.service.impl;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.eam.entity.EquipmentMaintenancePlanDetail;
import org.jeecg.modules.eam.mapper.EquipmentMaintenancePlanDetailMapper;
import org.jeecg.modules.eam.service.IEquipmentMaintenancePlanDetailService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
 
/**
 * @Description: 保养计划明细
 * @Author: jeecg-boot
 * @Date:   2023-10-16
 * @Version: V1.0
 */
@Service
public class EquipmentMaintenancePlanDetailServiceImpl extends ServiceImpl<EquipmentMaintenancePlanDetailMapper, EquipmentMaintenancePlanDetail> implements IEquipmentMaintenancePlanDetailService {
 
    @Autowired
    private EquipmentMaintenancePlanDetailMapper equipmentMaintenancePlanDetailMapper;
 
    @Override
    public List<EquipmentMaintenancePlanDetail> selectByMainId(String mainId) {
        return equipmentMaintenancePlanDetailMapper.selectByMainId(mainId);
    }
 
    @Override
    public Page<EquipmentMaintenancePlanDetail> pageList(Page<EquipmentMaintenancePlanDetail> page, String mainId) {
        return page.setRecords(baseMapper.pageList(page,mainId));
    }
}