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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
4acfa4d9
Commit
4acfa4d9
authored
Dec 07, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 工单详情入参修改工单id
parent
e8076bd6
Pipeline
#43487
passed with stages
in 1 minute 23 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
ChangeFlowBiz.java
...om/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
+2
-2
ChangeRecordMapper.java
...se/mail/yanxuan/change/dal/mapper/ChangeRecordMapper.java
+1
-1
WebMvcConfig.java
.../netease/mail/yanxuan/change/web/config/WebMvcConfig.java
+1
-1
ChangeFlowController.java
...l/yanxuan/change/web/controller/ChangeFlowController.java
+2
-3
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
View file @
4acfa4d9
...
@@ -594,8 +594,8 @@ public class ChangeFlowBiz {
...
@@ -594,8 +594,8 @@ public class ChangeFlowBiz {
.
changeProfitDesc
(
changeRecord
.
getChangeProfitDesc
()).
files
(
changeFileList
).
build
();
.
changeProfitDesc
(
changeRecord
.
getChangeProfitDesc
()).
files
(
changeFileList
).
build
();
}
}
public
ChangeFlowVO
detail
(
Long
i
d
)
{
public
ChangeFlowVO
detail
(
Long
flowI
d
)
{
ChangeRecord
changeRecord
=
changeFlowService
.
getBy
Id
(
i
d
);
ChangeRecord
changeRecord
=
changeFlowService
.
getBy
FlowId
(
flowI
d
);
if
(
changeRecord
==
null
)
{
if
(
changeRecord
==
null
)
{
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
ERROR_FLOW_ID
,
"工单id不存在"
);
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
ERROR_FLOW_ID
,
"工单id不存在"
);
}
}
...
...
yanxuan-qc-change-system-dal/src/main/java/com/netease/mail/yanxuan/change/dal/mapper/ChangeRecordMapper.java
View file @
4acfa4d9
...
@@ -22,7 +22,7 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeFlowListQueryReq
...
@@ -22,7 +22,7 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeFlowListQueryReq
@Mapper
@Mapper
public
interface
ChangeRecordMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
ChangeRecord
>
{
public
interface
ChangeRecordMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
ChangeRecord
>
{
@Select
(
"select * from TB_YX_QC_CHANGE_RECORD where `flow_id` = #{flowId}"
)
@Select
(
"select * from TB_YX_QC_CHANGE_RECORD where `flow_id` = #{flowId}
limit 1
"
)
ChangeRecord
selectByFlowId
(
@Param
(
"flowId"
)
Long
flowId
);
ChangeRecord
selectByFlowId
(
@Param
(
"flowId"
)
Long
flowId
);
List
<
ChangeRecord
>
selectByCondition
(
ChangeFlowListQueryReq
changeFlowListQueryReq
);
List
<
ChangeRecord
>
selectByCondition
(
ChangeFlowListQueryReq
changeFlowListQueryReq
);
...
...
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/config/WebMvcConfig.java
View file @
4acfa4d9
...
@@ -18,7 +18,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
...
@@ -18,7 +18,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
@Autowired
@Autowired
private
AdminUserLoginInterceptor
adminUserLoginInterceptor
;
private
AdminUserLoginInterceptor
adminUserLoginInterceptor
;
/**
/**
`
* 拦截器配置
* 拦截器配置
*
*
* @param registry
* @param registry
...
...
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeFlowController.java
View file @
4acfa4d9
...
@@ -17,7 +17,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -17,7 +17,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.github.pagehelper.PageInfo
;
import
com.netease.mail.yanxuan.change.biz.biz.ChangeFlowBiz
;
import
com.netease.mail.yanxuan.change.biz.biz.ChangeFlowBiz
;
import
com.netease.mail.yanxuan.change.biz.config.TitleConfig
;
import
com.netease.mail.yanxuan.change.biz.config.TitleConfig
;
import
com.netease.mail.yanxuan.change.biz.service.ChangeFlowService
;
import
com.netease.mail.yanxuan.change.biz.service.ChangeFlowService
;
...
@@ -62,8 +61,8 @@ public class ChangeFlowController {
...
@@ -62,8 +61,8 @@ public class ChangeFlowController {
* @return
* @return
*/
*/
@GetMapping
(
"/detail"
)
@GetMapping
(
"/detail"
)
public
AjaxResult
<
ChangeFlowVO
>
detail
(
@RequestParam
Long
i
d
)
{
public
AjaxResult
<
ChangeFlowVO
>
detail
(
@RequestParam
Long
flowI
d
)
{
return
AjaxResult
.
success
(
changeFlowBiz
.
detail
(
i
d
));
return
AjaxResult
.
success
(
changeFlowBiz
.
detail
(
flowI
d
));
}
}
/**
/**
...
...
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