Web/ReportMgr/BuildGarbageDailyReport.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
using System.Transactions;
using RhData;
using CityMgr;
using CityMgr.Base;
using CityMgr.Report;
namespace WebApp.ReportMgr
{
public partial class BuildGarbageDailyReport : 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");
LxCommon.CheckAuth("RPT008");
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxAjaxEntityHelpper));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxAjaxFunction));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxEasyUITableHelperr));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxEasyUITreeNode));
AjaxPro.Utility.RegisterTypeForAjax(typeof(BuildGarbageDailyReport));
AjaxPro.Utility.RegisterTypeForAjax(typeof(LxUserContext));
}
/// <summary>
/// 获取数据
/// </summary>
[AjaxPro.AjaxMethod]
public string GetData(string strDateCode, string strSbDeptCode)
{
string sql = "";
sql = "select BGRI.gId as gId,RI.cRptItemCode as RptItemCode,RI.cRptItemName as RptItemName,RI.cItemUnit as ItemUnit,BGRI.cWgName as cWgName,BGRI.cLjxName as cLjxName,BGRI.cName as cName,BGRI.cMainContent as cMainContent,"
+ " BGRI.gId as LocatePics,BGRI.gId as Handle "
+ " from BuildGarbageDailyReport BGDR inner join BuildGarbageReportItem BGRI on BGDR.cDateCode=BGRI.cDateCode and BGDR.cSbrDeptCode=BGRI.cSbrDeptCode "
+ " inner join ReportItem RI on BGRI.cRptItemCode=RI.cRptItemCode where BGDR.cDateCode='" + Sql.Format(strDateCode) + "' and BGDR.cSbrDeptCode='" + Sql.Format(strSbDeptCode) + "' order by RptItemCode";
using (DataTable data = Sql.ExecuteDataset(CommandType.Text, sql).Tables[0])
{
return LxEasyUITableHelperr.DataToJson(data);
}
}
/// <summary>
/// 广告执法情况日报表0上报
/// </summary>
/// <param name="AdDailyRpt">主报表对象</param>
[AjaxPro.AjaxMethod]
public void ZeroSubmit(LxBuildGarbageDailyReport AdDailyRpt)
{
LxUserContext Uct = Session["UserContext"] as LxUserContext;
if (Uct == null)
后面还有 55 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
