刘光辉
4 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package jnpf.dmsController;
 
import cn.dev33.satoken.annotation.SaCheckLogin;
import jnpf.base.ActionResult;
import jnpf.dmsEntity.DmsJiluDengjiPeizhi;
import jnpf.dmsService.DmsJiluShuxingService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
@SaCheckLogin
@RequiredArgsConstructor
@RequestMapping("/biz/wenjian/shuxing")
public class DmsJiluShuxingController {
    private final DmsJiluShuxingService service;
 
    @GetMapping("/jilu")
    public ActionResult<DmsJiluDengjiPeizhi> record(
            @RequestParam("jilu_leixing") String type, @RequestParam("dengji") String grade) {
        return ActionResult.success(service.resolve(type, grade));
    }
}