| | |
| | | |
| | | import com.dsh.course.dto.ClassListDto; |
| | | import com.dsh.course.dto.updateTimeDto; |
| | | import com.dsh.course.entity.CoursePackageOrderStudent; |
| | | import com.dsh.course.feignClient.course.model.TCoursePackagePayment; |
| | | import com.dsh.course.model.MoneyBack; |
| | | import com.dsh.course.model.dto.InsertBackDto; |
| | | import com.dsh.course.model.dto.StudentClassInfo; |
| | | import com.dsh.guns.modular.system.model.CourseCounsum; |
| | | import com.dsh.guns.modular.system.model.CoursePackageOrder; |
| | | import com.dsh.guns.modular.system.model.dto.ConsumeQuery; |
| | | import com.dsh.guns.modular.system.model.dto.SelectDto; |
| | | import com.dsh.guns.modular.system.model.dto.ToClassDto; |
| | | import com.dsh.guns.modular.system.model.dto.ToHoliDto; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import io.swagger.models.auth.In; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.http.MediaType; |
| | | 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.RequestParam; |
| | |
| | | * @return |
| | | */ |
| | | @RequestMapping("/courdent/getSelect") |
| | | List<SelectDto> getSelect(@RequestParam("payId") Integer payId); |
| | | List<SelectDto> getSelect(@RequestParam("payId") Long payId); |
| | | /** |
| | | * 转移课程 |
| | | * @param toClassDto |
| | | * @return |
| | | */ |
| | | @RequestMapping("/courdent/toClass") |
| | | void toClass(@RequestBody ToClassDto toClassDto); |
| | | |
| | | |
| | | //获取常规假期课下拉框 |
| | | @RequestMapping("/courdent/holiSelect") |
| | | List<SelectDto> getGiftSelect(@RequestParam("courseId") Integer paymentId); |
| | | |
| | | @RequestMapping("/courdent/transSelect") |
| | | List<SelectDto> getTransSelect(@RequestParam("courseId") Integer paymentId); |
| | | |
| | | @RequestMapping(value = "/courdent/toHoli",produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = "application/json;charset=UTF-8") |
| | | String toHoli(@RequestBody ToHoliDto toHoliDto); |
| | | @RequestMapping(value = "/courdent/toTrans",produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = "application/json;charset=UTF-8") |
| | | String toTrans(@RequestBody ToHoliDto toHoliDto); |
| | | |
| | | |
| | | @RequestMapping("/courdent/queryByIds") |
| | | List<CoursePackageOrderStudent> queryByIds(@RequestParam("ids")String ids); |
| | | |
| | | |
| | | @RequestMapping("/courdent/queryCounsum") |
| | | List<CourseCounsum> queryCounsum( @RequestBody ConsumeQuery consumeQuery); |
| | | |
| | | |
| | | @RequestMapping("/courdent/getMoneyBack") |
| | | |
| | | List<MoneyBack> getMoneyBack(@RequestParam("tStudentId")Integer tStudentId); |
| | | |
| | | @PostMapping("/courdent/insertBack") |
| | | |
| | | Integer insertBack(@RequestBody InsertBackDto insertBackDto); |
| | | |
| | | @RequestMapping("/courdent/changeStatus") |
| | | void changeStatus(@RequestParam("id")Integer id); |
| | | |
| | | @RequestMapping("/courdent/noStatus") |
| | | void noStatus(@RequestParam("id")Integer id); |
| | | @RequestMapping("/courdent/cancel") |
| | | void cancel(@RequestParam("ids")String ids); |
| | | @RequestMapping("/courdent/zeroClass") |
| | | void zeroClass(@RequestParam("id")Integer id); |
| | | |
| | | @RequestMapping("/courdent/backStausClass") |
| | | void backStausClass(@RequestParam("id")Integer id); |
| | | @RequestMapping("/courdent/getOrder") |
| | | List<CoursePackageOrder> getOrder(@RequestParam("id")Long id); |
| | | } |