From b94399a7ab0a737131a189e438e1a135556a0dec Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期二, 14 一月 2025 10:17:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsBargainPriceServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsBargainPriceServiceImpl.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsBargainPriceServiceImpl.java
index 203c668..19c09e7 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsBargainPriceServiceImpl.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsBargainPriceServiceImpl.java
@@ -86,11 +86,11 @@
 		bargainPrice = new GoodsBargainPrice();
 		bargainPrice.setShopId(sysUser.getObjectId());
 		bargainPrice.setGoodsId(vo.getGoodsId());
-		bargainPrice.setAuditStatus(1);
+		bargainPrice.setAuditStatus(0);
 		bargainPrice.setDelFlag(0);
 		bargainPrice.setCreateTime(LocalDateTime.now());
 		bargainPrice.setCreateUserId(userid);
-		this.updateById(bargainPrice);
+		this.save(bargainPrice);
 		//添加明细
 		List<GoodsBargainPriceDetail> list = vo.getList();
 		for (GoodsBargainPriceDetail goodsBargainPriceDetail : list) {

--
Gitblit v1.7.1