package thyyxxk.webserver.controller.ybkf; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; 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.RestController; import thyyxxk.webserver.entity.ResultVo; import thyyxxk.webserver.service.ybkf.YbUtilService; import java.util.List; import java.util.Map; /** * @ClassName YbUtilController * @Description 医保报表常用工具类 * @Author hsh * @Date 2022/8/9 16:19 **/ @RestController @RequestMapping("/ybUtil") public class YbUtilController { private final YbUtilService service; @Autowired public YbUtilController(YbUtilService service) { this.service = service; } @PostMapping("/selectSmallDept") public ResultVo>> selectSmallDept(@RequestBody @Validated Map map){ return service.selectSmallDept(map); } @PostMapping("/selectDoctor") public ResultVo>> selectDoctor(@RequestBody @Validated Map map){ return service.selectDoctor(map); } @PostMapping("/selectAllSmallDept") public ResultVo>> selectAllSmallDept(@RequestBody @Validated Map map){ return service.selectAllSmallDept(map); } @PostMapping("/selectAllDoctor") public ResultVo>> selectAllDoctor(@RequestBody @Validated Map map){ return service.selectAllDoctor(map); } }