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
343b1a96
Commit
343b1a96
authored
Aug 18, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c67adeb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
RB_Groupbuy_Activity_Extend.cs
Mall.Model/Extend/Product/RB_Groupbuy_Activity_Extend.cs
+10
-0
GroupBuyActivityModule_Query.cs
Mall.Module.Product/GroupBuyActivityModule_Query.cs
+24
-0
No files found.
Mall.Model/Extend/Product/RB_Groupbuy_Activity_Extend.cs
View file @
343b1a96
...
...
@@ -136,5 +136,15 @@ namespace Mall.Model.Extend.Product
/// 区域列表
/// </summary>
public
List
<
RB_GroupBuy_Area_Extend
>
AreaList
{
get
;
set
;
}
/// <summary>
/// 运费名称
/// </summary>
public
string
FreightName
{
get
;
set
;
}
/// <summary>
/// 表单名称
/// </summary>
public
string
FormsName
{
get
;
set
;
}
}
}
Mall.Module.Product/GroupBuyActivityModule_Query.cs
View file @
343b1a96
using
Mall.Model.Entity.Product
;
using
Mall.Model.Extend.Product
;
using
Mall.Repository.BaseSetUp
;
using
Mall.Repository.Product
;
using
System
;
using
System.Collections.Generic
;
...
...
@@ -58,6 +59,11 @@ namespace Mall.Module.Product
/// </summary>
private
readonly
RB_GroupBuy_AreaRepository
groupbuy_AreaRepository
=
new
RB_GroupBuy_AreaRepository
();
/// <summary>
/// 运费
/// </summary>
private
readonly
RB_Logistics_RulesRepository
logistics_RulesRepository
=
new
RB_Logistics_RulesRepository
();
/// <summary>
/// 根据查询条件获取地区信息
...
...
@@ -354,6 +360,24 @@ namespace Mall.Module.Product
GoodsId
=
extModel
.
GoodId
,
});
}
//运费
if
(
extModel
.
FreightId
>
0
)
{
extModel
.
FreightName
=
logistics_RulesRepository
.
GetEntity
(
extModel
.
FreightId
)?.
RulesName
??
""
;
}
else
{
extModel
.
FreightName
=
"默认运费"
;
}
//表单
if
(
extModel
.
FormsId
>
0
)
{
extModel
.
FormsName
=
"未建表"
;
}
else
{
extModel
.
FormsName
=
"默认表单"
;
}
extModel
.
SpecificationList
=
specificationList
;
extModel
.
SpecificationPriceList
=
specPriceList
;
extModel
.
GroupList
=
groupStepList
;
...
...
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