|
|
@ -35,7 +35,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 获取待审核列表
|
|
|
|
/// 获取待付费的业务列表
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
@ -51,7 +51,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
/// <param name="application">申请单</param>
|
|
|
|
/// <param name="application">申请单</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost, Route("Save")]
|
|
|
|
[HttpPost, Route("Save")]
|
|
|
|
public async Task<DataResult> SaveAsync([FromBody] FeeApplication application)
|
|
|
|
public async Task<DataResult> SaveAsync([FromBody] FeeApplication application)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return await _service.SaveAsync(application);
|
|
|
|
return await _service.SaveAsync(application);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -62,7 +62,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
/// <param name="model">申请单ID</param>
|
|
|
|
/// <param name="model">申请单ID</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost, Route("Delete")]
|
|
|
|
[HttpPost, Route("Delete")]
|
|
|
|
public async Task<DataResult> DeleteAsync(IdModel model)
|
|
|
|
public async Task<DataResult> DeleteAsync([FromBody] IdModel model)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (model.Id == null || model.Ids.Length == 0)
|
|
|
|
if (model.Id == null || model.Ids.Length == 0)
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
@ -90,7 +90,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
/// <param name="model">申请单ID</param>
|
|
|
|
/// <param name="model">申请单ID</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost, Route("Withdraw")]
|
|
|
|
[HttpPost, Route("Withdraw")]
|
|
|
|
public async Task<DataResult> WithdrawAsync(IdModel model)
|
|
|
|
public async Task<DataResult> WithdrawAsync([FromBody] IdModel model)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (model.Ids == null || model.Ids.Length == 0)
|
|
|
|
if (model.Ids == null || model.Ids.Length == 0)
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
|