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.IUpdateLogisticsNoDao;
import com.hzya.frame.plugin.lets.entity.UpdateLogisticsNoEntity;

/**
 * (ToBill)表数据库访问层
 *
 * @author makejava
 * @since 2023-11-21 10:41:19
 */
public class UpdateLogisticsNoDaoImpl extends MybatisGenericDao<UpdateLogisticsNoEntity, String> implements IUpdateLogisticsNoDao {
    @DS("swoa_mysql")
    @Override
    public void updateLogisticsNo(UpdateLogisticsNoEntity updateLogisticsNo) throws Exception {
        this.update("com.hzya.frame.plugin.lets.dao.impl.UpdateLogisticsNoDaoImpl.updateLogisticsNoByformmain0237", updateLogisticsNo);
        this.update("com.hzya.frame.plugin.lets.dao.impl.UpdateLogisticsNoDaoImpl.updateLogisticsNoByformmain0202", updateLogisticsNo);
    }

    @DS("swoa_mysql")
    @Override
    public void updateLogisticsNoReturn(UpdateLogisticsNoEntity updateLogisticsNo) throws Exception {
        this.update("com.hzya.frame.plugin.lets.dao.impl.UpdateLogisticsNoDaoImpl.updateLogisticsNoByformmain0237Return", updateLogisticsNo);
        this.update("com.hzya.frame.plugin.lets.dao.impl.UpdateLogisticsNoDaoImpl.updateLogisticsNoByformmain0202Return", updateLogisticsNo);
    }
}