1、新增预任务生成帮助类

2、齐套配送接口参数调整
This commit is contained in:
yang.lee
2023-11-23 14:13:03 +08:00
parent 242ec34a9a
commit 71c4dbd254
8 changed files with 217 additions and 37 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.Common.Utils
{
public static class ObjectPropertyChecker
{
public static bool HasProperty<T>(T obj, string propertyName)
{
Type type = typeof(T);
var propertyInfo = type.GetProperty(propertyName);
return propertyInfo != null;
}
}
}