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
bb7d4fce
Commit
bb7d4fce
authored
Dec 09, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature-changeFlow-221110' into feature-changeFlow-221110
parents
83fbe48a
52f2f9ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
DESExportService.java
...ase/mail/yanxuan/change/biz/service/DESExportService.java
+6
-1
ChangeFlowController.java
...l/yanxuan/change/web/controller/ChangeFlowController.java
+5
-6
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/DESExportService.java
View file @
bb7d4fce
...
...
@@ -6,6 +6,7 @@
*/
package
com
.
netease
.
mail
.
yanxuan
.
change
.
biz
.
service
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
...
...
@@ -23,6 +24,7 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeFlowRequest;
* @Date 2022/12/8
*/
@Component
@Slf4j
public
class
DESExportService
{
@Autowired
...
...
@@ -43,6 +45,8 @@ public class DESExportService {
callbackQueryParam
.
setCallbackBeanName
(
"changeFlowExportCallback"
);
callbackQueryParam
.
setLimit
(
appConfig
.
getExportLimit
());
taskReq
.
setCallbackQueryParam
(
callbackQueryParam
);
return
desClient
.
addTask
(
taskReq
);
String
desResult
=
desClient
.
addTask
(
taskReq
);
log
.
info
(
"create task result: {}"
,
desResult
);
return
desResult
;
}
}
\ 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 @
bb7d4fce
...
...
@@ -181,7 +181,7 @@ public class ChangeFlowController {
* @return
*/
@GetMapping
(
"/export"
)
public
AjaxResult
<
Void
>
export
(
@RequestParam
(
name
=
"itemId"
,
required
=
false
)
String
itemId
,
public
AjaxResult
<
String
>
export
(
@RequestParam
(
name
=
"itemId"
,
required
=
false
)
String
itemId
,
@RequestParam
(
name
=
"supplier"
,
required
=
false
)
String
supplier
,
@RequestParam
(
name
=
"parentChangeClassId"
,
required
=
false
)
Long
parentChangeClassId
,
@RequestParam
(
name
=
"sonChangeClassId"
,
required
=
false
)
Long
sonChangeClassId
,
...
...
@@ -212,14 +212,13 @@ public class ChangeFlowController {
if
(
CreateSourceEnum
.
TONG_ZHOU
.
getType
().
equals
(
createSource
))
{
Assert
.
isTrue
(
Strings
.
isNotBlank
(
supplier
),
"同舟端查询供应商id不可为空"
);
}
this
.
exportAddressBook
(
changeFlowRequest
);
return
AjaxResult
.
success
();
String
s
=
this
.
exportAddressBook
(
changeFlowRequest
);
return
AjaxResult
.
success
(
s
);
}
public
AjaxResult
exportAddressBook
(
ChangeFlowRequest
req
)
{
public
String
exportAddressBook
(
ChangeFlowRequest
req
)
{
req
.
setUid
(
RequestLocalBean
.
getUid
());
String
data
=
desExportService
.
changeFlowExport
(
req
);
return
AjaxResult
.
success
(
data
);
return
desExportService
.
changeFlowExport
(
req
);
}
/**
...
...
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