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
e87922cc
Commit
e87922cc
authored
3 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e3f204b9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
110 deletions
+56
-110
RB_Consultant_Data_Extend.cs
...del/ViewModel/DataStatistics/RB_Consultant_Data_Extend.cs
+14
-0
MarketConsultantModule.cs
Edu.Module.Customer/MarketConsultantModule.cs
+30
-98
RB_Consultant_DataRepository.cs
...Repository/DataStatistics/RB_Consultant_DataRepository.cs
+12
-12
No files found.
Edu.Model/ViewModel/DataStatistics/RB_Consultant_Data_Extend.cs
View file @
e87922cc
...
...
@@ -10,5 +10,19 @@ namespace Edu.Model.ViewModel.DataStatistics
/// </summary>
public
class
RB_Consultant_Data_Extend
:
RB_Consultant_Data
{
/// <summary>
/// 开始时间
/// </summary>
public
string
StartTime
{
get
;
set
;
}
/// <summary>
/// 结束时间
/// </summary>
public
string
EndTime
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
string
QCreateByIds
{
get
;
set
;
}
}
}
This diff is collapsed.
Click to expand it.
Edu.Module.Customer/MarketConsultantModule.cs
View file @
e87922cc
This diff is collapsed.
Click to expand it.
Edu.Repository/DataStatistics/RB_Consultant_DataRepository.cs
View file @
e87922cc
...
...
@@ -35,22 +35,22 @@ WHERE 1=1
{
builder
.
AppendFormat
(
@" AND A.{0}={1} "
,
nameof
(
RB_Consultant_Data_Extend
.
CreateBy
),
query
.
CreateBy
);
}
//
if (!string.IsNullOrEmpty(query.QCreateByIds))
//
{
//
builder.AppendFormat(@" AND A.{0} IN({1}) ", nameof(RB_Market_Data_Extend.CreateBy), query.QCreateByIds);
//
}
if
(!
string
.
IsNullOrEmpty
(
query
.
QCreateByIds
))
{
builder
.
AppendFormat
(
@" AND A.{0} IN({1}) "
,
nameof
(
RB_Market_Data_Extend
.
CreateBy
),
query
.
QCreateByIds
);
}
if
(
query
.
DeptId
>
0
)
{
builder
.
AppendFormat
(
@" AND A.{0}={1} "
,
nameof
(
RB_Consultant_Data_Extend
.
DeptId
),
query
.
DeptId
);
}
//
if (!string.IsNullOrEmpty(query.StartTime))
//
{
//
builder.AppendFormat(" AND A.{0}>='{1}' ", nameof(RB_Consultant_Data_Extend.Date), query.StartTime);
//
}
//
if (!string.IsNullOrEmpty(query.EndTime))
//
{
//
builder.AppendFormat(" AND A.{0}<='{1} 23:59:59' ", nameof(RB_Market_Data_Extend.Date), query.EndTime);
//
}
if
(!
string
.
IsNullOrEmpty
(
query
.
StartTime
))
{
builder
.
AppendFormat
(
" AND A.{0}>='{1}' "
,
nameof
(
RB_Consultant_Data_Extend
.
Date
),
query
.
StartTime
);
}
if
(!
string
.
IsNullOrEmpty
(
query
.
EndTime
))
{
builder
.
AppendFormat
(
" AND A.{0}<='{1} 23:59:59' "
,
nameof
(
RB_Market_Data_Extend
.
Date
),
query
.
EndTime
);
}
}
return
Get
<
RB_Consultant_Data_Extend
>(
builder
.
ToString
()).
ToList
();
}
...
...
This diff is collapsed.
Click to expand it.
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