package com.rongwei.sfcommon.sys.service.impl;

import com.rongwe.scentity.domian.PointCheckItemDo;
import com.rongwei.sfcommon.sys.dao.PointCheckDao;
import com.rongwei.sfcommon.sys.dao.PointCheckItemDao;
import com.rongwei.sfcommon.sys.service.PointCheckItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service("pointCheckItemService")
public class PointCheckItemServiceImpl extends ServiceImpl<PointCheckItemDao, PointCheckItemDo> implements PointCheckItemService {

    @Autowired
    private PointCheckItemDao pointCheckItemDao;

    @Override
    public List<PointCheckItemDo> getListByPointCheckId(String pointCheckId) {
        /*Map<String, Object> queryMap = new HashMap<>();
        queryMap.put("deleted", "0");
        queryMap.put("pointcheckid", pointCheckId);*/
        return pointCheckItemDao.getItemList(pointCheckId);
//        return (List<PointCheckItemDo>) this.listByMap(queryMap);
    }
}
