public void UpdateReportInsert(string Acode, string AnswerJson, string Record, string AName, int Score, out string strjosn) { CrisisInterfere.projrem.PersonReport obj = new PersonReport(Acode, AnswerJson, Record, AName, Score); CrisisInterfere.PersonalReportService.R_ReportEntity entityInfos = new CrisisInterfere.PersonalReportService.R_ReportEntity(); strjosn = JsonConvert.SerializeObject(obj); entityInfos._reportjson = strjosn; //entityInfos._createuid = UID; ////entityInfo._answeradd_id = answerid; //entityInfos._answeid = answerid; entityInfos._r_createdate = DateTime.Now; long ss = -1; if (obj.UserINfos != null && obj.DimensionEntitys != null) { ss = MgrServices.PersonalReportService.R_ReportInsert(entityInfos); } else { throw new CustomException("更新出错", " UpdateReportInsert", "更新我数据导出"); } }
public long R_ReportInsert(CrisisInterfere.PersonalReportService.R_ReportEntity entityInfo) { return(base.Channel.R_ReportInsert(entityInfo)); }