...
|
...
|
@@ -265,8 +265,8 @@ public class AppraiseService { |
|
|
* @outTimeFlag 超时
|
|
|
* @return
|
|
|
*/
|
|
|
public ApiResponse miniFaultReject(Long orderCode,boolean outTimeFlag){
|
|
|
LOGGER.info("miniFaultReject enter , orderCode {} ,outTimeFlag {}", orderCode ,outTimeFlag);
|
|
|
public ApiResponse miniFaultReject(Long orderCode,OrderStatus targetStatus,boolean outTimeFlag){
|
|
|
LOGGER.info("miniFaultReject enter , orderCode {} ,targetStatus {},outTimeFlag {}", orderCode ,targetStatus ,outTimeFlag);
|
|
|
OrderStatus expectStatus = OrderStatus.PLATFORM_RECEIVE;
|
|
|
ApiResponse apiResponse=new ApiResponse();
|
|
|
BuyerOrder buyerOrder = buyerOrderMapper.selectOnlyByOrderCode(orderCode);
|
...
|
...
|
@@ -281,9 +281,8 @@ public class AppraiseService { |
|
|
buyerOrder.getStatus(), orderCode);
|
|
|
throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE);
|
|
|
}
|
|
|
// 更新买家订单状态 为鉴定不通过
|
|
|
// 更新买家订单状态
|
|
|
int buyerUid = buyerOrder.getUid();
|
|
|
OrderStatus targetStatus = OrderStatus.CHECKING_FAKE;
|
|
|
LOGGER.info("miniFaultReject update buyer order {} ", buyerOrder);
|
|
|
int rows = buyerOrderMapper.updateStatusByOrderCode(orderCode, buyerUid, expectStatus.getCode(), targetStatus.getCode(),
|
|
|
DateUtil.getCurrentTimeSecond());
|
...
|
...
|
|