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
23952402
Commit
23952402
authored
Mar 04, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
bc78aeb2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1131 additions
and
2 deletions
+1131
-2
StudentStatModule.cs
Edu.Module.User/StudentStatModule.cs
+1098
-1
StudentStatController.cs
Edu.WebApi/Controllers/User/StudentStatController.cs
+33
-1
No files found.
Edu.Module.User/StudentStatModule.cs
View file @
23952402
This diff is collapsed.
Click to expand it.
Edu.WebApi/Controllers/User/StudentStatController.cs
View file @
23952402
...
...
@@ -1030,7 +1030,7 @@ namespace Edu.WebApi.Controllers.User
StartTime
=
Common
.
ConvertHelper
.
FormatDate
(
DateTime
.
Now
);
}
StartTime
=
"2021-12-21"
;
string
EndTime
=
Common
.
ConvertHelper
.
FormatDate
(
DateTime
.
Now
.
AddDays
(-
1
)
);
string
EndTime
=
Common
.
ConvertHelper
.
FormatDate
(
DateTime
.
Now
);
bool
flag
=
studentStatModule
.
CreateStudentMarketModule
(
userInfo
,
StartTime
,
EndTime
);
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
...
...
@@ -1084,6 +1084,38 @@ namespace Edu.WebApi.Controllers.User
var
list
=
studentStatModule
.
GetStudentMarketRateListMonthModule
(
query
);
return
ApiResult
.
Success
(
data
:
list
);
}
/// <summary>
/// 市场部客户数据年份统计
/// </summary>
/// <returns></returns>
[
HttpPost
]
public
ApiResult
GetStudentMarketYear
()
{
var
query
=
new
RB_Student_Market_Extend
()
{
YearStr
=
base
.
ParmJObj
.
GetInt
(
"YearStr"
),
};
query
.
Group_Id
=
base
.
UserInfo
.
Group_Id
;
var
list
=
studentStatModule
.
GetStudentMarketListYearModule
(
query
);
return
ApiResult
.
Success
(
data
:
list
);
}
/// <summary>
/// 市场部客户数据年份统计
/// </summary>
/// <returns></returns>
[
HttpPost
]
public
ApiResult
GetStudentMarketYearRate
()
{
var
query
=
new
RB_Student_Market_Extend
()
{
YearStr
=
base
.
ParmJObj
.
GetInt
(
"YearStr"
),
};
query
.
Group_Id
=
base
.
UserInfo
.
Group_Id
;
var
list
=
studentStatModule
.
GetStudentMarketListYearRateModule
(
query
);
return
ApiResult
.
Success
(
data
:
list
);
}
#
endregion
}
}
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