|
@ -177,6 +177,7 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran |
|
|
/// <param name="changedNumber"></param>
|
|
|
/// <param name="changedNumber"></param>
|
|
|
/// <param name="data"></param>
|
|
|
/// <param name="data"></param>
|
|
|
/// <returns></returns>
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[HttpPost] |
|
|
public async Task In(VmiLogType logType, string changedNumber, VmiBalance data) |
|
|
public async Task In(VmiLogType logType, string changedNumber, VmiBalance data) |
|
|
{ |
|
|
{ |
|
|
var balance = this._balanceRepository.FirstOrDefault(o => o.BillType == data.BillType && |
|
|
var balance = this._balanceRepository.FirstOrDefault(o => o.BillType == data.BillType && |
|
@ -219,6 +220,7 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran |
|
|
/// <param name="changedNumber"></param>
|
|
|
/// <param name="changedNumber"></param>
|
|
|
/// <param name="data"></param>
|
|
|
/// <param name="data"></param>
|
|
|
/// <returns></returns>
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[HttpPost] |
|
|
public async Task Out(VmiLogType logType, string changedNumber, VmiLog data) |
|
|
public async Task Out(VmiLogType logType, string changedNumber, VmiLog data) |
|
|
{ |
|
|
{ |
|
|
var balance = this._balanceRepository.FirstOrDefault(o => o.BillType == data.BillType && |
|
|
var balance = this._balanceRepository.FirstOrDefault(o => o.BillType == data.BillType && |
|
|