zouxuan 4 年之前
父節點
當前提交
4b5238357f

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/StudentGoodsSell.java

@@ -44,7 +44,7 @@ public class StudentGoodsSell {
 	private Boolean isUseBalancePayment = false;
 
 	@ApiModelProperty(value = "是否重复支付",required = true)
-	private boolean isRepeatPay = false;
+	private Boolean isRepeatPay = false;
 
 	@ApiModelProperty(value = "商品列表",required = true)
 	private List<GoodsSellDto> goodsSellDtos;

+ 1 - 1
mec-student/src/main/java/com/ym/mec/student/controller/RepairController.java

@@ -56,7 +56,7 @@ public class RepairController extends BaseController {
         }
         if (studentGoodsSell.getIsRepeatPay() == false) {
             List<StudentPaymentOrder> list = studentPaymentOrderService.queryByCondition(GroupType.GOODS_SELL, null, studentGoodsSell.getUserId(), DealStatusEnum.ING,
-                    OrderTypeEnum.RENEW);
+                    OrderTypeEnum.GOODS_SELL);
             if (list.size() > 0) {
                 return failed(HttpStatus.CONTINUE, "您有待支付的订单");
             }