Commit eaa1e83a by 张富康

Merge branch 'v5.7.4' into 紧急需求_采购订单额大于等于5万触发经理审核

2 parents 244a0f10 a09743cd
......@@ -24,6 +24,8 @@ import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
@Slf4j
......@@ -42,6 +44,11 @@ public class MerchantShopGoodsStockController {
public RopResponse<RpcPagination<MerchantShopGoodsStockPageResponse>> page(MerchantShopGoodsStockPageRequest request){
RpcPagination<MerchantShopGoodsStockDTO> pagination = CommonUtil.getRpcPagination(MerchantShopGoodsStockDTO.class);
pagination.getCondition().setYqMerchantIds(CommonUtil.getMerchantIdsConsiderMainPartner());
if (Objects.nonNull(request.getYqMerchantId())) {
List<Integer> list = new ArrayList<>(CommonUtil.getMerchantIdsConsiderMainPartner());
list.add(request.getYqMerchantId());
pagination.getCondition().setYqMerchantIds(list);
}
RpcResponse<RpcPagination<MerchantShopGoodsStockDTO>> res = merchantShopGoodsStockRemote.page(pagination);
if(res.hasResult()){
pagination = res.getResult();
......
......@@ -34,5 +34,5 @@ public class MerchantGoodsStockMonthReportSearchRequest extends AbstractRopReque
private String partnerMerchantName;
@ApiModelProperty(notes="查询时间")
private Date queryDate;
private String queryDate;
}
......@@ -38,5 +38,5 @@ public class MerchantShopGoodsStockPageRequest extends AbstractRopRequest {
private Boolean stockFlag;
@ApiModelProperty(notes="查询时间")
private Date queryDate;
private String queryDate;
}
......@@ -88,6 +88,9 @@ public class MerchantGoodsStockReduceRecordPageResponse implements Serializable
@ApiModelProperty(notes="子订单状态(1:未退款,2:已退款)")
private Byte subOrderStatus;
@ApiModelProperty(notes="出库时间")
private Date createdDate;
@ApiModelProperty(notes = "规格")
private String specificationData;
......
......@@ -14,7 +14,7 @@ public class StockFlowPageResponse {
/**
* 出入库时间
*/
@ApiModelProperty(notes = "出入库时间。对于调拨入库显示手动入库时间;对于调拨出库显示确认发货时间;其他显示业务发生时间。", example = "2026-01-29 10:00:00")
@ApiModelProperty(notes = "出入库时间。创建时间。", example = "2026-01-29 10:00:00")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date flowTime;
......@@ -118,4 +118,8 @@ public class StockFlowPageResponse {
@ApiModelProperty(notes = "订单升级状态(Y:已升级 N:战败)")
private String upgradeFlag;
@ApiModelProperty(notes = "操作时间。对于调拨入库显示手动入库时间;对于调拨出库显示确认发货时间;其他显示业务发生时间。", example = "2026-01-29 10:00:00")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date operateTime;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!