对比新文件 |
| | |
| | | package com.gk.firework.Service.ServiceImpl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.gk.firework.Domain.LicenseStorage; |
| | | import com.gk.firework.Mapper.LicenseStorageMapper; |
| | | import com.gk.firework.Service.LicenseService; |
| | | import com.gk.firework.Service.LicenseStorageService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author : jingjy |
| | | * @date : 2021/5/11 16:45 |
| | | */ |
| | | @Service("LicenseStorageService") |
| | | public class LicenseStorageServiceImpl extends ServiceImpl<LicenseStorageMapper, LicenseStorage> implements LicenseStorageService { |
| | | @Autowired |
| | | private LicenseStorageMapper licenseStorageMapper; |
| | | |
| | | @Override |
| | | public List<LicenseStorage> getListByLicenseCode(String licensecode) { |
| | | LambdaQueryWrapper<LicenseStorage> wrapper = new LambdaQueryWrapper<>(); |
| | | wrapper.eq(LicenseStorage::getLicensecode,licensecode); |
| | | return licenseStorageMapper.selectList(wrapper); |
| | | } |
| | | } |