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
0f931b87
Commit
0f931b87
authored
Aug 31, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
86fd01de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
OrderModule.cs
Edu.Module.Course/OrderModule.cs
+1
-1
OrderModule2.cs
Edu.Module.Course/OrderModule2.cs
+3
-2
No files found.
Edu.Module.Course/OrderModule.cs
View file @
0f931b87
...
...
@@ -2774,7 +2774,7 @@ namespace Edu.Module.Course
{
var
gmodel
=
order_GuestRepository
.
GetEntity
(
guestId
);
if
(
gmodel
==
null
)
{
return
false
;
}
var
cmodel
=
education_ContractRepository
.
GetList
(
new
RB_Education_Contract_ViewModel
()
{
Group_Id
=
gmodel
.
Group_Id
,
GuestId
=
gmodel
.
Id
}).
Where
(
x
=>
x
.
Status
!=
4
).
FirstOrDefault
();
var
cmodel
=
education_ContractRepository
.
GetList
(
new
RB_Education_Contract_ViewModel
()
{
Group_Id
=
gmodel
.
Group_Id
,
GuestId
=
gmodel
.
Id
,
Status
=
-
1
}).
Where
(
x
=>
x
.
Status
!=
4
).
FirstOrDefault
();
if
(
cmodel
!=
null
)
{
//有合同
...
...
Edu.Module.Course/OrderModule2.cs
View file @
0f931b87
...
...
@@ -191,10 +191,11 @@ namespace Edu.Module.Course
{
FinaceNum
=
string
.
Join
(
","
,
flist
.
Select
(
qitem
=>
qitem
.
FrID
));
}
var
contractModel
=
education_ContractRepository
.
GetList
(
new
RB_Education_Contract_ViewModel
()
var
contractModel
=
education_ContractRepository
.
GetList
(
new
RB_Education_Contract_ViewModel
()
{
OrderId
=
OrderId
,
GuestId
=
GuestId
GuestId
=
GuestId
,
Status
=
-
1
})?.
FirstOrDefault
();
string
ProtocolNum
=
(
contractModel
?.
ContractNo
??
""
)
+
"-T"
;
RB_BackClass_Protocol
model
=
new
RB_BackClass_Protocol
()
...
...
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