|
|
@@ -42,7 +42,7 @@ namespace DataVAPI.Controllers |
|
|
|
{ |
|
|
|
FullScreenInput fullScreen = new FullScreenInput(); |
|
|
|
if (OrgId.HasValue) fullScreen.OrgId = OrgId; |
|
|
|
if (DeviceId.HasValue) fullScreen.DeviceId = DeviceId; |
|
|
|
if (DeviceId.HasValue) fullScreen.DeviceId = DeviceId; |
|
|
|
object retdata = orderProvider.GetAllOrderDataState(fullScreen); |
|
|
|
return JsonMsg<object>.OK(retdata, st); |
|
|
|
} |
|
|
@@ -129,14 +129,14 @@ namespace DataVAPI.Controllers |
|
|
|
/// <summary> |
|
|
|
/// 下单数量 |
|
|
|
/// </summary> |
|
|
|
[HttpPost] |
|
|
|
[HttpGet] |
|
|
|
public JsonMsg<object> OrderNumber(int? OrgId, int? DeviceId) |
|
|
|
{ |
|
|
|
st = System.Reflection.MethodBase.GetCurrentMethod().Name; |
|
|
|
try |
|
|
|
{ |
|
|
|
FullScreenBasic fullScreen = new FullScreenBasic(); |
|
|
|
if(OrgId.HasValue) fullScreen.OrgId = OrgId; |
|
|
|
if (OrgId.HasValue) fullScreen.OrgId = OrgId; |
|
|
|
if (DeviceId.HasValue) fullScreen.DeviceId = DeviceId; |
|
|
|
object retdata = orderProvider.OrderNumber(fullScreen); |
|
|
|
return JsonMsg<object>.OK(retdata, st); |
|
|
|