Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡园园
yanxuan-qc-change-system
Commits
ee89ca76
Commit
ee89ca76
authored
Nov 30, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口冗余参数清理
parent
02fb504e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
AdminChangeConfigService.java
...n/change/biz/service/change/AdminChangeConfigService.java
+1
-2
AdminChangeConfigServiceImpl.java
...biz/service/impl/change/AdminChangeConfigServiceImpl.java
+2
-2
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+2
-4
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/change/AdminChangeConfigService.java
View file @
ee89ca76
...
@@ -20,10 +20,9 @@ public interface AdminChangeConfigService {
...
@@ -20,10 +20,9 @@ public interface AdminChangeConfigService {
/**
/**
* 查询更改配置详情
* 查询更改配置详情
* @param id 模板id
* @param id 模板id
* @param sonChangeClassId 二级更改类型id
* @return
* @return
*/
*/
AjaxResult
queryDetail
(
Long
id
,
Long
sonChangeClassId
);
AjaxResult
queryDetail
(
Long
id
);
/**
/**
* 新增更改类型配置模板
* 新增更改类型配置模板
...
...
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/change/AdminChangeConfigServiceImpl.java
View file @
ee89ca76
...
@@ -73,8 +73,8 @@ public class AdminChangeConfigServiceImpl implements AdminChangeConfigService {
...
@@ -73,8 +73,8 @@ public class AdminChangeConfigServiceImpl implements AdminChangeConfigService {
}
}
@Override
@Override
public
AjaxResult
queryDetail
(
Long
id
,
Long
sonChangeClassId
)
{
public
AjaxResult
queryDetail
(
Long
id
)
{
if
(
id
==
null
||
sonChangeClassId
==
null
){
if
(
id
==
null
){
return
AjaxResult
.
of
(
ResponseCodeEnum
.
PARAM_ERROR
);
return
AjaxResult
.
of
(
ResponseCodeEnum
.
PARAM_ERROR
);
}
}
//尝试从reids里面 获取 如果获取到了直接返回
//尝试从reids里面 获取 如果获取到了直接返回
...
...
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
ee89ca76
...
@@ -57,14 +57,12 @@ public class ChangeConfigController {
...
@@ -57,14 +57,12 @@ public class ChangeConfigController {
/**
/**
* 查询变更模板详情
* 查询变更模板详情
* @param id
* @param id
* @param sonChangeClassId
* @return
* @return
*/
*/
@GetMapping
(
"/detail"
)
@GetMapping
(
"/detail"
)
public
AjaxResult
queryDetail
(
public
AjaxResult
queryDetail
(
@RequestParam
(
name
=
"id"
)
Long
id
,
@RequestParam
(
name
=
"id"
)
Long
id
){
@RequestParam
(
name
=
"sonChangeClassId"
)
Long
sonChangeClassId
){
return
service
.
queryDetail
(
id
);
return
service
.
queryDetail
(
id
,
sonChangeClassId
);
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment