Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
刘栋
/
infynova-udi
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
61b75606
authored
May 17, 2024
by
刘栋
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
UDI-定时任务中设定创建人ID
parent
3837ed15
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletions
saas-udi-service/src/main/java/com/infynova/udi/controller/UdiHelperController.java
saas-udi-service/src/main/java/com/infynova/udi/mapper/MatchDataMapper.java
saas-udi-service/src/main/java/com/infynova/udi/mapper/TaskMapper.java
saas-udi-service/src/main/java/com/infynova/udi/controller/UdiHelperController.java
View file @
61b75606
...
@@ -18,6 +18,7 @@ import javax.annotation.Resource;
...
@@ -18,6 +18,7 @@ import javax.annotation.Resource;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Objects
;
@Slf4j
@Slf4j
@Api
(
tags
=
"对码平台-辅助"
,
hidden
=
true
)
@Api
(
tags
=
"对码平台-辅助"
,
hidden
=
true
)
...
@@ -38,9 +39,13 @@ public class UdiHelperController {
...
@@ -38,9 +39,13 @@ public class UdiHelperController {
@ApiOperationSupport
(
order
=
10000
)
@ApiOperationSupport
(
order
=
10000
)
@ApiOperation
(
value
=
"测试任务转换数据"
,
notes
=
"测试任务转换数据"
,
hidden
=
true
)
@ApiOperation
(
value
=
"测试任务转换数据"
,
notes
=
"测试任务转换数据"
,
hidden
=
true
)
@PostMapping
(
"testTranData"
)
@PostMapping
(
"testTranData"
)
public
ResponseData
<?>
testTranData
(
@RequestBody
@Valid
IdQry
idQry
)
{
public
ResponseData
<?>
testTranData
(
@RequestBody
IdQry
idQry
)
{
log
.
info
(
"testTranData:"
+
JSON
.
toJSONString
(
idQry
));
log
.
info
(
"testTranData:"
+
JSON
.
toJSONString
(
idQry
));
if
(
Objects
.
isNull
(
idQry
.
getId
())){
taskUploadHelper
.
tranTask
();
}
else
{
taskUploadHelper
.
tranUpload
(
idQry
.
getId
());
taskUploadHelper
.
tranUpload
(
idQry
.
getId
());
}
return
ResponseData
.
ok
();
return
ResponseData
.
ok
();
}
}
...
...
saas-udi-service/src/main/java/com/infynova/udi/mapper/MatchDataMapper.java
View file @
61b75606
package
com
.
infynova
.
udi
.
mapper
;
package
com
.
infynova
.
udi
.
mapper
;
import
com.baomidou.mybatisplus.annotation.InterceptorIgnore
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.infynova.udi.dto.UdiMatchDetailListQry
;
import
com.infynova.udi.dto.UdiMatchDetailListQry
;
...
@@ -23,6 +24,7 @@ public interface MatchDataMapper extends SuperMapper<MatchData> {
...
@@ -23,6 +24,7 @@ public interface MatchDataMapper extends SuperMapper<MatchData> {
Page
<
UdiMatchDataVo
>
queryMatchDataPage
(
IPage
page
,
@Param
(
"query"
)
UdiMatchDetailListQry
udiMatchDetailListQry
);
Page
<
UdiMatchDataVo
>
queryMatchDataPage
(
IPage
page
,
@Param
(
"query"
)
UdiMatchDetailListQry
udiMatchDetailListQry
);
@InterceptorIgnore
(
tenantLine
=
"true"
)
Set
<
Long
>
queryMatchWaitingTask
();
Set
<
Long
>
queryMatchWaitingTask
();
List
<
TaskMatchStatisticVo
>
queryTaskMatchStatistic
(
@Param
(
"taskIds"
)
Collection
<
Long
>
taskIds
,
@Param
(
"createBy"
)
Long
createBy
);
List
<
TaskMatchStatisticVo
>
queryTaskMatchStatistic
(
@Param
(
"taskIds"
)
Collection
<
Long
>
taskIds
,
@Param
(
"createBy"
)
Long
createBy
);
...
...
saas-udi-service/src/main/java/com/infynova/udi/mapper/TaskMapper.java
View file @
61b75606
package
com
.
infynova
.
udi
.
mapper
;
package
com
.
infynova
.
udi
.
mapper
;
import
com.baomidou.mybatisplus.annotation.InterceptorIgnore
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.infynova.udi.dto.UdiMatchTaskListQry
;
import
com.infynova.udi.dto.UdiMatchTaskListQry
;
...
@@ -21,5 +22,6 @@ public interface TaskMapper extends SuperMapper<Task> {
...
@@ -21,5 +22,6 @@ public interface TaskMapper extends SuperMapper<Task> {
Task
queryTaskNo
(
@Param
(
"taskNo"
)
String
taskNo
);
Task
queryTaskNo
(
@Param
(
"taskNo"
)
String
taskNo
);
@InterceptorIgnore
(
tenantLine
=
"true"
)
List
<
Task
>
getUploadingTask
();
List
<
Task
>
getUploadingTask
();
}
}
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