Przeglądaj źródła

增加测试代码

yujia 7 lat temu
rodzic
commit
af758836a0

+ 3 - 1
src/main/java/com/uas/platform/b2c/prod/commodity/service/impl/ReleaseProductByBatchServiceImpl.java

@@ -337,9 +337,10 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
             }
 		}
 		if (!isAPerson && !isPcb) {
+            System.err.println("批次上架测试代码");
 			String publish = publishByBatch(batch, isPcb);
 			modelMap.put("publish", publish);
-			System.err.println("批次上架");
+			System.err.println("批次上架测试代码");
 		}
 		modelMap.put("total", total);
 		modelMap.put("success", success);
@@ -1707,6 +1708,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
 	@Transactional
 	@Override
 	public String publishByBatch(String batch, boolean isPcb) {
+        System.err.println("测试信息的0" + "---------------------");
         if (StringUtils.isEmpty(batch)) {
             return "0";
         }