sku 新增逻辑删除字段 和 起售值
This commit is contained in:
parent
6b230eaa1b
commit
61fe12c087
|
|
@ -29,6 +29,8 @@ public class TbProductSku implements Serializable {
|
||||||
|
|
||||||
private BigDecimal strategyPrice;
|
private BigDecimal strategyPrice;
|
||||||
|
|
||||||
|
private Integer suit;
|
||||||
|
|
||||||
private Double stockNumber;
|
private Double stockNumber;
|
||||||
|
|
||||||
private String coverImg;
|
private String coverImg;
|
||||||
|
|
@ -50,6 +52,7 @@ public class TbProductSku implements Serializable {
|
||||||
private Long updatedAt;
|
private Long updatedAt;
|
||||||
|
|
||||||
private Integer isPauseSale = 0;
|
private Integer isPauseSale = 0;
|
||||||
|
private Integer isDel;
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,7 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="selectByShopIdAndProductIdAndSpec" resultMap="ResultMapWithBLOBs">
|
<select id="selectByShopIdAndProductIdAndSpec" resultMap="ResultMapWithBLOBs">
|
||||||
select * from tb_product_sku where shop_id=#{shopId} and product_id=#{productId}
|
select * from tb_product_sku where shop_id=#{shopId} and product_id=#{productId} and is_del=0
|
||||||
|
|
||||||
<if test="spec != null and spec !=''">
|
<if test="spec != null and spec !=''">
|
||||||
and spec_snap = #{spec}
|
and spec_snap = #{spec}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue