Authored by caoyan

订单管理

... ... @@ -237,7 +237,6 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
//调用前台接口
String args = "";
int resultCode = 200;
JSONObject jsonObject = new JSONObject();
if(req.getStatus().byteValue() == Constant.BUYER_ORDER_STATUS_TO_BE_RECEIVED.getByteVal()) {//鉴定通过
args = "orderAppraise.appraiseSuccess";
... ... @@ -250,7 +249,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
jsonObject = asyncCallConfirmReceive(args, buyerOrder.getOrderCode());
}
if(resultCode == 200) {
if(jsonObject.getIntValue("code") == 200) {
buyerOrderMapper.updateStatusById(req.getId(), req.getStatus());
}
... ...