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
4e9a5c82
Commit
4e9a5c82
authored
Sep 02, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
80ae4327
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
219 additions
and
191 deletions
+219
-191
RB_Goods_Extend.cs
Mall.Model/Extend/Product/RB_Goods_Extend.cs
+5
-0
RB_ImageCommonModel.cs
Mall.Model/Extend/Product/RB_ImageCommonModel.cs
+5
-0
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+201
-6
RB_GoodsRepository.cs
Mall.Repository/Product/RB_GoodsRepository.cs
+5
-0
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+3
-185
No files found.
Mall.Model/Extend/Product/RB_Goods_Extend.cs
View file @
4e9a5c82
...
@@ -201,5 +201,10 @@ namespace Mall.Model.Extend.Product
...
@@ -201,5 +201,10 @@ namespace Mall.Model.Extend.Product
/// </summary>
/// </summary>
public
List
<
object
>
SupplierSpecificationList
{
get
;
set
;
}
public
List
<
object
>
SupplierSpecificationList
{
get
;
set
;
}
/// <summary>
/// 是否直查询有视频商品(1-是)HK0902新增
/// </summary>
public
int
IsVideo
{
get
;
set
;
}
}
}
}
}
Mall.Model/Extend/Product/RB_ImageCommonModel.cs
View file @
4e9a5c82
...
@@ -24,5 +24,10 @@ namespace Mall.Model.Extend.Product
...
@@ -24,5 +24,10 @@ namespace Mall.Model.Extend.Product
/// 路径
/// 路径
/// </summary>
/// </summary>
public
string
Path
{
get
;
set
;
}
public
string
Path
{
get
;
set
;
}
/// <summary>
/// 1-视频
/// </summary>
public
int
Type
{
get
;
set
;
}
}
}
}
}
Mall.Module.Product/ProductModule.cs
View file @
4e9a5c82
This diff is collapsed.
Click to expand it.
Mall.Repository/Product/RB_GoodsRepository.cs
View file @
4e9a5c82
...
@@ -411,6 +411,11 @@ WHERE {where} group by g.Id order by g.CreateDate desc";
...
@@ -411,6 +411,11 @@ WHERE {where} group by g.Id order by g.CreateDate desc";
{
{
where
+=
$@" and g.
{
nameof
(
RB_Goods_Extend
.
CreateDate
)}
<='
{
dmodel
.
EndTime
+
" 23:59:59"
}
'"
;
where
+=
$@" and g.
{
nameof
(
RB_Goods_Extend
.
CreateDate
)}
<='
{
dmodel
.
EndTime
+
" 23:59:59"
}
'"
;
}
}
if
(
dmodel
.
IsVideo
>
0
)
{
where
+=
$@" and IFNULL(g.
{
nameof
(
RB_Goods_Extend
.
VideoAddress
)}
<>'' "
;
}
//默认综合【升序】
//默认综合【升序】
string
orderBy
=
$" order by g.
{
nameof
(
RB_Goods_Extend
.
Sort
)}
asc"
;
string
orderBy
=
$" order by g.
{
nameof
(
RB_Goods_Extend
.
Sort
)}
asc"
;
//上架时间【降序】
//上架时间【降序】
...
...
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
4e9a5c82
This diff is collapsed.
Click to expand it.
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