|
@@ -4,15 +4,16 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
-import java.util.List;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import com.ym.mec.biz.dal.dto.MusicGroupPaymentCalenderAddStudentDto;
|
|
|
import com.ym.mec.biz.dal.page.MusicCalenderDetailQueryInfo;
|
|
|
import com.ym.mec.biz.service.MusicGroupPaymentCalenderDetailService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
@@ -59,10 +60,11 @@ public class MusicGroupPaymentCalenderDetailController extends BaseController {
|
|
|
@ApiOperation(value = "乐团缴费记录新增学员")
|
|
|
@PostMapping("/batchAdd")
|
|
|
@PreAuthorize("@pcs.hasPermissions('musicGroupPaymentCalenderDetail/batchAdd')")
|
|
|
- public Object batchAdd(Long musicGroupPaymentCalenderId,List<Integer> userIdList) {
|
|
|
- musicGroupPaymentCalenderDetailService.batchAdd(musicGroupPaymentCalenderId,userIdList);
|
|
|
- return succeed();
|
|
|
- }
|
|
|
+ public Object batchAdd(@RequestBody MusicGroupPaymentCalenderAddStudentDto musicGroupPaymentCalenderAddStudentDto) {
|
|
|
+ musicGroupPaymentCalenderDetailService.batchAdd(musicGroupPaymentCalenderAddStudentDto.getMusicGroupPaymentCalenderId(),
|
|
|
+ musicGroupPaymentCalenderAddStudentDto.getUserIdList());
|
|
|
+ return succeed();
|
|
|
+ }
|
|
|
|
|
|
@ApiOperation(value = "批量删除缴费信息")
|
|
|
@PostMapping("/batchDel")
|