| | |
| | | { |
| | | //已经全部完成 |
| | | o.BatchStatus= ret.TransferBatch.BatchStatus; |
| | | o.UpDataBy = "ExecuteAsync"; |
| | | o.UpDataBy = "查询任务WeChatJob"; |
| | | o.UpDataTime=DateTime.Now; |
| | | o.CloseReason = ret.TransferBatch.CloseReason; |
| | | o.FailAmount= ret.TransferBatch.FailAmount; |
| | |
| | | if(ret.TransferBatch.BatchStatus== "PROCESSING") |
| | | { |
| | | o.BatchStatus = ret.TransferBatch.BatchStatus; |
| | | o.UpDataBy = "ExecuteAsync"; |
| | | o.UpDataBy = "查询任务WeChatJob"; |
| | | o.UpDataTime = DateTime.Now; |
| | | o.CloseReason = ret.TransferBatch.CloseReason; |
| | | o.FailAmount = ret.TransferBatch.FailAmount; |
| | | o.FailNum = ret.TransferBatch.FailNumber; |
| | | o.SuccessNum = ret.TransferBatch.SuccessNumber; |
| | | o.SuccessAmount = ret.TransferBatch.SuccessAmount; |
| | | o.ErrorMsg = null; |
| | | o.ErrorCode = null; |
| | | } |
| | | } |
| | | else |
| | |
| | | //处理失败 |
| | | o.ErrorCode = ret.ErrorCode; |
| | | o.ErrorMsg = ret.ErrorMessage; |
| | | o.UpDataBy = "ExecuteAsync"; |
| | | o.UpDataBy = "查询任务WeChatJob"; |
| | | o.UpDataTime = DateTime.Now; |
| | | |
| | | |