“djh”
昨天 8c91afa9c1bbe5fae9d88cfd1e7243c376af69fe
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
package com.gkhy.exam.system.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.system.domain.SupplierSureQuality;
import com.gkhy.exam.system.mapper.SupplierSureQualityMapper;
import com.gkhy.exam.system.service.SupplierSureQualityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
@Service
public class SupplierSureQualityServiceImpl extends ServiceImpl<SupplierSureQualityMapper, SupplierSureQuality> implements SupplierSureQualityService {
 
    @Autowired
    private SupplierSureQualityMapper supplierSureQualityMapper;
 
    @Override
    public CommonResult selectQualityList(Integer supplierSureId) {
        return CommonResult.success(supplierSureQualityMapper.selectQualityList(supplierSureId));
    }
 
    @Override
    public CommonResult updateQuality(SupplierSureQuality quality) {
        supplierSureQualityMapper.updateById(quality);
        return CommonResult.success();
    }
}