| | |
| | | using Newtonsoft.Json; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | //tracklog_content = JsonConvert.SerializeObject(entity), |
| | | tracklog_content = entity is string strEntity ? strEntity : JsonConvert.SerializeObject(entity),//妿entityæ¯å符串类åï¼åç´æ¥ä½¿ç¨ï¼å¦ååºåå为JSONå符串 |
| | | tracklog_createtime = DateTime.Now, |
| | | Creater = "system", |
| | | tracklog_type = content.Status ? "æå" : "失败", |
| | | tracklog_code = content.Status ? logCode : ("4" + logCode), |
| | | tracklog_des = description, |
| | | tracklog_des = JsonConvert.SerializeObject(content), |
| | | tracklog_message = content.Status ? "" : content.Message, |
| | | tracklog_operator = "system"/*UserContext.Current.UserName*/ |
| | | }; |
| | |
| | | } |
| | | return content1; |
| | | } |
| | | |
| | | |
| | | |
| | | public override PageGridData<Dt_trackloginfo> GetPageData(PageDataOptions options) |
| | | { |
| | | PageGridData<Dt_trackloginfo> car = null; |
| | | try |
| | | { |
| | | car = base.GetPageData(options); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | } |
| | | return car; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | |