package com.sy.coinage.workshop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import com.sy.coinage.workshop.dao.HumidityTemperatureDao;
import com.sy.coinage.workshop.model.*;
import com.sy.coinage.workshop.service.IHumidityTemperatureService;

/**
 * -ServiceImpl
 */
@Service
public class HumidityTemperatureServiceImpl extends ServiceImpl<HumidityTemperatureDao, HumidityTemperature> implements IHumidityTemperatureService {
//    public void add(HumidityTemperatureReq req, CacheUserVO user) {
//        this.save(model);
//    }
//    public void update(HumidityTemperatureReq req, CacheUserVO user) {
//        this.updateById(model);
//    }
//    @Override
//    public IPage<HumidityTemperatureVO> queryPage(HumidityTemperatureListReq req) {
//        LambdaQueryWrapper<HumidityTemperature> queryWrapper = new LambdaQueryWrapper<>();
//        QueryWrapper<HumidityTemperature> queryWrapper = new QueryWrapper<>();
//        if (null != req.getUserId() && req.getUserId() > 0) {
//            queryWrapper.eq("user_id", userId);
//        }
//        if (StringUtils.isNotBlank(req.getRealName())) {
//            queryWrapper.like("sys_user.real_name", req.getRealName());
//        }
//        Page<HumidityTemperature> page = new Page<>(req.getPage(), req.getRows());
//        IPage<HumidityTemperatureVO> resp = this.baseMapper.queryPage(page, queryWrapper);
//        return resp;
//    }

}
