package com.template.controller; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; import com.template.annotation.DESRespondSecret; import com.template.api.SmartVisitorParentsConfigControllerAPI; import com.template.mapper.SmartVisitorParentsConfigMapper; import com.template.model.pojo.SmartAskForLeaveConfig; import com.template.model.pojo.SmartDuties; import com.template.model.pojo.SmartUser; import com.template.model.pojo.SmartVisitorParentsConfig; import com.template.model.result.CommonResult; import com.template.model.result.PageUtils; import com.template.model.vo.SmartVisitorParentsConfigVo; import com.template.services.SmartDutiesService; import com.template.services.SmartUserService; import com.template.services.SmartVisitorParentsConfigService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; /** *
* 前端控制器 *
* * @author ceshi * @since 2024-05-29 */ @RestController @DESRespondSecret public class SmartVisitorParentsConfigController implements SmartVisitorParentsConfigControllerAPI { @Autowired SmartVisitorParentsConfigService smartVisitorParentsConfigService; @Autowired SmartUserService smartUserService; @Autowired SmartDutiesService smartDutiesService; @Override @DESRespondSecret(validated = true) public CommonResult getClassId(Integer page,Integer size, Integer classId) { PageUtils