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
d61cf9ee
Commit
d61cf9ee
authored
Sep 03, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/education
parents
adde5d16
0f931b87
Show 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 @
d61cf9ee
...
@@ -2774,7 +2774,7 @@ namespace Edu.Module.Course
...
@@ -2774,7 +2774,7 @@ namespace Edu.Module.Course
{
{
var
gmodel
=
order_GuestRepository
.
GetEntity
(
guestId
);
var
gmodel
=
order_GuestRepository
.
GetEntity
(
guestId
);
if
(
gmodel
==
null
)
{
return
false
;
}
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
)
if
(
cmodel
!=
null
)
{
{
//有合同
//有合同
...
...
Edu.Module.Course/OrderModule2.cs
View file @
d61cf9ee
...
@@ -191,10 +191,11 @@ namespace Edu.Module.Course
...
@@ -191,10 +191,11 @@ namespace Edu.Module.Course
{
{
FinaceNum
=
string
.
Join
(
","
,
flist
.
Select
(
qitem
=>
qitem
.
FrID
));
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
,
OrderId
=
OrderId
,
GuestId
=
GuestId
GuestId
=
GuestId
,
Status
=
-
1
})?.
FirstOrDefault
();
})?.
FirstOrDefault
();
string
ProtocolNum
=
(
contractModel
?.
ContractNo
??
""
)
+
"-T"
;
string
ProtocolNum
=
(
contractModel
?.
ContractNo
??
""
)
+
"-T"
;
RB_BackClass_Protocol
model
=
new
RB_BackClass_Protocol
()
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