|
|
@@ -1,5 +1,6 @@
|
|
|
package com.usoftchina.saas.transfers.task;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.usoftchina.saas.account.api.CompanyApi;
|
|
|
import com.usoftchina.saas.account.dto.CompanyDTO;
|
|
|
import com.usoftchina.saas.inquiry.po.purchase.PurchaseProdInOut;
|
|
|
@@ -63,7 +64,7 @@ public class SendPurchaseOutResTask extends Executable {
|
|
|
List<PurchaseProdInOut> data = new ArrayList<PurchaseProdInOut>();
|
|
|
data.add(b2bPurchaseProdInOut);
|
|
|
|
|
|
- boolean success = SendUtil.sendToB2B(url, JsonUtils.toJsonString(data), companyDTO.getAccessKey());
|
|
|
+ boolean success = SendUtil.sendToB2B(url, JSON.toJSONString(data), companyDTO.getAccessKey());
|
|
|
if (success) {
|
|
|
LOGGER.info("采购验退单(反过账)上传成功, id={}", messageInfo.getBizId());
|
|
|
prodInOutApi.updateB2BStatus(Long.parseLong(messageInfo.getBizId()), "已上传");
|