zouxuan 4 år sedan
förälder
incheckning
ca761049d7

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentRepairServiceImpl.java

@@ -165,7 +165,7 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
         if (goodsSellDto.getIsUseBalancePayment() && amount.compareTo(BigDecimal.ZERO) > 0) {
             SysUserCashAccount userCashAccount = sysUserCashAccountService.getLocked(studentId);
             if (userCashAccount == null) {
-                throw new BizException("用户账户找不到");
+                throw new BizException("用户账户不存在");
             }
             if (userCashAccount.getBalance() != null && userCashAccount.getBalance().compareTo(BigDecimal.ZERO) > 0) {
                 balance = amount.compareTo(userCashAccount.getBalance()) >= 0 ? userCashAccount.getBalance() : amount;

+ 7 - 0
mec-web/src/main/java/com/ym/mec/web/controller/education/EduRepairController.java

@@ -18,6 +18,7 @@ import com.ym.mec.biz.service.SubjectService;
 import com.ym.mec.common.controller.BaseController;
 import com.ym.mec.common.entity.HttpResponseResult;
 import com.ym.mec.common.page.PageInfo;
+import com.ym.mec.common.page.QueryInfo;
 import com.ym.mec.util.date.DateUtil;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -158,4 +159,10 @@ public class EduRepairController extends BaseController {
         return succeed(goodsCategoryService.queryPage(queryInfo));
     }
 
+    @ApiOperation(value = "获取和教务相关的学员商品订单")
+    @GetMapping("/queryGoodsCategoryPage")
+    public Object queryGoodsOrders(QueryInfo queryInfo){
+        return succeed();
+    }
+
 }