修复bug
This commit is contained in:
@@ -70,6 +70,7 @@ namespace WMS.Web.Api.Controllers
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
[HttpGet]
|
||||
[Route("Refresh")]
|
||||
public async Task<string> Refresh()
|
||||
@@ -125,8 +126,39 @@ namespace WMS.Web.Api.Controllers
|
||||
|
||||
|
||||
}
|
||||
private void GetList()
|
||||
{
|
||||
List<OpsBoxResponse> list = new List<OpsBoxResponse>();
|
||||
for (int i = 0; i < 200; i++)
|
||||
{
|
||||
OpsBoxResponse response = new OpsBoxResponse()
|
||||
{
|
||||
BoxBillNo = "Gys" + (500 + i).ToString(),
|
||||
OpsBoxId = 100 + i,
|
||||
CompleteCartonTime = DateTime.Now,
|
||||
CompleteCartonUser = "02",
|
||||
CreateTime = DateTime.Now,
|
||||
CreateUser = "01",
|
||||
OrgId = 0,
|
||||
SupplierId = 10897
|
||||
};
|
||||
list.Add(response);
|
||||
}
|
||||
}
|
||||
|
||||
private string GetStr()
|
||||
{
|
||||
var characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
var Charsarr = new char[11];
|
||||
var random = new Random();
|
||||
|
||||
for (int i = 0; i < Charsarr.Length; i++)
|
||||
{
|
||||
Charsarr[i] = characters[random.Next(characters.Length)];
|
||||
}
|
||||
|
||||
return new String(Charsarr);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 测试:同步
|
||||
|
||||
Reference in New Issue
Block a user