示例#1
0
 /// <summary>
 /// 退单反馈意见已读
 /// </summary>
 /// <param name="zldbh"></param>
 /// <returns></returns>
 public static bool Update_CHARGEBACKRESULT(string zldbh)
 {
     return(InfoDal.Update_CHARGEBACKRESULT(zldbh));
 }
示例#2
0
 /// <summary>
 /// 获取工单退单反馈信息
 /// </summary>
 /// <returns></returns>
 public static IList <JhChargebackresult> Get_CHARGEBACKRESULT()
 {
     return(InfoDal.Get_CHARGEBACKRESULT());
 }
示例#3
0
 /// <summary>
 /// 工单信息已读
 /// </summary>
 /// <param name="zldbh"></param>
 /// <returns></returns>
 public static bool Update_WORKORDER(string zldbh, string zt)
 {
     return(InfoDal.Update_WORKORDER(zldbh, zt));
 }
示例#4
0
 public static IList <Business> Get_BUSSINFO()
 {
     return(InfoDal.Get_BUSSINFO());
 }
示例#5
0
 /// <summary>
 /// 获取工单同步信息
 /// </summary>
 /// <returns></returns>
 public static IList <JhWorkorder> Get_WORKORDER()
 {
     return(InfoDal.Get_WORKORDER());
 }
示例#6
0
 /// <summary>
 /// 更新或插入工单处置回复信息
 /// </summary>
 /// <param name="feedback"></param>
 /// <returns></returns>
 public static bool Update_FEEDBACK(JhFeedback feedback)
 {
     return(InfoDal.Update_FEEDBACK(feedback));
 }
示例#7
0
        /// <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);
        }
示例#8
0
        /// <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));
        }
示例#9
0
 /// <summary>
 /// 更新或插入救护车的位置信息
 /// </summary>
 /// <param name="ambulanceposition"></param>
 /// <returns></returns>
 public static bool Update_AMBULANCEPOSITION(JhAmbulanceposition ambulanceposition)
 {
     return(InfoDal.Update_AMBULANCEPOSITION(ambulanceposition));
 }
示例#10
0
 /// <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));
 }
示例#11
0
        /// <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));
        }
示例#12
0
 /// <summary>
 /// 将实体数据插入到errorpath
 /// </summary>
 /// <param name="errorpath"></param>
 public static void InserErrorFileByLinq(errorpath errorpath)
 {
     InfoDal.InserErrorFileByLinq(errorpath);
 }
示例#13
0
 /// <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));
 }
示例#14
0
 /// <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));
 }
示例#15
0
 /// <summary>
 /// 更新或插入工单签收信息
 /// </summary>
 /// <param name="signinfo"></param>
 /// <returns></returns>
 public static bool Update_SIGNINFO(JhSigninfo signinfo)
 {
     return(InfoDal.Update_SIGNINFO(signinfo));
 }
示例#16
0
 /// <summary>
 /// 更新或插入救护车的出车信息
 /// </summary>
 /// <param name="ambulancestatus"></param>
 /// <returns></returns>
 public static bool Update_AMBULANCESTATUS(JhAmbulancestatus ambulancestatus)
 {
     return(InfoDal.Update_AMBULANCESTATUS(ambulancestatus));
 }
示例#17
0
 /// <summary>
 /// 更新或插入工单退单信息
 /// </summary>
 /// <param name="chargeback"></param>
 /// <returns></returns>
 public static bool Update_CHARGEBACK(JhChargeback chargeback)
 {
     return(InfoDal.Update_CHARGEBACK(chargeback));
 }
示例#18
0
 /// <summary>
 /// 获取当前数据库是否可以连接
 /// </summary>
 /// <returns></returns>
 public static bool ConnectTest()
 {
     return(InfoDal.ConnectTest());
 }
示例#19
0
 /// <summary>
 /// 更新或插入救护车的派车信息
 /// </summary>
 /// <param name="ambulanceinfo"></param>
 /// <returns></returns>
 public static bool Update_AMBULANCEINFO(JhAmbulanceinfo ambulanceinfo)
 {
     return(InfoDal.Update_AMBULANCEINFO(ambulanceinfo));
 }
示例#20
0
 /// <summary>
 /// 将实体数据插入到filepath
 /// </summary>
 /// <param name="filepath"></param>
 public static void InsertfilePathByLinq(filepath filepath)
 {
     InfoDal.InsertfilePathByLinq(filepath);
 }