diff --git a/jeecg-boot-module/jeecg-module-service/src/main/java/org/jeecg/modules/service/controller/GroupRecordController.java b/jeecg-boot-module/jeecg-module-service/src/main/java/org/jeecg/modules/service/controller/GroupRecordController.java index 3d3ff9b..c85cc2b 100644 --- a/jeecg-boot-module/jeecg-module-service/src/main/java/org/jeecg/modules/service/controller/GroupRecordController.java +++ b/jeecg-boot-module/jeecg-module-service/src/main/java/org/jeecg/modules/service/controller/GroupRecordController.java @@ -19,6 +19,7 @@ import org.jeecg.modules.service.dto.SubmitReservationDTO; import org.jeecg.modules.service.entity.GroupRecord; import org.jeecg.modules.service.service.IGroupRecordService; +import org.jeecg.modules.service.vo.CardApplicationVO; import org.jeecg.modules.service.vo.GroupRecordVO; import org.jeecg.modules.service.vo.ReservationSuccessVO; import org.jeecg.modules.system.entity.CardApplicationCustomers; @@ -29,6 +30,7 @@ import java.util.Arrays; import java.util.Date; +import java.util.List; /** * @Description: 成团记录 @@ -82,6 +84,10 @@ return Result.OK(vo); } + /** + * 修改预约时间 + * @return + */ @RequestMapping(value = "/updateTime", method = RequestMethod.POST) public Result updateTime(@RequestBody ReservationTimeDTO dto){ if (StringUtils.isBlank(dto.getId())){ @@ -98,4 +104,18 @@ cardApplicationCustomersService.updateById(entry); return Result.OK("预约时间修改成功!"); } + + /** + * 获取成团预约列表 + * 办卡晒单 + * @return + */ + @RequestMapping(value = "/cardApplicationList", method = RequestMethod.GET) + public Result> cardApplicationList(@RequestParam("groupId") String groupId){ + if (StringUtils.isBlank(groupId)){ + return Result.error("团id不能为空"); + } + List list = groupRecordService.cardApplicationList(groupId); + return Result.OK(list); + } }