a
This commit is contained in:
@@ -30,8 +30,8 @@ namespace EastChanger.STK_Inventory
|
||||
|
||||
opResult = new OperationResult();
|
||||
var fidList = list.Select(x => x.PrimaryKeyValue).Distinct().ToList();
|
||||
STKInventoryService service = new STKInventoryService(this.Context);
|
||||
service.HandleSyncData(fidList, opResult);
|
||||
ISynchonService service = new STKInventoryService(this.Context);
|
||||
service.HandleSyncData(fidList, opResult, 0);
|
||||
|
||||
if (opResult.OperateResult.Any())
|
||||
this.View.ShowOperateResult(opResult.OperateResult);
|
||||
|
||||
@@ -18,9 +18,8 @@ namespace EastChanger.STK_Inventory
|
||||
/// </summary>
|
||||
public class STKInventoryService : BaseService, ISynchonService
|
||||
{
|
||||
public STKInventoryService(Context context) : base(context, "supvWarehouse.save", "即时库存明细")
|
||||
public STKInventoryService(Context context) : base(context, 1)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string ModuleCnName => _moduleCnName;
|
||||
@@ -30,7 +29,8 @@ namespace EastChanger.STK_Inventory
|
||||
/// </summary>
|
||||
/// <param name="idList"></param>
|
||||
/// <param name="opResult"></param>
|
||||
public void HandleSyncData(List<string> idList, IOperationResult opResult)
|
||||
/// <param name="action"></param>
|
||||
public void HandleSyncData(List<string> idList, IOperationResult opResult, int action)
|
||||
{
|
||||
var declInfos = GetDeclInfos();
|
||||
var headSql = @"
|
||||
|
||||
Reference in New Issue
Block a user