修复bug
This commit is contained in:
@@ -175,11 +175,11 @@ namespace WMS.Web.Domain.Services
|
||||
{
|
||||
string formId = type.ToString();
|
||||
_logger.LogInformation($"开始同步金蝶 单号:{dto.BillNo} 数据: {JsonConvert.SerializeObject(dto)}");
|
||||
//var res_s = await _erpService.Save<ErpTakeStockSaveDto>(dto, formId);
|
||||
//if (!res_s.IsSuccess)
|
||||
// return (Result.ReFailure(res_s.Message, res_s.Status), SyncStatus.Fail);
|
||||
var res_s = await _erpService.Save<ErpTakeStockSaveDto>(dto, formId);
|
||||
if (!res_s.IsSuccess)
|
||||
return (Result.ReFailure(res_s.Message, res_s.Status), SyncStatus.Fail);
|
||||
//提交
|
||||
ErpOperateDto o_dto = new ErpOperateDto(formId,"257552");//res_s.Data
|
||||
ErpOperateDto o_dto = new ErpOperateDto(formId, res_s.Data);//res_s.Data
|
||||
var res = await _erpService.Submit(o_dto, formId);
|
||||
if (!res.IsSuccess)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user