mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 03:19:18 +08:00
fix(ecom): 移除刷单记录的platform_order_no字段及前端相关代码
- ec_design.sql 移除 platform_order_no 列和索引 - BrushOrderPO/DTO/VO 移除 platformOrderNo 字段(保留原有注释) - BrushOrderServiceImpl 移除相关 setter 和查询过滤逻辑 - 前端类型定义和组件同步清理
This commit is contained in:
-5
@@ -25,11 +25,6 @@ public class BrushOrderFilterDTO {
|
||||
@Schema(description = "商品ID", example = "1")
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
* 平台订单号(模糊查询)
|
||||
*/
|
||||
@Schema(description = "平台订单号(模糊查询)", example = "TB2024")
|
||||
private String platformOrderNo;
|
||||
|
||||
/**
|
||||
* 刷单金额范围-最小值
|
||||
|
||||
-5
@@ -48,11 +48,6 @@ public class CreateBrushOrderDTO {
|
||||
@NotNull(message = "刷单时间不能为空")
|
||||
private LocalDateTime brushTime;
|
||||
|
||||
/**
|
||||
* 平台订单号(可选)
|
||||
*/
|
||||
@Schema(description = "平台订单号", example = "TB202401010001")
|
||||
private String platformOrderNo;
|
||||
|
||||
/**
|
||||
* 刷单数量
|
||||
|
||||
-5
@@ -48,11 +48,6 @@ public class UpdateBrushOrderDTO {
|
||||
@NotNull(message = "刷单时间不能为空")
|
||||
private LocalDateTime brushTime;
|
||||
|
||||
/**
|
||||
* 平台订单号(可选)
|
||||
*/
|
||||
@Schema(description = "平台订单号", example = "TB202401010001")
|
||||
private String platformOrderNo;
|
||||
|
||||
/**
|
||||
* 刷单数量
|
||||
|
||||
-5
@@ -57,11 +57,6 @@ public class BrushOrderPO {
|
||||
@TableField("brush_time")
|
||||
private LocalDateTime brushTime;
|
||||
|
||||
/**
|
||||
* 平台订单号(可选)
|
||||
*/
|
||||
@TableField("platform_order_no")
|
||||
private String platformOrderNo;
|
||||
|
||||
/**
|
||||
* 刷单数量
|
||||
|
||||
-5
@@ -73,11 +73,6 @@ public class BrushOrderVO {
|
||||
@Schema(description = "刷单时间", example = "2024-01-01T10:00:00")
|
||||
private LocalDateTime brushTime;
|
||||
|
||||
/**
|
||||
* 平台订单号
|
||||
*/
|
||||
@Schema(description = "平台订单号", example = "TB202401010001")
|
||||
private String platformOrderNo;
|
||||
|
||||
/**
|
||||
* 刷单数量
|
||||
|
||||
-5
@@ -90,7 +90,6 @@ public class BrushOrderServiceImpl extends ServiceImpl<BrushOrderMapper, BrushOr
|
||||
brushOrder.setProductSpecId(createBrushOrderDTO.getProductSpecId());
|
||||
brushOrder.setBrushAmount(createBrushOrderDTO.getBrushAmount());
|
||||
brushOrder.setBrushTime(createBrushOrderDTO.getBrushTime());
|
||||
brushOrder.setPlatformOrderNo(createBrushOrderDTO.getPlatformOrderNo());
|
||||
brushOrder.setQuantity(createBrushOrderDTO.getQuantity() != null ? createBrushOrderDTO.getQuantity() : 1);
|
||||
brushOrder.setRemark(createBrushOrderDTO.getRemark());
|
||||
brushOrder.setCreateBy(currentUserContext.getCurrentUserId());
|
||||
@@ -150,7 +149,6 @@ public class BrushOrderServiceImpl extends ServiceImpl<BrushOrderMapper, BrushOr
|
||||
existingBrushOrder.setProductSpecId(updateBrushOrderDTO.getProductSpecId());
|
||||
existingBrushOrder.setBrushAmount(updateBrushOrderDTO.getBrushAmount());
|
||||
existingBrushOrder.setBrushTime(updateBrushOrderDTO.getBrushTime());
|
||||
existingBrushOrder.setPlatformOrderNo(updateBrushOrderDTO.getPlatformOrderNo());
|
||||
if (updateBrushOrderDTO.getQuantity() != null) {
|
||||
existingBrushOrder.setQuantity(updateBrushOrderDTO.getQuantity());
|
||||
}
|
||||
@@ -212,9 +210,6 @@ public class BrushOrderServiceImpl extends ServiceImpl<BrushOrderMapper, BrushOr
|
||||
if (filter.getProductId() != null) {
|
||||
wrapper.eq(BrushOrderPO::getProductId, filter.getProductId());
|
||||
}
|
||||
if (filter.getPlatformOrderNo() != null && !filter.getPlatformOrderNo().trim().isEmpty()) {
|
||||
wrapper.like(BrushOrderPO::getPlatformOrderNo, filter.getPlatformOrderNo());
|
||||
}
|
||||
if (filter.getMinBrushAmount() != null) {
|
||||
wrapper.ge(BrushOrderPO::getBrushAmount, filter.getMinBrushAmount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user