40 lines
926 B
C#
40 lines
926 B
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 JobsStateMaintainBll
|
|||
|
|
{
|
|||
|
|
public JobsStateMaintainDal dal = new JobsStateMaintainDal();
|
|||
|
|
public List<JobsStateMaintainModel> GetAllList(string id,string status)
|
|||
|
|
{
|
|||
|
|
return dal.GetAllList(id, status);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Add(JobsStateMaintainModel model)
|
|||
|
|
{
|
|||
|
|
return dal.Add(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Update(JobsStateMaintainModel model)
|
|||
|
|
{
|
|||
|
|
return dal.Update(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据id删除岗位类型
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public object delJobState(string id)
|
|||
|
|
{
|
|||
|
|
return dal.del(id);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|