Authored by mali

无法鉴定接口空指针

@@ -115,7 +115,7 @@ @@ -115,7 +115,7 @@
115 115
116 <select id="selectAddress" resultMap="BaseResultMap"> 116 <select id="selectAddress" resultMap="BaseResultMap">
117 select <include refid="Base_Column_List" /> 117 select <include refid="Base_Column_List" />
118 - from appraise_order_meta where order_code = #{orderCode} and meta_key = 'back_delivery_address' limit 1 118 + from appraise_order_meta where order_code = #{orderCode} and meta_key = 'recall_address' limit 1
119 </select> 119 </select>
120 120
121 121
@@ -3392,6 +3392,9 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon @@ -3392,6 +3392,9 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon
3392 || appraiseOrder.getStatus().equals(Constant.BUYER_ORDER_STATUS_JUDGE_NOT_PASS.getByteVal()) 3392 || appraiseOrder.getStatus().equals(Constant.BUYER_ORDER_STATUS_JUDGE_NOT_PASS.getByteVal())
3393 || appraiseOrder.getStatus().equals(Constant.BUYER_ORDER_STATUS_APPRAISE_UNSURE.getByteVal())) { 3393 || appraiseOrder.getStatus().equals(Constant.BUYER_ORDER_STATUS_APPRAISE_UNSURE.getByteVal())) {
3394 AppraiseOrderMeta meta = appraiseOrderMetaMapper.selectAddress(appraiseOrder.getOrderCode()); 3394 AppraiseOrderMeta meta = appraiseOrderMetaMapper.selectAddress(appraiseOrder.getOrderCode());
  3395 + if(null == meta) {
  3396 + meta = appraiseOrderMetaMapper.selectByOrderCodeAndMetaKey(appraiseOrder.getOrderCode(), BUYER_ORDER_META_KEY_DELIVERY_ADDRESS);
  3397 + }
3395 JSONObject metaValue = JSONObject.parseObject(meta.getMetaValue()); 3398 JSONObject metaValue = JSONObject.parseObject(meta.getMetaValue());
3396 buildSfAddressInfo(metaValue, jsonObj, appraiseOrder.getUid()); 3399 buildSfAddressInfo(metaValue, jsonObj, appraiseOrder.getUid());
3397 jsonObj.put("receiverType", "buyer"); 3400 jsonObj.put("receiverType", "buyer");