| | |
| | | import com.ruoyi.common.annotation.Log;
|
| | | import com.ruoyi.common.core.controller.BaseController;
|
| | | import com.ruoyi.common.core.domain.AjaxResult;
|
| | | import com.ruoyi.common.core.text.Convert;
|
| | | import com.ruoyi.common.enums.BusinessType;
|
| | | import com.ruoyi.common.utils.ServletUtils;
|
| | | import com.ruoyi.domain.MeetingStatistic;
|
| | | import com.ruoyi.service.MeetingStatisticService;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.web.bind.annotation.*;
|
| | |
|
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_NUM;
|
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE;
|
| | |
|
| | | @RestController
|
| | | @RequestMapping("/zMeetingStatistic")
|
| | | public class MeetingStatisticController extends BaseController {
|
| | | @Autowired
|
| | | private MeetingStatisticService meetingStatisticService;
|
| | |
|
| | | /**
|
| | | * 全部数据
|
| | | */
|
| | | @GetMapping("/all")
|
| | | public AjaxResult listAll(MeetingStatistic meetingStatistic){
|
| | | Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1);
|
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10);
|
| | | return meetingStatisticService.selectDataList(meetingStatistic, pageNum, pageSize);
|
| | | }
|
| | | /**
|
| | | * 只输出家庭号和创建时间
|
| | | */
|
| | | @GetMapping("/one")
|
| | | public AjaxResult listOne(MeetingStatistic meetingStatistic){
|
| | | return meetingStatisticService.DataList(meetingStatistic);
|
| | | }
|
| | | /**
|
| | | * 修改会议统计
|
| | | */
|
| | |
| | | return meetingStatisticService.updateData(meetingStatistic);
|
| | | }
|
| | |
|
| | |
|
| | | /**
|
| | | * 批量删除会议统计记录
|
| | | */
|