/// <summary> /// 条件查询 /// </summary> /// <param name="PIDID"></param> /// <param name="DepotID"></param> /// <param name="PIDDate"></param> /// <param name="UsersName"></param> /// <param name="PIDState"></param> /// <param name="PageIndex"></param> /// <param name="PageSize"></param> /// <param name="count"></param> /// <returns></returns> public static List <PayOffs> Find(string POID, string DepotID, string PODate, string UsersName, int POState, int PageIndex, int PageSize, out int count) { return(PayOffsDAL.Find(POID, DepotID, PODate, UsersName, POState, PageIndex, PageSize, out count)); }
/// <summary> /// 审核报损单 /// </summary> /// <param name="id"></param> /// <returns></returns> public static int CKInDepot(string id, int userid) { return(PayOffsDAL.CKInDepot(id, userid)); }
/// <summary> /// 根据ID查询详单信息 /// </summary> /// <param name="id"></param> /// <returns></returns> internal static PayOffs GetByID(string id) { return(PayOffsDAL.GetByID(id)); }
/// <summary> /// 修改【---事务---】 /// </summary> /// <param name="dp"></param> /// <returns></returns> public static int EdiStocks(PayOffs dep, List <PayOffDetail> list) { return(PayOffsDAL.EdiStocks(dep, list)); }
/// <summary> /// 删除 /// </summary> /// <param name="id"></param> /// <returns></returns> public static int DelStocks(string id) { return(PayOffsDAL.DelStocks(id)); }
/// <summary> /// 查询所有 /// </summary> /// <returns></returns> public static List <PayOffs> GetAll() { return(PayOffsDAL.GetAll()); }