|
@@ -204,9 +204,12 @@ public class ProductController {
|
|
|
|
|
|
|
|
StoreCombination storeCombination = new StoreCombination();
|
|
StoreCombination storeCombination = new StoreCombination();
|
|
|
storeCombination.setUpdateTime(new Date());
|
|
storeCombination.setUpdateTime(new Date());
|
|
|
- storeCombination.setProductId(id);
|
|
|
|
|
storeCombination.setIsShow(showStatus);
|
|
storeCombination.setIsShow(showStatus);
|
|
|
- storeCombinationService.update(storeCombination);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ Condition queryStoreCombination = new Condition(StoreCombination.class);
|
|
|
|
|
+ queryStoreCombination.createCriteria().andEqualTo("productId", id);
|
|
|
|
|
+
|
|
|
|
|
+ storeCombinationService.update(storeCombination, queryStoreCombination);
|
|
|
|
|
|
|
|
});
|
|
});
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|