!356 修改字段名为驼峰格式,修改注释

Merge pull request !356 from zerolinck/dev
This commit is contained in:
lht 2023-04-13 10:40:05 +00:00 committed by Gitee
commit 0424676d4d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 7 deletions

View File

@ -46,7 +46,6 @@ public interface RemoteUserService {
/**
* 通过手机号码查询用户角色信息
* @param phone 手机号码
* @param from 调用标志
* @return R
*/
@GetMapping(value = "/app/info/{phone}", headers = SecurityConstants.HEADER_FROM_IN)
@ -55,7 +54,6 @@ public interface RemoteUserService {
/**
* 根据部门id查询对应的用户 id 集合
* @param deptIds 部门id 集合
* @param from 调用标志
* @return 用户 id 集合
*/
@GetMapping(value = "/user/ids", headers = SecurityConstants.HEADER_FROM_IN)

View File

@ -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)));
}