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
f534ab9e
Commit
f534ab9e
authored
Sep 03, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预定日期
parent
d7aad9b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
RB_Goods_TargetDate.cs
Mall.Model/Entity/Product/RB_Goods_TargetDate.cs
+8
-0
GuideCarModule.cs
Mall.Module.Product/GuideCarModule.cs
+7
-3
No files found.
Mall.Model/Entity/Product/RB_Goods_TargetDate.cs
View file @
f534ab9e
...
...
@@ -35,5 +35,13 @@ namespace Mall.Model.Entity.Product
/// 可预定日期
/// </summary>
public
DateTime
?
Date
{
get
;
set
;
}
/// <summary>
/// 是否可以预定 1是 2否
/// </summary>
public
int
IsReserve
{
get
;
set
;
}
/// <summary>
/// 已预定的座位数量
/// </summary>
public
int
ReserveNum
{
get
;
set
;
}
}
}
Mall.Module.Product/GuideCarModule.cs
View file @
f534ab9e
...
...
@@ -740,7 +740,9 @@ namespace Mall.Module.Product
{
Id
=
0
,
GoodsId
=
demodel
.
Id
,
Date
=
item
.
Date
Date
=
item
.
Date
,
IsReserve
=
1
,
ReserveNum
=
0
});
}
foreach
(
var
item
in
tddeleteList
)
...
...
@@ -921,7 +923,9 @@ namespace Mall.Module.Product
{
Id
=
0
,
GoodsId
=
Id
,
Date
=
item
.
Date
Date
=
item
.
Date
,
IsReserve
=
1
,
ReserveNum
=
0
});
}
//插入分类
...
...
@@ -1637,7 +1641,7 @@ namespace Mall.Module.Product
video_url
=
model
.
VideoAddress
,
level_show
=
(
userModel
?.
MemberGrade
??
0
)
>
0
?
1
:
2
,
//是否显示会员价
is_sales
=
model
.
GoodsStatus
,
//是否可购买 ______根据日期判断 。。。。。。。。。。。。。。。。。。。。。。。。。。
attr
=
priceList
,
//
attr = priceList,
pic_url
=
model
.
CarouselImageList
.
Select
(
x
=>
new
{
id
=
x
.
Id
,
...
...
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