using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
using HH.WCS.Mobox3.AnGang.Helpers;
|
using HH.WCS.Mobox3.AnGang.Models;
|
|
using static HH.WCS.Mobox3.AnGang.Dtos.Request.ErpRequest;
|
using static HH.WCS.Mobox3.AnGang.Dtos.Response.ErpResponse;
|
|
namespace HH.WCS.Mobox3.AnGang.Services {
|
public class ErpService {
|
public static ErpResult InboundDataSync(InboundDataSyncInfo model) {
|
var db = DbHelper.GetDbClient();
|
|
try {
|
|
}
|
catch (Exception ex) {
|
return BuildErpResult(1, ex.Message);
|
}
|
return BuildErpResult(0, null);
|
}
|
|
public static ErpResult OutboundDataSync(OutboundDataSyncInfo model) {
|
var db = DbHelper.GetDbClient();
|
|
try {
|
|
|
}
|
catch (Exception ex) {
|
return BuildErpResult(1, ex.Message);
|
}
|
return BuildErpResult(1, null);
|
}
|
}
|
}
|