You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/java/com/glxp/api/controller/system/SysRemindSetController.java

32 lines
1.1 KiB
Java

package com.glxp.api.controller.system;
import com.github.pagehelper.PageInfo;
import com.glxp.api.annotation.AuthRuleAnnotation;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils;
import com.glxp.api.entity.system.SysRemindSetEntity;
import com.glxp.api.req.system.FilterSysRemindSetRequest;
import com.glxp.api.service.system.SysRemindSetService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
@RestController
public class SysRemindSetController {
@Resource
SysRemindSetService sysRemindSetService;
@AuthRuleAnnotation("")
@GetMapping("/system/remind/set/list")
public BaseResponse list(FilterSysRemindSetRequest filterSysRemindSetRequest) {
List<SysRemindSetEntity> sysRemindSetEntityList = sysRemindSetService.filterList(filterSysRemindSetRequest);
PageInfo<SysRemindSetEntity> pageInfo = new PageInfo<>(sysRemindSetEntityList);
return ResultVOUtils.page(pageInfo);
}
}