zoujiajian 1 년 전
부모
커밋
11fd80a557
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/mirrorshop/UserMirrorShopFrontController.java

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/mirrorshop/UserMirrorShopFrontController.java

@@ -91,7 +91,7 @@ public class UserMirrorShopFrontController {
 			throw BusinessRuntimeException.getInstance("订单不存在");
 		}
 		UserMirrorShopFeeOrderDon orderDonView = beanSearcher.searchFirst(UserMirrorShopFeeOrderDon.class, MapUtils.builder()
-				.put("orderId", String.format("where id = %s", orderId))
+				.field(UserMirrorShopFeeOrderDon::getId, orderId)
 				.build());
 		if (orderDonView == null) {
 			throw BusinessRuntimeException.getInstance("订单不存在");