Skip to content

Commit

Permalink
'快递鸟报错兼容问题'
Browse files Browse the repository at this point in the history
  • Loading branch information
chopper711 committed Jan 3, 2023
1 parent 06325a7 commit fbabd2f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.google.gson.Gson;
import groovy.util.logging.Slf4j;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand Down Expand Up @@ -88,7 +88,7 @@ public class KdNiaoServiceImpl implements KdNiaoService {


@Override
@OrderLogPoint(description = "'订单['+#orderSn+']发货,发货单号['+#logisticsNo+'],已打印电子面单'", orderSn = "#orderSn")
@OrderLogPoint(description = "'订单['+#orderSn+']发货,打印电子面单'", orderSn = "#orderSn")
@Transactional(rollbackFor = Exception.class)
public String createElectronicsFaceSheet(String orderSn, String logisticsId) throws Exception {
//电子面单模板
Expand Down Expand Up @@ -198,6 +198,7 @@ public String createElectronicsFaceSheet(String orderSn, String logisticsId) thr
//根据公司业务处理返回的信息......
JSONObject obj = JSONObject.parseObject(result);

log.info("电子面单响应:{}",result);
if(!"100".equals(obj.getString("ResultCode"))){
return obj.getString("Reason");
}
Expand Down

0 comments on commit fbabd2f

Please sign in to comment.