zenglf
2023-08-18 499d6294b4b7881c5797a59a183c5fc0105599dd
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);
    }
}