Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
383e13e9
Commit
383e13e9
authored
Jul 14, 2020
by
李景熙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改已完成任务中分片未显示bug
parent
48ba265c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Relation.py
DAPlatform/dao/Relation.py
+1
-1
Slice.py
DAPlatform/dao/Slice.py
+1
-1
No files found.
DAPlatform/dao/Relation.py
View file @
383e13e9
...
...
@@ -45,7 +45,7 @@ def create_relation(slice_id, user_id, data_id):
# 查找Relation中与用户id相关的分片列表,用于我的任务的列表显示
def
find_slice_by_executor
(
user_id
):
try
:
slice_list
=
Relation
.
select
(
Relation
.
slice_id
)
.
where
(
Relation
.
user_id
==
user_id
,
Relation
.
flag
==
0
)
slice_list
=
Relation
.
select
(
Relation
.
slice_id
)
.
where
(
Relation
.
user_id
==
user_id
)
except
:
return
False
else
:
...
...
DAPlatform/dao/Slice.py
View file @
383e13e9
...
...
@@ -106,7 +106,7 @@ def find_slice_by_task(task_id):
return
Result
(
1
,
"find success"
,
list
)
# 查找某任务下用户选择的分片(用于在分片列表中显示)
(进度有bug)
# 查找某任务下用户选择的分片(用于在分片列表中显示)
def
find_slice_by_task_user
(
task_id
,
user_id
):
try
:
slice_list
=
Relation
.
find_slice_by_executor
(
user_id
)
...
...
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