/// <summary> /// 退单反馈意见已读 /// </summary> /// <param name="zldbh"></param> /// <returns></returns> public static bool Update_CHARGEBACKRESULT(string zldbh) { return(InfoDal.Update_CHARGEBACKRESULT(zldbh)); }
/// <summary> /// 获取工单退单反馈信息 /// </summary> /// <returns></returns> public static IList <JhChargebackresult> Get_CHARGEBACKRESULT() { return(InfoDal.Get_CHARGEBACKRESULT()); }
/// <summary> /// 工单信息已读 /// </summary> /// <param name="zldbh"></param> /// <returns></returns> public static bool Update_WORKORDER(string zldbh, string zt) { return(InfoDal.Update_WORKORDER(zldbh, zt)); }
public static IList <Business> Get_BUSSINFO() { return(InfoDal.Get_BUSSINFO()); }
/// <summary> /// 获取工单同步信息 /// </summary> /// <returns></returns> public static IList <JhWorkorder> Get_WORKORDER() { return(InfoDal.Get_WORKORDER()); }
/// <summary> /// 更新或插入工单处置回复信息 /// </summary> /// <param name="feedback"></param> /// <returns></returns> public static bool Update_FEEDBACK(JhFeedback feedback) { return(InfoDal.Update_FEEDBACK(feedback)); }
/// <summary> /// 更新文件状态 /// file_status 0 未操作 /// 1 已操作 2 操作出错 /// </summary> /// <param name="path">路径</param> /// <param name="filetype">类型</param> /// <param name="fileStatus">状态</param> public static void UpdatefilePath(string path, int filetype, int fileStatus) { //InfoDal.UpdatefilePath(path, filetype, fileStatus); InfoDal.UpdatefilePathByLinq(path, filetype, fileStatus); }
/// <summary> /// 根据类型名查询单篇文章内容 /// </summary> /// <param name="typeName"></param> /// <returns></returns> public static List <Info> GetInfobyName(string typeName) { string sql = "select top 1 * from Info where TypeName='" + typeName + "'"; return(InfoDal.GetInfo(sql)); }
/// <summary> /// 更新或插入救护车的位置信息 /// </summary> /// <param name="ambulanceposition"></param> /// <returns></returns> public static bool Update_AMBULANCEPOSITION(JhAmbulanceposition ambulanceposition) { return(InfoDal.Update_AMBULANCEPOSITION(ambulanceposition)); }
/// <summary> /// 修改单篇文章内容 /// </summary> /// <param name="infoId"></param> /// <param name="details"></param> /// <returns></returns> public static int UpdateDetail(int infoId, string details) { return(InfoDal.UpdateDetail(infoId, details)); }
/// <summary> /// 查询单篇文章内容 /// </summary> /// <param name="infoId"></param> /// <returns></returns> public static List <Info> GetInfobyId(int infoId) { string sql = "select * from Info where InfoId=" + infoId; return(InfoDal.GetInfo(sql)); }
/// <summary> /// 将实体数据插入到errorpath /// </summary> /// <param name="errorpath"></param> public static void InserErrorFileByLinq(errorpath errorpath) { InfoDal.InserErrorFileByLinq(errorpath); }
/// <summary> /// 从数据库读入list /// type 1 目录 /// 2 文件 /// file_status 0 未操作 和操作失败的 /// 1 已经操作 /// 2 操作失败 /// 3 未操作和操作失败的 /// 其他 全部 /// </summary> /// <param name="type">读取类型</param> /// <param name="fileStatus">读取类型</param> /// <returns></returns> public static List <filepath> ReadPathByLinq(int type, int fileStatus) { return(InfoDal.ReadPathByLinq(type, fileStatus)); }
/// <summary> /// 从数据库读入list /// type 1 目录 /// 2 文件 /// file_status 0 未操作 和操作失败的 /// 1 已经操作 /// 2 操作失败 /// 其他 其他 /// </summary> /// <param name="type">读取类型</param> /// <param name="fileStatus">读取类型</param> /// <returns></returns> public static List <string> ReadPathByMySql(int type, int fileStatus) { return(InfoDal.ReadPathByMySql(type, fileStatus)); }
/// <summary> /// 更新或插入工单签收信息 /// </summary> /// <param name="signinfo"></param> /// <returns></returns> public static bool Update_SIGNINFO(JhSigninfo signinfo) { return(InfoDal.Update_SIGNINFO(signinfo)); }
/// <summary> /// 更新或插入救护车的出车信息 /// </summary> /// <param name="ambulancestatus"></param> /// <returns></returns> public static bool Update_AMBULANCESTATUS(JhAmbulancestatus ambulancestatus) { return(InfoDal.Update_AMBULANCESTATUS(ambulancestatus)); }
/// <summary> /// 更新或插入工单退单信息 /// </summary> /// <param name="chargeback"></param> /// <returns></returns> public static bool Update_CHARGEBACK(JhChargeback chargeback) { return(InfoDal.Update_CHARGEBACK(chargeback)); }
/// <summary> /// 获取当前数据库是否可以连接 /// </summary> /// <returns></returns> public static bool ConnectTest() { return(InfoDal.ConnectTest()); }
/// <summary> /// 更新或插入救护车的派车信息 /// </summary> /// <param name="ambulanceinfo"></param> /// <returns></returns> public static bool Update_AMBULANCEINFO(JhAmbulanceinfo ambulanceinfo) { return(InfoDal.Update_AMBULANCEINFO(ambulanceinfo)); }
/// <summary> /// 将实体数据插入到filepath /// </summary> /// <param name="filepath"></param> public static void InsertfilePathByLinq(filepath filepath) { InfoDal.InsertfilePathByLinq(filepath); }