修正万事诚接口Type类型为0的错误

This commit is contained in:
falcon 2019-04-02 15:40:05 +08:00
parent f9800d2678
commit 2c1ff5b7cd
2 changed files with 7 additions and 2 deletions

View File

@ -150,6 +150,11 @@ namespace Cmdjy.Controllers
var fir = qu.First();
result = new WsdPrescriptionInfo();
result.CopyFrom(fir);
result.Type =
fir.Type == Dal.Tables.PrescriptionType.Order ? WsdPrescriptionType.Order :
fir.Type == Dal.Tables.PrescriptionType.CancelOrder ? WsdPrescriptionType.CancelOrder :
fir.Type == Dal.Tables.PrescriptionType.TestOrder ? WsdPrescriptionType.TestOrder :
WsdPrescriptionType.NullOrder;
}
return result;
}

View File

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// 你可以指定所有值,也可以让修订版本和内部版本号采用默认值,
// 方法是按如下所示使用 "*":
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]