Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
bltdc
data-center-auto
Commits
4bdf7892
Commit
4bdf7892
authored
Dec 22, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e39adab4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
daily.cs
AutoTurnOver.DB/daily.cs
+2
-2
DailyServices.cs
AutoTurnOver.Services/DailyServices.cs
+1
-1
No files found.
AutoTurnOver.DB/daily.cs
View file @
4bdf7892
...
...
@@ -669,7 +669,7 @@ where 1=1 ";
return
obj
.
AsList
();
}
public
static
List
<
dc_task_download
>
TaskDownloadList
(
string
user_name
,
string
task_name
,
int
offset
,
int
limit
,
ref
int
total
,
DateTime
?
start_date
,
DateTime
?
end_date
)
public
static
List
<
dc_task_download
_dto
>
TaskDownloadList
(
string
user_name
,
string
task_name
,
int
offset
,
int
limit
,
ref
int
total
,
DateTime
?
start_date
,
DateTime
?
end_date
)
{
var
sql
=
@"select t1.* from dc_task_download as t1
where 1=1 "
;
...
...
@@ -703,7 +703,7 @@ where 1=1 ";
sql
+=
" order by t1.id desc "
;
total
=
_connection
.
QueryFirst
<
int
>(
countSql
,
parameters
,
commandTimeout
:
0
);
sql
+=
" limit "
+
offset
+
","
+
limit
;
var
obj
=
_connection
.
Query
<
dc_task_download
>(
sql
,
parameters
,
buffered
:
false
,
commandTimeout
:
0
);
var
obj
=
_connection
.
Query
<
dc_task_download
_dto
>(
sql
,
parameters
,
buffered
:
false
,
commandTimeout
:
0
);
return
obj
.
AsList
();
}
...
...
AutoTurnOver.Services/DailyServices.cs
View file @
4bdf7892
...
...
@@ -54,7 +54,7 @@ namespace AutoTurnOver.Services
return
DB
.
daily
.
ShortagePushList
(
platform
,
bailun_sku
,
offset
,
limit
,
ref
total
,
start_date
,
end_date
,
warehousecode
,
warehousetype
,
warehousearea
);
}
public
List
<
dc_task_download
>
TaskDownloadList
(
string
user_name
,
string
task_name
,
int
offset
,
int
limit
,
ref
int
total
,
DateTime
?
start_date
,
DateTime
?
end_date
)
public
List
<
dc_task_download
_dto
>
TaskDownloadList
(
string
user_name
,
string
task_name
,
int
offset
,
int
limit
,
ref
int
total
,
DateTime
?
start_date
,
DateTime
?
end_date
)
{
return
DB
.
daily
.
TaskDownloadList
(
user_name
,
task_name
,
offset
,
limit
,
ref
total
,
start_date
,
end_date
);
}
...
...
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