1.商品不推送修复
This commit is contained in:
@@ -365,7 +365,8 @@ public class StockServiceImpl implements StockService {
|
|||||||
break;
|
break;
|
||||||
case "pauseSale":
|
case "pauseSale":
|
||||||
sqlQuery.append(" set is_pause_sale = ").append(updateValueVO.getUpdateValue());
|
sqlQuery.append(" set is_pause_sale = ").append(updateValueVO.getUpdateValue());
|
||||||
TbProduct product1 = tbProductRepository.selectBySkuId(Integer.valueOf(updateValueVO.getTargetId()));
|
TbProduct product1 = tbProductRepository.getById(Integer.valueOf(updateValueVO.getTargetId()));
|
||||||
|
|
||||||
// 推送微信操作消息
|
// 推送微信操作消息
|
||||||
if (product1 != null) {
|
if (product1 != null) {
|
||||||
wxMsgUtils.aboardOperationMsg(("0".equals(updateValueVO.getUpdateValue()) ? "关闭售罄: " : "开启售罄: ") + product1.getName(), Integer.valueOf(updateValueVO.getShopId()));
|
wxMsgUtils.aboardOperationMsg(("0".equals(updateValueVO.getUpdateValue()) ? "关闭售罄: " : "开启售罄: ") + product1.getName(), Integer.valueOf(updateValueVO.getShopId()));
|
||||||
|
|||||||
Reference in New Issue
Block a user