57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class ymzsBll
|
|
{
|
|
public ymzsDal Dal = new ymzsDal();
|
|
|
|
public int getCount()
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getCount();
|
|
}
|
|
|
|
public List<ymzs> getList(int page, int pagesize)
|
|
{
|
|
return Dal.getList(page, pagesize);
|
|
}
|
|
public List<ymzs> getAllList()
|
|
{
|
|
return Dal.getAllList();
|
|
}
|
|
|
|
public object save(ymzs cpm)
|
|
{
|
|
return Dal.save(cpm);
|
|
}
|
|
public OperationResult zsym(string id,ERPUser user)
|
|
{
|
|
return Dal.zsym(id,user);
|
|
}
|
|
public OperationResult tfsq(string id, ERPUser user)
|
|
{
|
|
return Dal.tfsq(id, user);
|
|
}
|
|
|
|
public int getZSCount(Models.DTO.ymzscxm cx)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getZSCount(cx);
|
|
}
|
|
|
|
public List<Models.DTO.YMZSJL> getZSList(int page, int pagesize, Models.DTO.ymzscxm cx)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getZSList(page, pagesize, cx);
|
|
}
|
|
}
|
|
}
|
|
|