代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -3,10 +3,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Model;
|
||||
using Newtonsoft.Json;
|
||||
using static BLL.Project_HJGLData_HJGLService;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -56,7 +52,7 @@ namespace BLL
|
||||
public static int count
|
||||
{
|
||||
get;
|
||||
set;
|
||||
set;
|
||||
}
|
||||
public static List<Model.Project_SYHSEData_SYHSE> GetProject_SYHSEData_SYHSEByModle(Model.Project_SYHSEData_SYHSE table)
|
||||
{
|
||||
@@ -66,7 +62,7 @@ namespace BLL
|
||||
(string.IsNullOrEmpty(table.ProjectId) || x.Id.Contains(table.ProjectId)) &&
|
||||
(string.IsNullOrEmpty(table.UnitId) || x.UnitId.Contains(table.UnitId)) &&
|
||||
(string.IsNullOrEmpty(table.CollCropCode) || x.CollCropCode.Contains(table.CollCropCode)) &&
|
||||
(string.IsNullOrEmpty(table.UnitName) || x.UnitName.Contains(table.UnitName))
|
||||
(string.IsNullOrEmpty(table.UnitName) || x.UnitName.Contains(table.UnitName))
|
||||
select x
|
||||
;
|
||||
|
||||
@@ -80,13 +76,13 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(Model.Project_SYHSEData_SYHSE table, Grid Grid1)
|
||||
{
|
||||
var q = GetProject_SYHSEData_SYHSEByModle(table);
|
||||
var q = GetProject_SYHSEData_SYHSEByModle(table);
|
||||
count = q.Count();
|
||||
if (count == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
//q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
//q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
return from x in q
|
||||
select new
|
||||
{
|
||||
@@ -301,7 +297,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
/// <param name="projectid"></param>
|
||||
/// <param name="sYHSESDateType"></param>
|
||||
public static void StatisticalData(string projectid,SYHSESDateType sYHSESDateType)
|
||||
public static void StatisticalData(string projectid, SYHSESDateType sYHSESDateType)
|
||||
{
|
||||
string thisUnitId = string.Empty;
|
||||
var thisUnit = CommonService.GetIsThisUnit();
|
||||
@@ -325,7 +321,7 @@ namespace BLL
|
||||
table.ProjectId = projectid;
|
||||
table.ReportDate = DateTime.Now.Date;
|
||||
|
||||
if (sYHSESDateType== SYHSESDateType.RiskControl || sYHSESDateType == SYHSESDateType.All)
|
||||
if (sYHSESDateType == SYHSESDateType.RiskControl || sYHSESDateType == SYHSESDateType.All)
|
||||
{
|
||||
table.GeneralRiskNum = GetGeneralRiskNum(projectid);
|
||||
table.LowRiskNum = GetLowRiskNum(projectid);
|
||||
|
||||
Reference in New Issue
Block a user