|
|
@@ -28,7 +28,7 @@ public interface CollectionRepo extends JpaRepository<Collection, Long>, JpaSpec
|
|
|
@Transactional
|
|
|
@Modifying
|
|
|
@Query(value = "update collection_info c set c.on_shelf = ?2, c.salable = ?3, c.start_time = ?4, " +
|
|
|
- "c.schedule_sale = ?5, c.sort = ?6, c.detail = ?7, c.privileges = ?8, " +
|
|
|
+ "c.has_subscribe = ?5, c.sort = ?6, c.detail = ?7, c.privileges = ?8, " +
|
|
|
"c.properties = ?9, c.model3d = ?10, c.max_count = ?11, c.count_id = ?12, c.scan_code = ?13, " +
|
|
|
"c.no_sold_out = ?14, c.assignment = ?15, c.coupon_payment = ?16, c.share_bg = ?17," +
|
|
|
"c.register_bg = ?18, c.vip_quota = ?19, c.time_delay = ?20, c.sale_time = ?21, c.hold_days = ?22, " +
|
|
|
@@ -38,7 +38,7 @@ public interface CollectionRepo extends JpaRepository<Collection, Long>, JpaSpec
|
|
|
"where c.id = ?1", nativeQuery = true)
|
|
|
@CacheEvict(value = {"collection", "recommend"}, allEntries = true)
|
|
|
void update(@Nonnull Long id, boolean onShelf, boolean salable, LocalDateTime startTime,
|
|
|
- boolean schedule, int sort, String detail, String privileges,
|
|
|
+ boolean hasSubscribe, int sort, String detail, String privileges,
|
|
|
String properties, String model3d, int maxCount, String countId, boolean scanCode,
|
|
|
boolean noSoldOut, int assignment, boolean couponPayment, String shareBg, String registerBg,
|
|
|
Integer vipQuota, Boolean timeDelay, LocalDateTime saleTime, Integer holdDays, Boolean openQuota,
|