27 lines
848 B
C#
27 lines
848 B
C#
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using WX.CRM.Common;
|
|
using WX.CRM.DAL.Res;
|
|
using WX.CRM.IBLL.Res;
|
|
using WX.CRM.Model.QueryMap;
|
|
|
|
namespace WX.CRM.BLL.Res
|
|
{
|
|
public class RES_ResRecycleRecord_BL : IRES_ResRecycleRecord
|
|
{
|
|
public List<ResRecycleNoticeModel> GetNotice(decimal type)
|
|
{
|
|
DataTable table = new RES_ResRecycleRecord_DAL().GetNotice(type);
|
|
if (table == null || table.Rows.Count == 0)
|
|
return new List<ResRecycleNoticeModel>();
|
|
List<ResRecycleNoticeModel> list = table.ToList<ResRecycleNoticeModel>();
|
|
return list;
|
|
}
|
|
public bool UpadteNoticeLookStatus(decimal userid, decimal type)
|
|
{
|
|
return new RES_ResRecycleRecord_DAL().UpadteNoticeLookStatus(userid, type);
|
|
}
|
|
}
|
|
}
|