52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class JmsqBll
|
|
{
|
|
public JmsqDal dal = new JmsqDal();
|
|
/// <summary>
|
|
/// 获取申请列表
|
|
/// </summary>
|
|
/// <param name="lx"></param>
|
|
/// <returns></returns>
|
|
public List<JmsqModel> GetJmsqList(string lx,string jmlx,string xm,string sqsjb,string sqsje)
|
|
{
|
|
return dal.GetJmsqList(lx,jmlx,xm,sqsjb,sqsje);
|
|
}
|
|
public List<JmsqModel> GetJmsqList2(string xm, string shrid)
|
|
{
|
|
return dal.GetJmsqList2(xm, shrid);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 减免申请修改状态
|
|
/// </summary>
|
|
/// <param name="jmsqid"></param>
|
|
/// <param name="lx"></param>
|
|
/// <returns></returns>
|
|
public Models.DTO.ymshjg UpdateJmsq(string jmsqid,string lx,ERPUser erpUser)
|
|
{
|
|
return dal.Updatelx(jmsqid, lx, erpUser);
|
|
}
|
|
|
|
public object delJMSQ(int id, ERPUser user)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return dal.delJMSQ(id,user);
|
|
}
|
|
|
|
public DataTable expJMJL(string lx, string jmlx, string xm, string sqsjb, string sqsje)
|
|
{
|
|
return dal.expJMJL(lx, jmlx, xm, sqsjb, sqsje);
|
|
}
|
|
}
|
|
}
|