namespace ZHLDSV
{
internal partial class U9SVImpementStrategy : BaseStrategy
{
private string Q001Do(string datas)
{
string strRtnJson = string.Empty;
Q001 result = null;
try
{
result = JsonHelper.DeserializeJsonToObject<Q001>(datas);
if (result == null || result.Header == null || string.IsNullOrEmpty(result.Header.InfCode))
return GetFailedJson("1003", "业务数据解析失败");
if (result.Datas != null && result.Datas.Count > 0)
{
if (string.IsNullOrEmpty(result.Datas[0].UpdTime))
throw new ApplicationException("更新时间不能为空");
}
else
throw new ApplicationException("更新时间不能为空");
}
catch (Exception ee)
{
return GetFailedJson("1003", "业务数据解析失败:" + ee.Message);
}