///// <summary> ///// 编辑签到 ///// </summary> ///// <param name="model"></param> ///// <returns></returns> //public JsonModel edit_sign_in(sign_in model) //{ // JsonModel jsonModel = new JsonModel(); // try // { // int result = DALBaseCommon.edit_sign_in(model); // jsonModel = new JsonModel() // { // errNum = 0, // errMsg = result == 0 ? "success" : "", // retData = result // }; // return jsonModel; // } // catch (Exception ex) // { // jsonModel = new JsonModel() // { // errNum = 400, // errMsg = ex.Message, // retData = "" // }; // return jsonModel; // } //} /// <summary> /// 新增跟进记录 /// </summary> /// <param name="model"></param> /// <returns></returns> public JsonModel add_follow_up(follow_up model, string picture) { JsonModel jsonModel = new JsonModel(); try { int result = DALBaseCommon.add_follow_up(model, picture); jsonModel = new JsonModel() { errNum = 0, errMsg = "success", retData = result }; return(jsonModel); } catch (Exception ex) { jsonModel = new JsonModel() { errNum = 400, errMsg = ex.Message, retData = "" }; return(jsonModel); } }