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
package org.jeecg.modules.spare.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.spare.entity.SparePartRequirementDeatil;
import org.jeecg.modules.spare.mapper.SparePartRequirementDeatilMapper;
import org.jeecg.modules.spare.service.ISparePartRequirementDeatilService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * @Description: 备件需求明细表
 * @Author: jeecg-boot
 * @Date: 2023-06-21
 * @Version: V1.0
 */
@Service
public class SparePartRequirementDeatilServiceImpl extends ServiceImpl<SparePartRequirementDeatilMapper, SparePartRequirementDeatil> implements ISparePartRequirementDeatilService {
 
    @Autowired
    private SparePartRequirementDeatilMapper sparePartRequirementDeatilMapper;
 
    @Override
    public List<SparePartRequirementDeatil> getSparesScrapRequirementDetailList(String sparePartScrapRequirementId) {
 
        return super.getBaseMapper().getSparesScrapRequirementDetailList(sparePartScrapRequirementId);
    }
 
    @Override
    public List<SparePartRequirementDeatil> selectByMainId(String mainId) {
        return sparePartRequirementDeatilMapper.selectByMainId(mainId);
    }
}