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
388efcf1
Commit
388efcf1
authored
Nov 14, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 提示文案查询
parent
241338bc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
97 additions
and
6 deletions
+97
-6
TitleConfig.java
...m/netease/mail/yanxuan/change/biz/config/TitleConfig.java
+2
-1
TitleFileConfig.java
...tease/mail/yanxuan/change/biz/config/TitleFileConfig.java
+1
-1
ChangeFlowService.java
...se/mail/yanxuan/change/biz/service/ChangeFlowService.java
+23
-0
ChangeConfigService.java
...anxuan/change/biz/service/change/ChangeConfigService.java
+2
-0
ChangeFlowServiceImpl.java
...anxuan/change/biz/service/impl/ChangeFlowServiceImpl.java
+31
-0
ChangeFlowController.java
...l/yanxuan/change/web/controller/ChangeFlowController.java
+8
-4
TitleVo.java
...etease/mail/yanxuan/change/web/meta/model/vo/TitleVo.java
+30
-0
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/TitleConfig.java
View file @
388efcf1
...
@@ -25,5 +25,5 @@ public class TitleConfig {
...
@@ -25,5 +25,5 @@ public class TitleConfig {
/**
/**
* 文件
* 文件
*/
*/
private
List
<
ChangeFileConfig
>
chang
eFileConfigList
;
private
List
<
TitleFileConfig
>
titl
eFileConfigList
;
}
}
\ No newline at end of file
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/
Chang
eFileConfig.java
→
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/config/
Titl
eFileConfig.java
View file @
388efcf1
...
@@ -13,7 +13,7 @@ import lombok.Data;
...
@@ -13,7 +13,7 @@ import lombok.Data;
* @Date 2022/11/14
* @Date 2022/11/14
*/
*/
@Data
@Data
public
class
Chang
eFileConfig
{
public
class
Titl
eFileConfig
{
/**
/**
* 文件链接
* 文件链接
...
...
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/ChangeFlowService.java
0 → 100644
View file @
388efcf1
/**
* @(#)ChangeFlowService.java, 2022/11/14.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
biz
.
service
;
import
com.netease.mail.yanxuan.change.biz.config.TitleConfig
;
/**
* @Author zcwang
* @Date 2022/11/14
*/
public
interface
ChangeFlowService
{
/**
* 获取提示文案
* @return
*/
TitleConfig
getTitleConfig
();
}
\ No newline at end of file
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/change/ChangeConfigService.java
View file @
388efcf1
...
@@ -16,4 +16,6 @@ public interface ChangeConfigService {
...
@@ -16,4 +16,6 @@ public interface ChangeConfigService {
ChangeConfig
addChangeConfig
(
ChangeConfig
changeConfig
);
ChangeConfig
addChangeConfig
(
ChangeConfig
changeConfig
);
Boolean
updateChangeConfig
(
ChangeConfig
changeConfig
);
Boolean
updateChangeConfig
(
ChangeConfig
changeConfig
);
}
}
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/ChangeFlowServiceImpl.java
0 → 100644
View file @
388efcf1
/**
* @(#)ChangeFlowServiceImpl.java, 2022/11/14.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
biz
.
service
.
impl
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.netease.mail.yanxuan.change.biz.config.AppConfig
;
import
com.netease.mail.yanxuan.change.biz.config.TitleConfig
;
import
com.netease.mail.yanxuan.change.biz.service.ChangeFlowService
;
/**
* @Author zcwang
* @Date 2022/11/14
*/
@Service
public
class
ChangeFlowServiceImpl
implements
ChangeFlowService
{
@Autowired
private
AppConfig
appConfig
;
@Override
public
TitleConfig
getTitleConfig
()
{
return
appConfig
.
getTitleConfig
();
}
}
\ No newline at end of file
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeFlowController.java
View file @
388efcf1
...
@@ -6,12 +6,15 @@
...
@@ -6,12 +6,15 @@
*/
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
web
.
controller
;
package
com
.
netease
.
mail
.
yanxuan
.
change
.
web
.
controller
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.netease.mail.yanxuan.change.biz.config.TitleConfig
;
import
com.netease.mail.yanxuan.change.biz.meta.AjaxResult
;
import
com.netease.mail.yanxuan.change.biz.meta.AjaxResult
;
import
com.netease.mail.yanxuan.change.biz.service.ChangeFlowService
;
/**
/**
* @Author zcwang
* @Author zcwang
...
@@ -21,6 +24,9 @@ import com.netease.mail.yanxuan.change.biz.meta.AjaxResult;
...
@@ -21,6 +24,9 @@ import com.netease.mail.yanxuan.change.biz.meta.AjaxResult;
@RequestMapping
(
"/change/flow"
)
@RequestMapping
(
"/change/flow"
)
public
class
ChangeFlowController
{
public
class
ChangeFlowController
{
@Autowired
private
ChangeFlowService
changeFlowService
;
/**
/**
* 变更工单详情查询
* 变更工单详情查询
* @return
* @return
...
@@ -37,7 +43,6 @@ public class ChangeFlowController {
...
@@ -37,7 +43,6 @@ public class ChangeFlowController {
*/
*/
@GetMapping
(
"/query"
)
@GetMapping
(
"/query"
)
public
AjaxResult
<
Void
>
query
()
{
public
AjaxResult
<
Void
>
query
()
{
return
AjaxResult
.
success
();
return
AjaxResult
.
success
();
}
}
...
@@ -46,9 +51,8 @@ public class ChangeFlowController {
...
@@ -46,9 +51,8 @@ public class ChangeFlowController {
* @return
* @return
*/
*/
@GetMapping
(
"/title"
)
@GetMapping
(
"/title"
)
public
AjaxResult
<
Void
>
title
()
{
public
AjaxResult
<
TitleConfig
>
title
()
{
return
AjaxResult
.
success
(
changeFlowService
.
getTitleConfig
());
return
AjaxResult
.
success
();
}
}
/**
/**
...
...
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/meta/model/vo/TitleVo.java
0 → 100644
View file @
388efcf1
/**
* @(#)TitleVo.java, 2022/11/14.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
web
.
meta
.
model
.
vo
;
import
com.netease.mail.yanxuan.change.biz.config.TitleFileConfig
;
import
lombok.Data
;
/**
* @Author zcwang
* @Date 2022/11/14
*/
@Data
public
class
TitleVo
{
/**
* 提示文案
*/
private
String
title
;
/**
*
*/
private
TitleFileConfig
titleFileConfig
;
}
\ No newline at end of file
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