package com.iailab.module.ansteel.power.service.impl;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.iailab.module.ansteel.power.entity.PowerAdjustedFactorEntity;
|
import com.iailab.module.ansteel.power.dao.PowerAdjustedFactorDao;
|
import com.iailab.module.ansteel.power.service.PowerAdjustedFactorService;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author dyk
|
* @Description
|
* @createTime 2025年04月18日
|
*/
|
@Slf4j
|
@Service
|
public class PowerAdjustedFactorServiceImpl implements PowerAdjustedFactorService {
|
|
@Resource
|
private PowerAdjustedFactorDao PowerAdjustedFactorDao;
|
|
@Override
|
public List<PowerAdjustedFactorEntity> list(Map<String, Object> params) {
|
QueryWrapper<PowerAdjustedFactorEntity> queryWrapper = new QueryWrapper<>();
|
queryWrapper.orderByAsc("sort");
|
return PowerAdjustedFactorDao.selectList(queryWrapper);
|
|
}
|
}
|