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
66dda47a
Commit
66dda47a
authored
Jul 30, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
aeab811d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
RB_Goods_OrderDetail_Extend.cs
Mall.Model/Extend/Product/RB_Goods_OrderDetail_Extend.cs
+16
-0
RB_Supplies_CheckRepository.cs
Mall.Repository/Property/RB_Supplies_CheckRepository.cs
+4
-2
WarehouseOutController.cs
Mall.WebApi/Controllers/Property/WarehouseOutController.cs
+3
-1
No files found.
Mall.Model/Extend/Product/RB_Goods_OrderDetail_Extend.cs
View file @
66dda47a
...
...
@@ -184,5 +184,21 @@ namespace Mall.Model.Extend.Product
set
;
}
/// <summary>
/// 商品id
/// </summary>
public
int
NewGoodsId
{
get
;
set
;
}
/// <summary>
/// 出库商品名称
/// </summary>
public
string
NewGoodsName
{
get
;
set
;
}
}
}
Mall.Repository/Property/RB_Supplies_CheckRepository.cs
View file @
66dda47a
...
...
@@ -66,13 +66,15 @@ namespace Mall.Repository.Property
if
(
dmodel
.
StartDate
.
HasValue
)
{
where
+=
$" and
{
nameof
(
RB_Supplies_Check_Extend
.
StartDate
)}
>
='
{
dmodel
.
StartDate
}
' "
;
where
+=
$" and
{
nameof
(
RB_Supplies_Check_Extend
.
StartDate
)}
<
='
{
dmodel
.
StartDate
}
' "
;
}
if
(
dmodel
.
EndDate
.
HasValue
)
{
where
+=
$" and
{
nameof
(
RB_Supplies_Check_Extend
.
StartDate
)}
<
='
{
dmodel
.
EndDate
}
' "
;
where
+=
$" and
{
nameof
(
RB_Supplies_Check_Extend
.
StartDate
)}
>
='
{
dmodel
.
EndDate
}
' "
;
}
if
(!
string
.
IsNullOrWhiteSpace
(
dmodel
.
Periods
))
{
where
+=
" and "
+
nameof
(
RB_Supplies_Check_Extend
.
Periods
)
+
" like '%"
+
dmodel
.
Periods
+
"%'"
;
...
...
Mall.WebApi/Controllers/Property/WarehouseOutController.cs
View file @
66dda47a
...
...
@@ -112,7 +112,7 @@ namespace Mall.WebApi.Controllers.Property
//根据订单商品id查询商品信息
var
orderGoodsIds
=
string
.
Join
(
","
,
demodel
.
WarehouseOutGoodsList
.
Select
(
x
=>
x
.
OrderGoodsId
));
var
orderGoodsList
=
orderModule
.
GetOrderGoodsList
(
new
Model
.
Extend
.
Product
.
RB_Goods_OrderDetail_Extend
{
TenantId
=
requestParm
.
TenantId
,
MallBaseId
=
requestParm
.
MallBaseId
,
IdList
=
demodel
.
WarehouseOutGoodsList
.
Select
(
x
=>
x
.
OrderGoodsId
).
ToList
()
});
if
(
demodel
.
WarehouseOutGoodsList
.
Count
!=
orderGoodsList
.
Count
)
if
(
demodel
.
WarehouseOutGoodsList
.
GroupBy
(
x
=>
x
.
OrderGoodsId
).
Count
()
!=
orderGoodsList
.
Count
)
{
List
<
int
>
chajiList
=
demodel
.
WarehouseOutGoodsList
.
Select
(
x
=>
x
.
OrderGoodsId
).
Except
(
orderGoodsList
.
Select
(
x
=>
x
.
Id
)).
ToList
();
string
msg
=
""
;
...
...
@@ -237,6 +237,8 @@ namespace Mall.WebApi.Controllers.Property
list
.
ForEach
(
x
=>
x
.
NewSpecificationSort
=
x
.
SpecificationSort
);
list
.
ForEach
(
x
=>
x
.
NewSpecification
=
x
.
Specification
);
list
.
ForEach
(
x
=>
x
.
NewNumber
=
(
x
.
Number
??
0
));
list
.
ForEach
(
x
=>
x
.
NewGoodsId
=
x
.
GoodsId
??
0
);
list
.
ForEach
(
x
=>
x
.
NewGoodsName
=
x
.
GoodsName
);
pagelist
.
count
=
Convert
.
ToInt32
(
count
);
pagelist
.
pageData
=
list
;
return
ApiResult
.
Success
(
""
,
pagelist
);
...
...
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