mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 20:54:25 +08:00
修改字段名为驼峰格式
This commit is contained in:
parent
7f9806ef7b
commit
5caae30c86
@ -115,13 +115,13 @@ public class SysDeptController {
|
||||
|
||||
/**
|
||||
* 根据部门名查询部门信息
|
||||
* @param deptname 部门名
|
||||
* @return
|
||||
* @param deptName 部门名
|
||||
* @return SysDept
|
||||
*/
|
||||
@GetMapping("/details/{deptname}")
|
||||
public R<SysDept> user(@PathVariable String deptname) {
|
||||
@GetMapping("/details/{deptName}")
|
||||
public R<SysDept> user(@PathVariable String deptName) {
|
||||
SysDept condition = new SysDept();
|
||||
condition.setName(deptname);
|
||||
condition.setName(deptName);
|
||||
return R.ok(sysDeptService.getOne(new QueryWrapper<>(condition)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user