xin
2025-08-25 32a41e7b04e44a9aba33dd3d71fb79364dc6c851
oying-system/src/main/java/com/oying/modules/pc/store/service/impl/StoreServiceImpl.java
@@ -225,6 +225,14 @@
    }
    @Override
    public boolean updatePackagingFee(Long storeId, BigDecimal packagingFee, Long version) {
        Store existingStore = this.getOrThrow(storeId, version);
        LambdaUpdateWrapper<Store> wrapper = this.createLambdaUpdateWrapper(storeId, existingStore.getVersion())
                .set(Store::getPackagingFee, packagingFee);
        return update(wrapper);
    }
    @Override
    public boolean updateStatus(Long storeId, Integer status, Long version) {
        Store existingStore = this.getOrThrow(storeId, version);
        LambdaUpdateWrapper<Store> wrapper = this.createLambdaUpdateWrapper(storeId, existingStore.getVersion())