智慧保安后台管理-外网-验收版本
tangzy
2021-12-06 cc057177b2fb17aee9a173a6adbabdc578fd74c7
src/main/java/org/springblade/modules/apply/controller/ExamPaymentController.java
@@ -4,6 +4,7 @@
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import org.springblade.common.utils.arg;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
@@ -70,7 +71,8 @@
    * @param examPayment 考试缴费信息对象
    */
   @PostMapping("/submit")
   public R submit(@RequestBody ExamPayment examPayment) {
   public R submit(@RequestBody ExamPayment examPayment) throws Exception {
      //arg.test01(arg.url+"/examPayment/submit",examPayment);
      return R.status(examPaymentService.saveOrUpdate(examPayment));
   }
@@ -81,6 +83,7 @@
    */
   @PostMapping("/remove")
   public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) {
      //arg.sendPostRemoveByIds(arg.url+"/examPayment/remove",ids);
      return R.status(examPaymentService.removeByIds(Func.toLongList(ids)));
   }