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.DeliveryPlanDetailDao;
import com.sy.coinage.workshop.model.*;
import com.sy.coinage.workshop.service.IDeliveryPlanDetailService;

/**
 * -ServiceImpl
 */
@Service
public class DeliveryPlanDetailServiceImpl extends ServiceImpl<DeliveryPlanDetailDao, DeliveryPlanDetail> implements IDeliveryPlanDetailService {
//    public void add(DeliveryPlanDetailReq req, CacheUserVO user) {
//        this.save(model);
//    }
//    public void update(DeliveryPlanDetailReq req, CacheUserVO user) {
//        this.updateById(model);
//    }
//    @Override
//    public IPage<DeliveryPlanDetailVO> queryPage(DeliveryPlanDetailListReq req) {
//        LambdaQueryWrapper<DeliveryPlanDetail> queryWrapper = new LambdaQueryWrapper<>();
//        QueryWrapper<DeliveryPlanDetail> 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<DeliveryPlanDetail> page = new Page<>(req.getPage(), req.getRows());
//        IPage<DeliveryPlanDetailVO> resp = this.baseMapper.queryPage(page, queryWrapper);
//        return resp;
//    }

}
