leomonM
2025-08-22 20a82a1fe750b75e2771898c708983b86610f8c0
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())