Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
872c6f75
Commit
872c6f75
authored
Oct 30, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到仓记录查询业务调整
parent
46a8c766
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
OrderWarehouseCheckService.java
...rvice/orderWarehouseCheck/OrderWarehouseCheckService.java
+3
-0
OrderWarehouseCheckServiceImpl.java
...e/orderWarehouseCheck/OrderWarehouseCheckServiceImpl.java
+7
-1
OrderWarehouseCheckController.java
...in/orderWarehouseCheck/OrderWarehouseCheckController.java
+3
-3
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderWarehouseCheck/OrderWarehouseCheckService.java
View file @
872c6f75
...
@@ -19,6 +19,9 @@ public interface OrderWarehouseCheckService extends IService<OrderWarehouseCheck
...
@@ -19,6 +19,9 @@ public interface OrderWarehouseCheckService extends IService<OrderWarehouseCheck
*/
*/
List
<
OrderWarehouseCheckDO
>
list
(
long
orderId
);
List
<
OrderWarehouseCheckDO
>
list
(
long
orderId
);
List
<
OrderWarehouseCheckDO
>
listByOrderItemId
(
long
orderItemId
);
/**
/**
* 订单到仓. 复制入仓信息,到仓订单修改已在缷柜逻辑中
* 订单到仓. 复制入仓信息,到仓订单修改已在缷柜逻辑中
*
*
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderWarehouseCheck/OrderWarehouseCheckServiceImpl.java
View file @
872c6f75
...
@@ -72,6 +72,12 @@ public class OrderWarehouseCheckServiceImpl
...
@@ -72,6 +72,12 @@ public class OrderWarehouseCheckServiceImpl
return
abstractMapper
.
selectList
(
OrderWarehouseCheckDO:
:
getOrderId
,
orderId
);
return
abstractMapper
.
selectList
(
OrderWarehouseCheckDO:
:
getOrderId
,
orderId
);
}
}
@Override
public
List
<
OrderWarehouseCheckDO
>
listByOrderItemId
(
long
orderItemId
)
{
return
abstractMapper
.
selectList
(
OrderWarehouseCheckDO:
:
getOrderItemId
,
orderItemId
);
}
// 到仓信息统计
// 到仓信息统计
...
@@ -177,7 +183,7 @@ public class OrderWarehouseCheckServiceImpl
...
@@ -177,7 +183,7 @@ public class OrderWarehouseCheckServiceImpl
@Override
@Override
public
void
update
(
OrderWarehouseCheckUpdateReqVO
checkUpdateReqVO
)
{
public
void
update
(
OrderWarehouseCheckUpdateReqVO
checkUpdateReqVO
)
{
Map
<
Long
,
OrderWarehouseCheckDO
>
mappings
=
list
(
checkUpdateReqVO
.
getOrder
Id
()).
stream
()
Map
<
Long
,
OrderWarehouseCheckDO
>
mappings
=
list
ByOrderItemId
(
checkUpdateReqVO
.
getOrderItem
Id
()).
stream
()
.
collect
(
Collectors
.
toMap
(
OrderWarehouseCheckDO:
:
getOrderItemId
,
Function
.
identity
()));
.
collect
(
Collectors
.
toMap
(
OrderWarehouseCheckDO:
:
getOrderItemId
,
Function
.
identity
()));
ServiceException
exception
=
ServiceExceptionUtil
.
exception
(
ErrorCodeConstants
.
ORDER_WAREHOUSE_CHECK_NOT_EXISTS
);
ServiceException
exception
=
ServiceExceptionUtil
.
exception
(
ErrorCodeConstants
.
ORDER_WAREHOUSE_CHECK_NOT_EXISTS
);
List
<
OrderWarehouseCheckDO
>
newWarehouseCheckDOList
=
new
ArrayList
<>();
List
<
OrderWarehouseCheckDO
>
newWarehouseCheckDOList
=
new
ArrayList
<>();
...
...
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/orderWarehouseCheck/OrderWarehouseCheckController.java
View file @
872c6f75
...
@@ -34,9 +34,9 @@ public class OrderWarehouseCheckController {
...
@@ -34,9 +34,9 @@ public class OrderWarehouseCheckController {
@GetMapping
(
"/query"
)
@GetMapping
(
"/query"
)
@ApiOperation
(
"到仓查询"
)
@ApiOperation
(
"到仓查询"
)
@ApiImplicitParam
(
name
=
"orderI
d"
,
value
=
"订单
id"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
@ApiImplicitParam
(
name
=
"orderI
temId"
,
value
=
"订单项
id"
,
required
=
true
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
public
CommonResult
<
List
<
OrderWarehouseCheckDO
>>
query
(
@RequestParam
(
"orderI
d"
)
Long
order
Id
)
{
public
CommonResult
<
List
<
OrderWarehouseCheckDO
>>
query
(
@RequestParam
(
"orderI
temId"
)
Long
orderItem
Id
)
{
return
success
(
service
.
list
(
order
Id
));
return
success
(
service
.
list
ByOrderItemId
(
orderItem
Id
));
}
}
@PostMapping
(
"/force"
)
@PostMapping
(
"/force"
)
...
...
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