产品状态修正:移除待上架状态

This commit is contained in:
gaoqr
2025-09-28 18:16:17 +08:00
parent 37507ec0cc
commit 00d58afeb1
3 changed files with 3 additions and 10 deletions
@@ -8,7 +8,6 @@ import com.cf.imes.framework.common.pojo.PageResult;
import com.cf.imes.framework.common.util.Assert.AssertUtils;
import com.cf.imes.framework.common.util.object.BeanUtils;
import com.cf.imes.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.cf.imes.framework.mybatis.core.query.LambdaUpdateWrapperX;
import com.cf.imes.module.system.controller.admin.funds.products.vo.productDetails.ProductDetailsPageReqVO;
import com.cf.imes.module.system.controller.admin.funds.products.vo.productDetails.ProductDetailsSaveReqVO;
import com.cf.imes.module.system.dal.dataobject.funds.products.ProductsDO;
@@ -43,7 +43,7 @@ public class ProductsServiceImpl implements ProductsService {
ProductsDO productsDO = new ProductsDO()
.setProductName(productName)
.setPrice(createReqVO.getPrice())
.setStatus(ProductStatusEnum.PRODUCT_WAITING_UPDATES.getStatus())
.setStatus(createReqVO.getStatus())
.setSoftwareId(0);
productsMapper.insert(productsDO);
return productsDO.getId();