Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
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
黄奎
Education
Commits
d621b90e
Commit
d621b90e
authored
Dec 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
88c3fb14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
RB_Customer_FinishtaskRepository.cs
Edu.Repository/Customer/RB_Customer_FinishtaskRepository.cs
+9
-3
No files found.
Edu.Repository/Customer/RB_Customer_FinishtaskRepository.cs
View file @
d621b90e
...
...
@@ -28,8 +28,8 @@ namespace Edu.Repository.Customer
builder
.
AppendFormat
(
@"
SELECT A.*,B.TaskKudo,B.TaskKudoImg,B.KudoDescription,C.CustomerName,D.TaskName
FROM RB_Customer_Finishtask AS A INNER JOIN rb_taskdetails AS B ON A.TaskId=B.TaskId AND A.DetailsId=B.DetailId
LEFT
JOIN rb_customer AS C ON A.CustomerId=C.CustomerId
LEFT
JOIN rb_task AS D ON A.TaskId=D.Id
INNER
JOIN rb_customer AS C ON A.CustomerId=C.CustomerId
INNER
JOIN rb_task AS D ON A.TaskId=D.Id
WHERE 1=1
"
);
builder
.
Append
(
" AND A.ExchangeStatus>0 "
);
...
...
@@ -62,7 +62,13 @@ WHERE 1=1
}
if
(
query
.
ExchangeStatus
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Finishtask_Extend
.
ExchangeStatus
),
query
.
ExchangeStatus
);
if
(
query
.
ExchangeStatus
<=
2
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Finishtask_Extend
.
ExchangeStatus
),
query
.
ExchangeStatus
);
}
else
{
builder
.
AppendFormat
(
" AND D.ExchangeEndTime>'{0}' "
,
Common
.
ConvertHelper
.
FormatDate
(
DateTime
.
Now
));
}
}
if
(!
string
.
IsNullOrEmpty
(
query
.
TaskName
))
{
...
...
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