从山证v2.3.0拷贝
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using YLErp.Modules.TradeModule.QueryModule;
|
||||
|
||||
namespace YLErp.Modules.ApiModule
|
||||
{
|
||||
[TestClass]
|
||||
public class TestTradeCloseInfoQueryApiService : UnitTestBase
|
||||
{
|
||||
[TestMethod]
|
||||
public void Test()
|
||||
{
|
||||
var service = new TradeCloseInfoQueryApiService(OptUserInfo.SystemUser);
|
||||
var list = service.GetTradeCloseInfoList(new TradeModule.TradeCloseInfoRequestModel
|
||||
{
|
||||
ValueDate = BLL.valuedateBLL.ValueDate
|
||||
});
|
||||
Assert.IsTrue(list.Any());
|
||||
|
||||
list = service.GetTradeCloseInfoList(new TradeModule.TradeCloseInfoRequestModel
|
||||
{
|
||||
ClientNumber = "9999999",
|
||||
ValueDate = BLL.valuedateBLL.ValueDate
|
||||
});
|
||||
Assert.IsTrue(!list.Any());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user