package com.hzya.frame.plugin.lets.dao.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.ISoSaleorderBDao;
import com.hzya.frame.plugin.lets.entity.SoSaleorderBEntity;
import com.hzya.frame.plugin.lets.queryvo.ExtIntegrationTaskLivingDetailsQueryVo;

import java.util.List;

/**
 * (SoSaleorderB)表数据库访问层
 *
 * @author makejava
 * @since 2023-08-16 18:03:07
 */
//@Repository("SoSaleorderBDaoImpl")
public class SoSaleorderBDaoImpl extends MybatisGenericDao<SoSaleorderBEntity, String> implements ISoSaleorderBDao {

    @DS("lets_u8c")
    @Override
    public List<SoSaleorderBEntity> querySoSaleBEntity(SoSaleorderBEntity soSaleorderBEntity) throws Exception {
        return query("com.hzya.frame.plugin.lets.dao.impl.SoSaleorderBDaoImpl.querySoSaleBEntity", soSaleorderBEntity);
    }

    @DS("lets_u8c")
    @Override
    public List<ExtIntegrationTaskLivingDetailsQueryVo> queryErrorDetailsId(SoSaleorderBEntity soSaleorderBEntity) throws Exception {
        return (List<ExtIntegrationTaskLivingDetailsQueryVo>) super.selectList(getSqlIdPrifx() + "queryErrorDetailsId", soSaleorderBEntity);
    }
}