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
fd4bdc92
Commit
fd4bdc92
authored
Jul 09, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时器调整
parent
abf2a80b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
7 deletions
+25
-7
QuarzHelper.cs
Edu.EducationCore/Helper/QuarzHelper.cs
+19
-2
Program.cs
Edu.EducationCore/Program.cs
+3
-3
appsettings.json
Edu.EducationCore/appsettings.json
+3
-2
No files found.
Edu.EducationCore/Helper/QuarzHelper.cs
View file @
fd4bdc92
...
...
@@ -307,8 +307,8 @@ namespace Edu.Education.Helper
financeModule
.
SetEduRevenueReport
(
100000
,
"2020-01-01"
,
false
);
Console
.
WriteLine
(
"结束执行营收报表...."
);
Console
.
WriteLine
(
"开始执行简易报表...."
);
financeModule
.
InsertBatchSimple
(
100000
,
2020
);
financeModule
.
InsertBatchSimple
(
100000
,
2021
);
financeModule
.
InsertBatchSimple
_V2
(
100000
,
2020
);
financeModule
.
InsertBatchSimple
_V2
(
100000
,
2021
);
Console
.
WriteLine
(
"结束执行简易报表...."
);
}
catch
(
Exception
ex
)
...
...
@@ -318,4 +318,21 @@ namespace Edu.Education.Helper
return
null
;
}
}
public
class
UpdageHistoryOrderCommissionHelper
{
/// <summary>
/// 更新历史订单提成比例
/// </summary>
/// <returns></returns>
public
bool
UpdageHistoryOrderCommission
()
{
return
new
ClassModule
().
UpdateHistoryClassNo
();
//查询出所有的订单
//return new OrderModule().UpdateClassOrderCommissionRate();
}
}
}
Edu.EducationCore/Program.cs
View file @
fd4bdc92
...
...
@@ -16,9 +16,9 @@ namespace Edu.EducationCore
};
ServiceBase
.
Run
(
ServicesToRun
);
//
new QuarzHelper().TeachingPerfTimer().GetAwaiter().GetResult(
);
//
Console.WriteLine("好了"
);
//
Console.WriteLine("来了"
);
//
new QuarzHelper().RevenueReportTimer().GetAwaiter().GetResult(
);
//Console.WriteLine("结束了");
//Console.ReadKey();
}
}
...
...
Edu.EducationCore/appsettings.json
View file @
fd4bdc92
{
"ConnectionStrings"
:
{
//
"DefaultConnection"
:
"server=192.168.20.214;user id=reborn;password=Reborn@2018;database=reborn_edu;CharSet=utf8mb4; Convert Zero Datetime=true; "
,
//
"DefaultConnection"
:
"server=192.168.20.214;user id=reborn;password=Reborn@2018;database=
uat_
reborn_edu;CharSet=utf8mb4; Convert Zero Datetime=true; "
,
//
"DefaultConnectionPName"
:
"MySql.Data.MySqlClient"
,
//
"FinanceConnection"
:
"server=192.168.20.214;user id=reborn;password=Reborn@2018;database=
test_
reborn_finance;CharSet=utf8mb4; Convert Zero Datetime=true; "
,
//
"FinanceConnection"
:
"server=192.168.20.214;user id=reborn;password=Reborn@2018;database=reborn_finance;CharSet=utf8mb4; Convert Zero Datetime=true; "
,
//
"FinanceConnectionPName"
:
"MySql.Data.MySqlClient"
,
//
"DataStatisticsConnection"
:
"server=192.168.20.214;user id=reborn;password=Reborn@2018;database=reborn_datastatistics;CharSet=utf8mb4; Convert Zero Datetime=true; "
,
//
"DataStatisticsConnectionPName"
:
"MySql.Data.MySqlClient"
...
...
@@ -34,6 +34,7 @@
"PaymentFinanceApi"
:
"http://192.168.1.13:8083/api/Mall/InsertFinanceBatchForMallOut"
,
"TeachingBonusTemplete"
:
141
,
"BonusCostTypeId"
:
540
,
"EduDateBase"
:
"uat_reborn_edu"
,
"RabbitMqConfig"
:
{
"HostName"
:
"47.96.25.130"
,
"VirtualHost"
:
"/"
,
...
...
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