修复拍单后到再次读单前,拍单时间显示错误问题。
This commit is contained in:
1 parent
8d9ed2f451
commit
5528d82d43
3 files changed
+309
-10
No files matched your search
@@ -62,6 +62,9 @@ namespace AllBase
|
||||
/// <returns>对象实体集合</returns>
|
||||
public static List<T> DeserializeJsonToList<T>(string json) where T : class
|
||||
{
|
||||
if (string.IsNullOrEmpty(json))
|
||||
return new List<T>();
|
||||
|
||||
JsonSerializer serializer = new JsonSerializer();
|
||||
StringReader sr = new StringReader(json);
|
||||
object o = serializer.Deserialize(new JsonTextReader(sr), typeof(List<T>));
|
||||
|
||||
Reference in new issue
Block a user