Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
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
黄奎
mall.oytour.com
Commits
db322aed
Commit
db322aed
authored
Sep 01, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8ef1c357
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
11 deletions
+21
-11
GuideCarModule.cs
Mall.Module.Product/GuideCarModule.cs
+21
-11
No files found.
Mall.Module.Product/GuideCarModule.cs
View file @
db322aed
...
...
@@ -154,19 +154,29 @@ namespace Mall.Module.Product
{
var
model
=
guideCar_BaseRepository
.
GetList
(
new
RB_GuideCar_Base_Extend
()
{
TenantId
=
tenantId
,
MallBaseId
=
mallBaseId
}).
FirstOrDefault
();
if
(
model
==
null
)
{
model
=
new
RB_GuideCar_Base_Extend
()
{
AdvanceDay
=
1
,
MallBaseId
=
mallBaseId
,
CancelHour
=
1
,
CostPrice
=
0
,
Id
=
0
,
InsuranceDescription
=
""
,
InsuranceName
=
""
,
IsConfirm
=
1
,
PagePath
=
""
,
model
=
new
RB_GuideCar_Base_Extend
()
{
AdvanceDay
=
1
,
MallBaseId
=
mallBaseId
,
CancelHour
=
1
,
CostPrice
=
0
,
Id
=
0
,
InsuranceDescription
=
""
,
InsuranceName
=
""
,
IsConfirm
=
1
,
PagePath
=
""
,
SalePrice
=
0
,
TenantId
=
tenantId
,
};
}
if
(
model
.
OrderStateJson
==
null
||
model
.
OrderStateJson
==
""
)
{
var
list
=
EnumHelper
.
GetEnumList
(
typeof
(
Common
.
Enum
.
Goods
.
OrderStatusEnum
));
//list.OrderBy(x => Convert.ToInt32(x.Value)).Select(x => new
//{
// Name = x.Key,
// Id = Convert.ToInt32(x.Value)
//}))
}
return
model
;
}
...
...
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