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
18efc875
Commit
18efc875
authored
Sep 01, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
85fd822a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
7 deletions
+29
-7
GuideCarModule.cs
Mall.Module.Product/GuideCarModule.cs
+18
-6
RB_GuideCar_BaseRepository.cs
Mall.Repository/GuideCar/RB_GuideCar_BaseRepository.cs
+1
-1
GuideCarController.cs
Mall.WebApi/Controllers/Product/GuideCarController.cs
+10
-0
No files found.
Mall.Module.Product/GuideCarModule.cs
View file @
18efc875
...
@@ -41,7 +41,6 @@ namespace Mall.Module.Product
...
@@ -41,7 +41,6 @@ namespace Mall.Module.Product
/// 商品分类
/// 商品分类
/// </summary>
/// </summary>
private
readonly
RB_Product_CategoryRepository
product_CategoryRepository
=
new
RB_Product_CategoryRepository
();
private
readonly
RB_Product_CategoryRepository
product_CategoryRepository
=
new
RB_Product_CategoryRepository
();
/// <summary>
/// <summary>
/// 商品
/// 商品
/// </summary>
/// </summary>
...
@@ -58,7 +57,6 @@ namespace Mall.Module.Product
...
@@ -58,7 +57,6 @@ namespace Mall.Module.Product
/// 商品分类
/// 商品分类
/// </summary>
/// </summary>
private
readonly
RB_Goods_CategoryRepository
goods_CategoryRepository
=
new
RB_Goods_CategoryRepository
();
private
readonly
RB_Goods_CategoryRepository
goods_CategoryRepository
=
new
RB_Goods_CategoryRepository
();
/// <summary>
/// <summary>
/// 分销商等级
/// 分销商等级
/// </summary>
/// </summary>
...
@@ -87,7 +85,6 @@ namespace Mall.Module.Product
...
@@ -87,7 +85,6 @@ namespace Mall.Module.Product
/// 商品会员价格
/// 商品会员价格
/// </summary>
/// </summary>
private
readonly
RB_Goods_MemberPriceRepository
goods_MemberPriceRepository
=
new
RB_Goods_MemberPriceRepository
();
private
readonly
RB_Goods_MemberPriceRepository
goods_MemberPriceRepository
=
new
RB_Goods_MemberPriceRepository
();
/// <summary>
/// <summary>
/// 商户仓储层对象
/// 商户仓储层对象
/// </summary>
/// </summary>
...
@@ -108,7 +105,6 @@ namespace Mall.Module.Product
...
@@ -108,7 +105,6 @@ namespace Mall.Module.Product
/// 地区处理
/// 地区处理
/// </summary>
/// </summary>
private
readonly
Rb_destinationRepository
destinationRepository
=
new
Rb_destinationRepository
();
private
readonly
Rb_destinationRepository
destinationRepository
=
new
Rb_destinationRepository
();
/// <summary>
/// <summary>
/// 商品分销
/// 商品分销
/// </summary>
/// </summary>
...
@@ -121,7 +117,6 @@ namespace Mall.Module.Product
...
@@ -121,7 +117,6 @@ namespace Mall.Module.Product
/// 粉象VIP返佣比例
/// 粉象VIP返佣比例
/// </summary>
/// </summary>
private
readonly
RB_Distributor_FXCommissionRepository
distributor_FXCommissionRepository
=
new
RB_Distributor_FXCommissionRepository
();
private
readonly
RB_Distributor_FXCommissionRepository
distributor_FXCommissionRepository
=
new
RB_Distributor_FXCommissionRepository
();
/// <summary>
/// <summary>
/// 微店基础
/// 微店基础
/// </summary>
/// </summary>
...
@@ -134,7 +129,6 @@ namespace Mall.Module.Product
...
@@ -134,7 +129,6 @@ namespace Mall.Module.Product
/// 微店商品价格
/// 微店商品价格
/// </summary>
/// </summary>
private
RB_SmallShops_PriceRepository
smallShops_PriceRepository
=
new
RB_SmallShops_PriceRepository
();
private
RB_SmallShops_PriceRepository
smallShops_PriceRepository
=
new
RB_SmallShops_PriceRepository
();
/// <summary>
/// <summary>
/// 司导站点
/// 司导站点
/// </summary>
/// </summary>
...
@@ -143,9 +137,27 @@ namespace Mall.Module.Product
...
@@ -143,9 +137,27 @@ namespace Mall.Module.Product
/// 司导站点地区
/// 司导站点地区
/// </summary>
/// </summary>
private
RB_GuideCar_SiteRegionRepository
SiteRegionRepository
=
new
RB_GuideCar_SiteRegionRepository
();
private
RB_GuideCar_SiteRegionRepository
SiteRegionRepository
=
new
RB_GuideCar_SiteRegionRepository
();
/// <summary>
/// 司导基础配置
/// </summary>
private
RB_GuideCar_BaseRepository
guideCar_BaseRepository
=
new
RB_GuideCar_BaseRepository
();
#
region
基础配置
#
region
基础配置
/// <summary>
/// 获取基础配置
/// </summary>
/// <param name="tenantId"></param>
/// <param name="mallBaseId"></param>
/// <returns></returns>
public
RB_GuideCar_Base_Extend
GetGuideCarInfo
(
int
tenantId
,
int
mallBaseId
)
{
var
model
=
guideCar_BaseRepository
.
GetList
(
new
RB_GuideCar_Base_Extend
()
{
TenantId
=
tenantId
,
MallBaseId
=
mallBaseId
}).
FirstOrDefault
();
if
(
model
==
null
)
{
model
=
new
RB_GuideCar_Base_Extend
();
}
return
model
;
}
#
endregion
#
endregion
...
...
Mall.Repository/GuideCar/RB_GuideCar_BaseRepository.cs
View file @
18efc875
...
@@ -15,7 +15,7 @@ namespace Mall.Repository.GuideCar
...
@@ -15,7 +15,7 @@ namespace Mall.Repository.GuideCar
/// </summary>
/// </summary>
/// <param name="dmodel">查询条件</param>
/// <param name="dmodel">查询条件</param>
/// <returns></returns>
/// <returns></returns>
public
List
<
RB_GuideCar_Base_Extend
>
GetL
ogisticsRulesL
ist
(
RB_GuideCar_Base_Extend
dmodel
)
public
List
<
RB_GuideCar_Base_Extend
>
GetList
(
RB_GuideCar_Base_Extend
dmodel
)
{
{
string
where
=
$" 1=1 "
;
string
where
=
$" 1=1 "
;
if
(
dmodel
.
TenantId
>
0
)
if
(
dmodel
.
TenantId
>
0
)
...
...
Mall.WebApi/Controllers/Product/GuideCarController.cs
View file @
18efc875
...
@@ -29,6 +29,16 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -29,6 +29,16 @@ namespace Mall.WebApi.Controllers.MallBase
private
readonly
GuideCarModule
guideCarModule
=
new
GuideCarModule
();
private
readonly
GuideCarModule
guideCarModule
=
new
GuideCarModule
();
#
region
基础配置
#
region
基础配置
/// <summary>
/// 获取司导专区基础配置
/// </summary>
/// <returns></returns>
[
HttpPost
]
public
ApiResult
GetGuideCarInfo
()
{
var
req
=
RequestParm
;
var
model
=
guideCarModule
.
GetGuideCarInfo
(
req
.
TenantId
,
req
.
MallBaseId
);
}
#
endregion
#
endregion
...
...
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