package com.hzya.frame.grpU8.nxproof.pubobjflow.dao.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.grpU8.nxproof.pubobjflow.dao.IPubObjFlowDao;
import com.hzya.frame.grpU8.nxproof.pubobjflow.entity.PubObjFlowEntity;
import org.springframework.stereotype.Repository;

/**
 * @Author:hecan
 * @Description:
 * @params:
 * @return:
 * @Date: 2023/6/19 14:59
 */
@Repository(value = "pubObjFlowDao")
public class PubObjFlowDaoImpl extends MybatisGenericDao<PubObjFlowEntity,String> implements IPubObjFlowDao {
    @DS("#entity.dataSourceCode")
    @Override
    public Integer saveData(PubObjFlowEntity entity) {
        Integer o = super.insert(getSqlIdPrifx() + "PubObjFlowEntity_insert", entity);
        return o;
    }
}
