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
33
34
35
36
37
38
39
40
41
42
43
44
package org.jeecg.modules.eam.service.impl;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.eam.entity.EquipmentUnloadingBorrowDetail;
import org.jeecg.modules.eam.mapper.EquipmentUnloadingBorrowDetailMapper;
import org.jeecg.modules.eam.model.DepartVo;
import org.jeecg.modules.eam.service.IEquipmentUnloadingBorrowDetailService;
import org.springframework.stereotype.Service;
 
import java.util.List;
import java.util.Map;
 
/**
 * @Description: mom_eam_equipment_unloading_borrow_detail
 * @Author: jeecg-boot
 * @Date: 2023-03-10
 * @Version: V1.0
 */
@Service
public class EquipmentUnloadingBorrowDetailServiceImpl extends ServiceImpl<EquipmentUnloadingBorrowDetailMapper, EquipmentUnloadingBorrowDetail> implements IEquipmentUnloadingBorrowDetailService {
 
    @Override
    public List<Map<String, Object>> getEquipmentUnloadingBorrowDetailList (String equipmentUnloadingId) {
        List<Map<String, Object>> equipmentUnloadingBorrowDetailList = super.baseMapper.getEquipmentUnloadingBorrowDetailList(equipmentUnloadingId);
 
        return equipmentUnloadingBorrowDetailList;
    }
 
    @Override
    public List<DepartVo> getDepart() {
        return super.baseMapper.getDepart();
    }
 
 
    @Override
    public IPage<Map<String, Object>> getEquipmentUnloadingBorrowDetailById(Integer pageNo, Integer pageSize, Map<String, Object> params) {
        IPage<Map> pageData = new Page<Map>(pageNo, pageSize);
        return super.getBaseMapper().getEquipmentUnloadingBorrowDetailById(pageData, params);
    }
 
 
}