主数据对接
This commit is contained in:
@@ -50,15 +50,38 @@ namespace Model
|
||||
public string msg { get; set; }
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// PMP接口查询条件
|
||||
///// </summary>
|
||||
//public partial class PMPSearchCondData
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 查询字段名字
|
||||
// /// </summary>
|
||||
// public string name { get; set; }
|
||||
// /// <summary>
|
||||
// /// 查询字段取值
|
||||
// /// </summary>
|
||||
// public string value { get; set; }
|
||||
|
||||
// /// <summary>
|
||||
// /// 查询类型;TextInput:模糊查询;SelectList:精确查询;TimeSelector:时间查询
|
||||
// /// </summary>
|
||||
// public string fieldType { get; set; }
|
||||
//}
|
||||
|
||||
///// <summary>
|
||||
///// 接口返回Data
|
||||
///// </summary>
|
||||
//public partial class ResponseData
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 权限信息
|
||||
// /// </summary>
|
||||
// [JsonProperty("userColumnPermissions")]
|
||||
// public string userColumnPermissions { get; set; }
|
||||
//}
|
||||
|
||||
public partial class ResponseData
|
||||
{
|
||||
/// <summary>
|
||||
/// 权限信息
|
||||
/// </summary>
|
||||
[JsonProperty("userColumnPermissions")]
|
||||
public string userColumnPermissions { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 项目
|
||||
/// </summary>
|
||||
@@ -203,6 +226,8 @@ namespace Model
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public partial class PMPResponseData
|
||||
{
|
||||
public static PMPResponseData FromJson(string json)
|
||||
@@ -211,17 +236,17 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
internal static class Converter
|
||||
{
|
||||
public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings
|
||||
{
|
||||
MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
|
||||
DateParseHandling = DateParseHandling.None,
|
||||
Converters =
|
||||
{
|
||||
new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }
|
||||
},
|
||||
};
|
||||
}
|
||||
//internal static class Converter
|
||||
//{
|
||||
// public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings
|
||||
// {
|
||||
// MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
|
||||
// DateParseHandling = DateParseHandling.None,
|
||||
// Converters =
|
||||
// {
|
||||
// new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }
|
||||
// },
|
||||
// };
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user