商品模块代码提交
This commit is contained in:
@@ -13,6 +13,7 @@ import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 耗材信息
|
||||
@@ -102,5 +103,8 @@ public class ConsInfoDTO implements Serializable {
|
||||
* 结束时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 耗材绑定商品信息
|
||||
*/
|
||||
List<ProductBriefDTO> productList;
|
||||
}
|
||||
@@ -219,6 +219,14 @@ public class ProductDTO implements Serializable {
|
||||
* 会员最低售价
|
||||
*/
|
||||
private BigDecimal lowMemberPrice;
|
||||
/**
|
||||
* 商品关联耗材列表
|
||||
*/
|
||||
private List<ProdConsRelationDTO> consList;
|
||||
/**
|
||||
* 耗材信息
|
||||
*/
|
||||
private String consName;
|
||||
|
||||
public Object getImages() {
|
||||
return JSON.parseArray(Convert.toStr(images, "[]"));
|
||||
|
||||
@@ -34,4 +34,6 @@ public interface ProductService extends IService<Product> {
|
||||
boolean markProductIsSoldOut(ProductIsSoldOutParam param);
|
||||
|
||||
void refundToStock(ProdRefundToStockParam param);
|
||||
|
||||
void stockWarning(Integer warnLine);
|
||||
}
|
||||
Reference in New Issue
Block a user