using Dapper;
using NetCore.Model.enums;
using NetCore.Model.qw;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace NetCore.BLL
{
public class ww_corp_bll
{
private string comcode;
public ww_corp_bll(string _comcode)
{
comcode = _comcode;
}
///
/// 获取所有企业数据
///
///
public List GetList()
{
using (IDbConnection con = ConnectionFactory.CreateConnection(ContextType.qwContext, comcode, false))
{
return con.Query("select * from ww_corp", null, buffered: false).ToList();
}
}
}
}