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
04e62a54
Commit
04e62a54
authored
Sep 02, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
into sdzq-ld
parents
feaf5d53
575b41e6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
374 additions
and
337 deletions
+374
-337
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
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+3
-3
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+201
-6
EmployeeModule.cs
Mall.Module.User/EmployeeModule.cs
+1
-1
RB_GoodsRepository.cs
Mall.Repository/Product/RB_GoodsRepository.cs
+5
-0
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+3
-185
ProductController.cs
Mall.WebApi/Controllers/Product/ProductController.cs
+151
-142
No files found.
Mall.Model/Extend/Product/RB_Goods_Extend.cs
View file @
04e62a54
...
...
@@ -230,5 +230,10 @@ namespace Mall.Model.Extend.Product
/// </summary>
public
List
<
object
>
SupplierSpecificationList
{
get
;
set
;
}
/// <summary>
/// 是否直查询有视频商品(1-是)HK0902新增
/// </summary>
public
int
IsVideo
{
get
;
set
;
}
}
}
Mall.Model/Extend/Product/RB_ImageCommonModel.cs
View file @
04e62a54
...
...
@@ -24,5 +24,10 @@ namespace Mall.Model.Extend.Product
/// 路径
/// </summary>
public
string
Path
{
get
;
set
;
}
/// <summary>
/// 1-视频
/// </summary>
public
int
Type
{
get
;
set
;
}
}
}
Mall.Module.Product/OrderModule.cs
View file @
04e62a54
...
...
@@ -6956,14 +6956,14 @@ namespace Mall.Module.Product
if
(
model
.
Type
==
2
)
{
var
oeModel
=
goods_OrderExpressRepository
.
GetList
(
new
RB_Goods_OrderExpress_Extend
()
{
AfterSaleOrderId
=
model
.
ReOrderId
,
TenantId
=
tenantId
,
MallBaseId
=
mallBaseId
}).
FirstOrDefault
();
if
(
oeModel
.
Type
==
1
)
if
(
oeModel
!=
null
&&
oeModel
.
Type
==
1
)
{
var
leModel
=
logistics_ExpressRepository
.
GetEntity
(
oeModel
.
ExpressId
);
ExpressList
.
Add
(
new
{
Name
=
uModel
.
Name
??
""
,
ExpressName
=
leModel
.
Name
??
""
,
oeModel
.
ExpressNumber
,
ExpressNumber
=
oeModel
?.
ExpressNumber
??
""
,
Type
=
1
});
}
...
...
@@ -6973,7 +6973,7 @@ namespace Mall.Module.Product
{
Name
=
uModel
.
Name
??
""
,
ExpressName
=
""
,
ExpressNumber
=
oeModel
.
Remark
,
ExpressNumber
=
oeModel
?.
Remark
??
""
,
Type
=
2
});
}
...
...
Mall.Module.Product/ProductModule.cs
View file @
04e62a54
This diff is collapsed.
Click to expand it.
Mall.Module.User/EmployeeModule.cs
View file @
04e62a54
...
...
@@ -233,7 +233,7 @@ namespace Mall.Module.User
{
{
nameof
(
RB_Employee_Extend
.
Status
),
1
},
};
bool
flag
=
rol
eRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Employee_Extend
.
EmpId
),
EmpId
));
bool
flag
=
employe
eRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Employee_Extend
.
EmpId
),
EmpId
));
return
flag
;
}
...
...
Mall.Repository/Product/RB_GoodsRepository.cs
View file @
04e62a54
...
...
@@ -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"
}
'"
;
}
if
(
dmodel
.
IsVideo
>
0
)
{
where
+=
$@" and IFNULL(g.
{
nameof
(
RB_Goods_Extend
.
VideoAddress
)}
<>'' "
;
}
//默认综合【升序】
string
orderBy
=
$" order by g.
{
nameof
(
RB_Goods_Extend
.
Sort
)}
asc"
;
//上架时间【降序】
...
...
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
04e62a54
This diff is collapsed.
Click to expand it.
Mall.WebApi/Controllers/Product/ProductController.cs
View file @
04e62a54
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