Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-smartcarlife
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cfb561b6
authored
Apr 16, 2026
by
张富康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.7.4' into 紧急需求_采购订单额大于等于5万触发经理审核
2 parents
eaa1e83a
56af3e55
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
src/main/java/cn/com/glsx/dj/smartcarlife/controller/smartCarLife/stock/MerchantShopGoodsStockController.java
src/main/java/cn/com/glsx/dj/smartcarlife/request/smartcarlife/purchase/PurchaseOrderDeliveryPageRequest.java
src/main/java/cn/com/glsx/dj/smartcarlife/request/smartcarlife/purchase/PurchaseOrderShippingListRequest.java
src/main/java/cn/com/glsx/dj/smartcarlife/request/smartcarlife/stockManagement/MerchantShopGoodsStockPageRequest.java
src/main/java/cn/com/glsx/dj/smartcarlife/controller/smartCarLife/stock/MerchantShopGoodsStockController.java
View file @
cfb561b
...
@@ -43,12 +43,21 @@ public class MerchantShopGoodsStockController {
...
@@ -43,12 +43,21 @@ public class MerchantShopGoodsStockController {
@ServiceMethod
(
method
=
"dj.api.smartcarlife.merchantShopGoodsStock.page"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.smartcarlife.merchantShopGoodsStock.page"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
RpcPagination
<
MerchantShopGoodsStockPageResponse
>>
page
(
MerchantShopGoodsStockPageRequest
request
){
public
RopResponse
<
RpcPagination
<
MerchantShopGoodsStockPageResponse
>>
page
(
MerchantShopGoodsStockPageRequest
request
){
RpcPagination
<
MerchantShopGoodsStockDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
MerchantShopGoodsStockDTO
.
class
);
RpcPagination
<
MerchantShopGoodsStockDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
MerchantShopGoodsStockDTO
.
class
);
pagination
.
getCondition
().
setYqMerchantIds
(
CommonUtil
.
getMerchantIdsConsiderMainPartner
());
if
(
request
.
getQueryOtherMerchant
()
!=
null
&&
request
.
getQueryOtherMerchant
())
{
if
(
Objects
.
nonNull
(
request
.
getYqMerchantId
()))
{
if
(
Objects
.
nonNull
(
request
.
getYqMerchantId
()))
{
List
<
Integer
>
list
=
new
ArrayList
<>(
CommonUtil
.
getMerchantIdsConsiderMainPartner
());
List
<
Integer
>
list
=
new
ArrayList
<>();
List
<
Integer
>
yqMerchantIdList
=
CommonUtil
.
getMerchantIdsConsiderMainPartner
();
if
(
CollectionUtils
.
isNotEmpty
(
yqMerchantIdList
))
{
list
.
addAll
(
yqMerchantIdList
);
}
list
.
add
(
request
.
getYqMerchantId
());
list
.
add
(
request
.
getYqMerchantId
());
log
.
info
(
"yqMerchantId list:{}"
,
list
);
pagination
.
getCondition
().
setYqMerchantIds
(
list
);
pagination
.
getCondition
().
setYqMerchantIds
(
list
);
}
}
}
else
{
pagination
.
getCondition
().
setYqMerchantIds
(
CommonUtil
.
getMerchantIdsConsiderMainPartner
());
}
RpcResponse
<
RpcPagination
<
MerchantShopGoodsStockDTO
>>
res
=
merchantShopGoodsStockRemote
.
page
(
pagination
);
RpcResponse
<
RpcPagination
<
MerchantShopGoodsStockDTO
>>
res
=
merchantShopGoodsStockRemote
.
page
(
pagination
);
if
(
res
.
hasResult
()){
if
(
res
.
hasResult
()){
pagination
=
res
.
getResult
();
pagination
=
res
.
getResult
();
...
...
src/main/java/cn/com/glsx/dj/smartcarlife/request/smartcarlife/purchase/PurchaseOrderDeliveryPageRequest.java
View file @
cfb561b
...
@@ -37,8 +37,8 @@ public class PurchaseOrderDeliveryPageRequest extends AbstractRopRequest{
...
@@ -37,8 +37,8 @@ public class PurchaseOrderDeliveryPageRequest extends AbstractRopRequest{
@ApiModelProperty
(
name
=
"merchantName"
,
notes
=
"所属商户"
,
required
=
false
,
example
=
"cx园区店"
)
@ApiModelProperty
(
name
=
"merchantName"
,
notes
=
"所属商户"
,
required
=
false
,
example
=
"cx园区店"
)
private
String
merchantName
;
private
String
merchantName
;
@ApiModelProperty
(
name
=
"putStatus"
,
notes
=
"入库状态(0.待签收,1.未入库,2.已入库,3.部分入库)"
,
required
=
false
,
example
=
"1"
)
@ApiModelProperty
(
name
=
"putStatus
Str
"
,
notes
=
"入库状态(0.待签收,1.未入库,2.已入库,3.部分入库)"
,
required
=
false
,
example
=
"1"
)
private
Byte
putStatus
;
private
String
putStatusStr
;
/**
/**
* 订单类型 0采购单 1调拨单
* 订单类型 0采购单 1调拨单
...
...
src/main/java/cn/com/glsx/dj/smartcarlife/request/smartcarlife/purchase/PurchaseOrderShippingListRequest.java
View file @
cfb561b
...
@@ -73,6 +73,8 @@ public class PurchaseOrderShippingListRequest extends AbstractRopRequest {
...
@@ -73,6 +73,8 @@ public class PurchaseOrderShippingListRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"发货方"
)
@ApiModelProperty
(
notes
=
"发货方"
)
private
String
shipper
;
private
String
shipper
;
@ApiModelProperty
(
notes
=
"签收状态"
)
private
List
<
Integer
>
signStatusList
;
private
List
<
Integer
>
signStatusList
;
@ApiModelProperty
(
notes
=
"签收状态"
)
private
String
signStatusStr
;
}
}
src/main/java/cn/com/glsx/dj/smartcarlife/request/smartcarlife/stockManagement/MerchantShopGoodsStockPageRequest.java
View file @
cfb561b
...
@@ -39,4 +39,7 @@ public class MerchantShopGoodsStockPageRequest extends AbstractRopRequest {
...
@@ -39,4 +39,7 @@ public class MerchantShopGoodsStockPageRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"查询时间"
)
@ApiModelProperty
(
notes
=
"查询时间"
)
private
String
queryDate
;
private
String
queryDate
;
@ApiModelProperty
(
notes
=
"是否查看其他园区店库存 true / false 服务商saas传true"
)
private
Boolean
queryOtherMerchant
;
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment