|
@@ -140,7 +140,7 @@ public class Collection extends BaseEntity {
|
|
|
|
|
|
|
|
private Integer currentNumber;
|
|
private Integer currentNumber;
|
|
|
|
|
|
|
|
- @Formula(value = "if(stock = 0, 1, 0)")
|
|
|
|
|
|
|
+ @Formula(value = "if(stock <= 0, 1, 0)")
|
|
|
private int soldOut;
|
|
private int soldOut;
|
|
|
|
|
|
|
|
private int projectId;
|
|
private int projectId;
|