|
|
@@ -236,10 +236,10 @@ public class LiveGoodsServiceImpl implements ILiveGoodsService {
|
|
|
if (product.getIsShow() == null || product.getIsShow() == 0) {
|
|
|
notShelvedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
}
|
|
|
- // 检查是否未审核
|
|
|
- if (product.getIsAudit() == null || !"1".equals(product.getIsAudit())) {
|
|
|
- notAuditedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
- }
|
|
|
+ // 注释掉审核逻辑 - 不再检查商品是否审核
|
|
|
+ // if (product.getIsAudit() == null || !"1".equals(product.getIsAudit())) {
|
|
|
+ // notAuditedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
+ // }
|
|
|
// 检查是否已删除
|
|
|
if (product.getIsDel() != null && product.getIsDel() == 1) {
|
|
|
deletedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
@@ -251,13 +251,14 @@ public class LiveGoodsServiceImpl implements ILiveGoodsService {
|
|
|
errorMsg.append(LiveGoodsAddErrorEnum.NOT_SHELVED.getDesc()).append(":");
|
|
|
errorMsg.append(String.join("、", notShelvedProducts));
|
|
|
}
|
|
|
- if (!notAuditedProducts.isEmpty()) {
|
|
|
- if (errorMsg.length() > 0) {
|
|
|
- errorMsg.append(";");
|
|
|
- }
|
|
|
- errorMsg.append(LiveGoodsAddErrorEnum.NOT_AUDITED.getDesc()).append(":");
|
|
|
- errorMsg.append(String.join("、", notAuditedProducts));
|
|
|
- }
|
|
|
+ // 注释掉审核错误提示逻辑
|
|
|
+ // if (!notAuditedProducts.isEmpty()) {
|
|
|
+ // if (errorMsg.length() > 0) {
|
|
|
+ // errorMsg.append(";");
|
|
|
+ // }
|
|
|
+ // errorMsg.append(LiveGoodsAddErrorEnum.NOT_AUDITED.getDesc()).append(":");
|
|
|
+ // errorMsg.append(String.join("、", notAuditedProducts));
|
|
|
+ // }
|
|
|
if (!deletedProducts.isEmpty()) {
|
|
|
if (errorMsg.length() > 0) {
|
|
|
errorMsg.append(";");
|
|
|
@@ -324,10 +325,10 @@ public class LiveGoodsServiceImpl implements ILiveGoodsService {
|
|
|
if (product.getIsShow() == null || product.getIsShow() == 0) {
|
|
|
notShelvedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
}
|
|
|
- // 检查是否未审核
|
|
|
- if (product.getIsAudit() == null || !"1".equals(product.getIsAudit())) {
|
|
|
- notAuditedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
- }
|
|
|
+ // 注释掉审核逻辑 - 不再检查商品是否审核
|
|
|
+ // if (product.getIsAudit() == null || !"1".equals(product.getIsAudit())) {
|
|
|
+ // notAuditedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
+ // }
|
|
|
// 检查是否已删除
|
|
|
if (product.getIsDel() != null && product.getIsDel() == 1) {
|
|
|
deletedProducts.add(product.getProductId() + "(" + product.getProductName() + ")");
|
|
|
@@ -339,13 +340,14 @@ public class LiveGoodsServiceImpl implements ILiveGoodsService {
|
|
|
errorMsg.append(LiveGoodsAddErrorEnum.NOT_SHELVED.getDesc()).append(":");
|
|
|
errorMsg.append(String.join("、", notShelvedProducts));
|
|
|
}
|
|
|
- if (!notAuditedProducts.isEmpty()) {
|
|
|
- if (errorMsg.length() > 0) {
|
|
|
- errorMsg.append(";");
|
|
|
- }
|
|
|
- errorMsg.append(LiveGoodsAddErrorEnum.NOT_AUDITED.getDesc()).append(":");
|
|
|
- errorMsg.append(String.join("、", notAuditedProducts));
|
|
|
- }
|
|
|
+ // 注释掉审核错误提示逻辑
|
|
|
+ // if (!notAuditedProducts.isEmpty()) {
|
|
|
+ // if (errorMsg.length() > 0) {
|
|
|
+ // errorMsg.append(";");
|
|
|
+ // }
|
|
|
+ // errorMsg.append(LiveGoodsAddErrorEnum.NOT_AUDITED.getDesc()).append(":");
|
|
|
+ // errorMsg.append(String.join("、", notAuditedProducts));
|
|
|
+ // }
|
|
|
if (!deletedProducts.isEmpty()) {
|
|
|
if (errorMsg.length() > 0) {
|
|
|
errorMsg.append(";");
|