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
c4182a63
Commit
c4182a63
authored
Dec 08, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f0b8c295
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
OrderStateEnum.cs
Edu.Common/Enum/Course/OrderStateEnum.cs
+6
-1
CustomerRemitModule.cs
Edu.Module.Customer/CustomerRemitModule.cs
+12
-4
No files found.
Edu.Common/Enum/Course/OrderStateEnum.cs
View file @
c4182a63
...
@@ -24,6 +24,11 @@ namespace Edu.Common.Enum.Course
...
@@ -24,6 +24,11 @@ namespace Edu.Common.Enum.Course
/// 取消
/// 取消
/// </summary>
/// </summary>
[
EnumField
(
"取消"
)]
[
EnumField
(
"取消"
)]
Cancel
=
3
Cancel
=
3
,
/// <summary>
/// 待付款
/// </summary>
[
EnumField
(
"待付款"
)]
WaitPay
=
4
,
}
}
}
}
Edu.Module.Customer/CustomerRemitModule.cs
View file @
c4182a63
...
@@ -116,7 +116,8 @@ namespace Edu.Module.Customer
...
@@ -116,7 +116,8 @@ namespace Edu.Module.Customer
};
};
bool
flag
=
customer_RemitRepository
.
Update
(
keyValues
,
wheres
);
bool
flag
=
customer_RemitRepository
.
Update
(
keyValues
,
wheres
);
if
(
flag
)
{
if
(
flag
)
{
if
(
state
==
1
)
{
if
(
state
==
1
)
{
var
cmodel
=
customerRepository
.
GetEntity
(
rmodel
.
CustomerId
);
var
cmodel
=
customerRepository
.
GetEntity
(
rmodel
.
CustomerId
);
var
amodel
=
customer_AccountRepository
.
GetEntity
(
rmodel
.
BankAccountId
);
var
amodel
=
customer_AccountRepository
.
GetEntity
(
rmodel
.
BankAccountId
);
//同意需要制财务单据
//同意需要制财务单据
...
@@ -136,7 +137,8 @@ namespace Edu.Module.Customer
...
@@ -136,7 +137,8 @@ namespace Edu.Module.Customer
if
(
clientModel
==
null
)
if
(
clientModel
==
null
)
{
{
//新增付款对象
//新增付款对象
clientModel
=
new
Model
.
Entity
.
Finance
.
RB_ClientBankAccount
()
{
clientModel
=
new
Model
.
Entity
.
Finance
.
RB_ClientBankAccount
()
{
ID
=
0
,
ID
=
0
,
Status
=
Common
.
Enum
.
DateStateEnum
.
Normal
,
Status
=
Common
.
Enum
.
DateStateEnum
.
Normal
,
AccountAlias
=
amodel
.
BankName
,
AccountAlias
=
amodel
.
BankName
,
...
@@ -157,8 +159,9 @@ namespace Edu.Module.Customer
...
@@ -157,8 +159,9 @@ namespace Edu.Module.Customer
};
};
clientModel
.
ID
=
clientBankAccountRepository
.
Insert
(
clientModel
);
clientModel
.
ID
=
clientBankAccountRepository
.
Insert
(
clientModel
);
}
}
else
{
else
if
(
amodel
.
BankName
!=
clientModel
.
AccountAlias
||
amodel
.
BankCardNo
!=
clientModel
.
CardNum
{
if
(
amodel
.
BankName
!=
clientModel
.
AccountAlias
||
amodel
.
BankCardNo
!=
clientModel
.
CardNum
||
amodel
.
AccountHolder
!=
clientModel
.
AccountHolder
||
amodel
.
AccountBank
!=
clientModel
.
OpenBankName
)
||
amodel
.
AccountHolder
!=
clientModel
.
AccountHolder
||
amodel
.
AccountBank
!=
clientModel
.
OpenBankName
)
{
{
//修改付款对象
//修改付款对象
...
@@ -262,6 +265,11 @@ namespace Edu.Module.Customer
...
@@ -262,6 +265,11 @@ namespace Edu.Module.Customer
}
}
#
endregion
#
endregion
}
}
else
if
(
state
==
2
)
{
//驳回的话 需要修改已提现状态 不过要改成课耗返佣 暂不处理
}
}
}
return
flag
?
""
:
"出错了,请联系管理员"
;
return
flag
?
""
:
"出错了,请联系管理员"
;
}
}
...
...
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