Web/ReportMgr/AdExecuteDailyReport_New.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CityMgr.Base;
using System.Data;
using RhData;
using System.Text;
using CityMgr.Report;
using System.Transactions;
namespace WebApp.ReportMgr
{
public partial class AdExecuteDailyReport_New : System.Web.UI.Page
{
protected LxUserContext m_uct = null;
protected void Page_Load(object sender, EventArgs e)
{
m_uct = Session["UserContext"] as LxUserContext;
if (m_uct == null)
Response.Redirect("../Login.aspx");
AjaxPro.Utility.RegisterTypeForAjax(typeof(AdExecuteDailyReport_New));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxAjaxEntityHelpper));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxAjaxFunction));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxEasyUITreeNode));
}
/// <summary>
/// 增加广告执法主要内容
/// </summary>
/// <param name="AdDailyReport">主表对象</param>
/// <param name="AdRptItem">子表对象</param>
[AjaxPro.AjaxMethod]
public void AddAdReport(LxAdExecuteDailyReport AdDailyReport, LxAdExecuteReportItem AdRptItem)
{
LxUserContext uct = Session["UserContext"] as LxUserContext;
if (uct == null)
Response.Redirect("../Login.aspx");
using (TransactionScope ts = new TransactionScope())
{
AdDailyReport.SbPerson = uct.User;
AdDailyReport.SbTime = DateTime.Now;
AdDailyReport.ReportCode = LxAjaxFunction.GetMaxCityCode();
AdDailyReport.AddData();
if (AdRptItem.WgCode != null)
{
LxStreetScene SS = LxStreetScene.GetData(AdRptItem.WgCode.ID);
AdRptItem.WgName = SS.Name;
}
if (AdRptItem.LjxCode != null)
{
LxStreetScene Ljx = LxStreetScene.GetData(AdRptItem.LjxCode.ID);
AdRptItem.LjxName = Ljx.Name;
}
AdRptItem.AddData();
后面还有 16 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
