代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -145,11 +144,11 @@ namespace BLL
|
||||
/// <param name="DN"></param>
|
||||
/// <param name="sch"></param>
|
||||
/// <returns></returns>
|
||||
public static decimal? GetThicknessByDNDia(int DN,string sch)
|
||||
public static decimal? GetThicknessByDNDia(int DN, string sch)
|
||||
{
|
||||
decimal result = 0;
|
||||
var q = GetDNCompareByDN(DN);
|
||||
if (q!=null)
|
||||
if (q != null)
|
||||
{
|
||||
var diaProperty = q.GetType().GetProperty(sch);
|
||||
diaProperty = (diaProperty == null ? q.GetType().GetProperty(sch.Replace("Sch", "SCH")) : diaProperty);
|
||||
|
||||
Reference in New Issue
Block a user