71 lines
2.1 KiB
C#
71 lines
2.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using dccdc.Models;
|
|||
|
|
using System.Data;
|
|||
|
|
|
|||
|
|
|
|||
|
|
namespace dccdc.BLL
|
|||
|
|
{
|
|||
|
|
public class EnterpriceInfoMaintainBll
|
|||
|
|
{
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<EnterpriceInfoMaintainModel> getList(int page, int pagesize,string key)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().getList(page, pagesize,key);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<EnterpriceInfoMaintainModel> GetAllList(string id)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().GetAllList(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public EnterpriceInfoMaintainModel GetItem(EnterpriceInfoMaintainModel model)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().GetItem(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(EnterpriceInfoMaintainModel ct, ERPUser user)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().save(ct, user);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<EnterpriceInfoMaintainModel> getListPage(int page, int pagesize, string qyname, string lx)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().getListPage(page, pagesize, qyname, lx);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCount(string qyname, string lx)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().getCount(qyname, lx);
|
|||
|
|
}
|
|||
|
|
public EnterpriceInfoMaintainModel motifyObj(EnterpriceInfoMaintainModel model)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().motifyObj(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public EnterpriceInfoMaintainModel GetLoginMessage(string loginname)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().GetLoginMessage(loginname);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据id删除企业
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public object delEnterprise(string id)
|
|||
|
|
{
|
|||
|
|
return new DAL.EnterpriceInfoMaintainDal().del(id);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|