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
af8abff8
Commit
af8abff8
authored
Aug 03, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实体修改
parent
7db88b63
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
4 deletions
+24
-4
RB_Finance_Config.cs
Edu.Model/Entity/Finance/RB_Finance_Config.cs
+1
-1
RB_Finance_Config_ViewModel.cs
Edu.Model/ViewModel/Finance/RB_Finance_Config_ViewModel.cs
+14
-0
EducationContractModule.cs
Edu.Module.Course/EducationContractModule.cs
+1
-0
StudentBillModule.cs
Edu.Module.Course/StudentBillModule.cs
+1
-0
RB_Finance_ConfigRepository.cs
Edu.Repository/Course/RB_Finance_ConfigRepository.cs
+2
-0
TeachingRewardsController.cs
Edu.WebApi/Controllers/Course/TeachingRewardsController.cs
+1
-0
WeChatPayController.cs
Edu.WebApi/Controllers/WeChatPay/WeChatPayController.cs
+3
-2
education.sln
education.sln
+1
-1
No files found.
Edu.Model/Entity/
Cours
e/RB_Finance_Config.cs
→
Edu.Model/Entity/
Financ
e/RB_Finance_Config.cs
View file @
af8abff8
...
@@ -3,7 +3,7 @@ using Edu.Common.Enum.Course;
...
@@ -3,7 +3,7 @@ using Edu.Common.Enum.Course;
using
System
;
using
System
;
using
VT.FW.DB
;
using
VT.FW.DB
;
namespace
Edu.Model.Entity.
Cours
e
namespace
Edu.Model.Entity.
Financ
e
{
{
/// <summary>
/// <summary>
/// 财务流程费用配置实体类
/// 财务流程费用配置实体类
...
...
Edu.Model/ViewModel/
Cours
e/RB_Finance_Config_ViewModel.cs
→
Edu.Model/ViewModel/
Financ
e/RB_Finance_Config_ViewModel.cs
View file @
af8abff8
using
System
;
using
Edu.Model.Entity.Finance
;
using
System
.Collections.Generic
;
using
System
;
namespace
Edu.Model.ViewModel.
Cours
e
namespace
Edu.Model.ViewModel.
Financ
e
{
{
/// <summary>
/// <summary>
/// 财务流程费用配置扩展类
/// 财务流程费用配置扩展类
/// </summary>
/// </summary>
[
Serializable
]
[
Serializable
]
public
class
RB_Finance_Config_ViewModel
:
Model
.
Entity
.
Course
.
RB_Finance_Config
public
class
RB_Finance_Config_ViewModel
:
RB_Finance_Config
{
{
}
}
...
...
Edu.Module.Course/EducationContractModule.cs
View file @
af8abff8
...
@@ -8,6 +8,7 @@ using Edu.Model.CacheModel;
...
@@ -8,6 +8,7 @@ using Edu.Model.CacheModel;
using
Edu.Model.Entity.Finance
;
using
Edu.Model.Entity.Finance
;
using
Edu.Model.ViewModel.Contract
;
using
Edu.Model.ViewModel.Contract
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Finance
;
using
Edu.Model.ViewModel.Grade
;
using
Edu.Model.ViewModel.Grade
;
using
Edu.Model.ViewModel.User
;
using
Edu.Model.ViewModel.User
;
using
Edu.Repository.Course
;
using
Edu.Repository.Course
;
...
...
Edu.Module.Course/StudentBillModule.cs
View file @
af8abff8
...
@@ -8,6 +8,7 @@ using Edu.Model.CacheModel;
...
@@ -8,6 +8,7 @@ using Edu.Model.CacheModel;
using
Edu.Model.Entity.BackClass
;
using
Edu.Model.Entity.BackClass
;
using
Edu.Model.Entity.Course
;
using
Edu.Model.Entity.Course
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Finance
;
using
Edu.Model.ViewModel.Grade
;
using
Edu.Model.ViewModel.Grade
;
using
Edu.Model.ViewModel.User
;
using
Edu.Model.ViewModel.User
;
using
Edu.Repository.Course
;
using
Edu.Repository.Course
;
...
...
Edu.Repository/Course/RB_Finance_ConfigRepository.cs
View file @
af8abff8
using
Edu.Common.Enum
;
using
Edu.Common.Enum
;
using
Edu.Model.Entity.Course
;
using
Edu.Model.Entity.Course
;
using
Edu.Model.Entity.Finance
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Finance
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq
;
using
System.Text
;
using
System.Text
;
...
...
Edu.WebApi/Controllers/Course/TeachingRewardsController.cs
View file @
af8abff8
...
@@ -6,6 +6,7 @@ using Edu.Common.API;
...
@@ -6,6 +6,7 @@ using Edu.Common.API;
using
Edu.Common.Enum.Course
;
using
Edu.Common.Enum.Course
;
using
Edu.Common.Plugin
;
using
Edu.Common.Plugin
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Course
;
using
Edu.Model.ViewModel.Finance
;
using
Edu.Model.ViewModel.Log
;
using
Edu.Model.ViewModel.Log
;
using
Edu.Module.Course
;
using
Edu.Module.Course
;
using
Edu.WebApi.Filter
;
using
Edu.WebApi.Filter
;
...
...
Edu.WebApi/Controllers/WeChatPay/WeChatPayController.cs
View file @
af8abff8
...
@@ -16,6 +16,7 @@ using Edu.Common.WeChatPayAPIv3.Model.Refunds;
...
@@ -16,6 +16,7 @@ using Edu.Common.WeChatPayAPIv3.Model.Refunds;
using
Edu.Common.WeChatPayAPIv3.Model.RefundsCallback
;
using
Edu.Common.WeChatPayAPIv3.Model.RefundsCallback
;
using
Edu.Common.WeChatPayAPIv3.Model.WxPayCallback
;
using
Edu.Common.WeChatPayAPIv3.Model.WxPayCallback
;
using
Edu.Model.Entity.Finance
;
using
Edu.Model.Entity.Finance
;
using
Edu.Model.ViewModel.Finance
;
using
Edu.Module.Course
;
using
Edu.Module.Course
;
using
Edu.Module.User
;
using
Edu.Module.User
;
using
Edu.WebApi.Filter
;
using
Edu.WebApi.Filter
;
...
@@ -159,10 +160,10 @@ namespace Edu.WebApi.Controllers.WeChatPay
...
@@ -159,10 +160,10 @@ namespace Edu.WebApi.Controllers.WeChatPay
LogHelper
.
WriteInfo
(
payModel
.
out_trade_no
+
"我要新增财务单据啦...."
+
System
.
DateTime
.
Now
);
LogHelper
.
WriteInfo
(
payModel
.
out_trade_no
+
"我要新增财务单据啦...."
+
System
.
DateTime
.
Now
);
var
orderModle
=
educationContractModule
.
GetEducationContractModule
(
contractId
);
var
orderModle
=
educationContractModule
.
GetEducationContractModule
(
contractId
);
var
orderModel
=
orderModule
.
GetClassOrderInfoModule
(
orderModle
.
OrderId
);
var
orderModel
=
orderModule
.
GetClassOrderInfoModule
(
orderModle
.
OrderId
);
var
financeConfig
=
educationContractModule
.
GetFinanceConfigList
(
new
Model
.
ViewModel
.
Course
.
RB_Finance_Config_ViewModel
{
Group_Id
=
orderModle
.
Group_Id
,
Type
=
Common
.
Enum
.
Course
.
FinanceConfigTypeEnum
.
Tuition
}).
FirstOrDefault
();
var
financeConfig
=
educationContractModule
.
GetFinanceConfigList
(
new
RB_Finance_Config_ViewModel
{
Group_Id
=
orderModle
.
Group_Id
,
Type
=
Common
.
Enum
.
Course
.
FinanceConfigTypeEnum
.
Tuition
}).
FirstOrDefault
();
if
(
financeConfig
==
null
)
if
(
financeConfig
==
null
)
{
{
financeConfig
=
new
Model
.
ViewModel
.
Course
.
RB_Finance_Config_ViewModel
();
financeConfig
=
new
RB_Finance_Config_ViewModel
();
}
}
var
userInfo
=
employeeModule
.
GetEmployeeListModule
(
new
Model
.
ViewModel
.
User
.
Employee_ViewModel
{
Id
=
orderModel
.
EnterID
,
Group_Id
=
orderModel
.
Group_Id
}).
ToList
().
FirstOrDefault
();
var
userInfo
=
employeeModule
.
GetEmployeeListModule
(
new
Model
.
ViewModel
.
User
.
Employee_ViewModel
{
Id
=
orderModel
.
EnterID
,
Group_Id
=
orderModel
.
Group_Id
}).
ToList
().
FirstOrDefault
();
var
OriginalFee
=
Math
.
Round
((
Convert
.
ToDecimal
(
Config
.
SettlementRate
)
/
100
)
*
(
Convert
.
ToDecimal
(
payModel
.
amount
.
payer_total
)
/
100
),
2
,
MidpointRounding
.
AwayFromZero
);
//手续费
var
OriginalFee
=
Math
.
Round
((
Convert
.
ToDecimal
(
Config
.
SettlementRate
)
/
100
)
*
(
Convert
.
ToDecimal
(
payModel
.
amount
.
payer_total
)
/
100
),
2
,
MidpointRounding
.
AwayFromZero
);
//手续费
...
...
education.sln
View file @
af8abff8
...
@@ -66,7 +66,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.Module.Advertising", "E
...
@@ -66,7 +66,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.Module.Advertising", "E
EndProject
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.Module.EduTask", "Edu.Module.EduTask\Edu.Module.EduTask.csproj", "{FEDB8D19-2C7E-4393-8D91-332256EC89CC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.Module.EduTask", "Edu.Module.EduTask\Edu.Module.EduTask.csproj", "{FEDB8D19-2C7E-4393-8D91-332256EC89CC}"
EndProject
EndProject
Project("{
FAE04EC0-301F-11D3-BF4B-00C04F79EFBC
}") = "Edu.Module.QYWeChat", "Edu.Module.QYWeChat\Edu.Module.QYWeChat.csproj", "{00E05F5A-A5B7-46ED-AE5F-9D54D67FA78F}"
Project("{
9A19103F-16F7-4668-BE54-9A1E7A4F7556
}") = "Edu.Module.QYWeChat", "Edu.Module.QYWeChat\Edu.Module.QYWeChat.csproj", "{00E05F5A-A5B7-46ED-AE5F-9D54D67FA78F}"
EndProject
EndProject
Global
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
GlobalSection(SolutionConfigurationPlatforms) = preSolution
...
...
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