清理System.out.println
This commit is contained in:
@@ -170,7 +170,7 @@ public class BookChapterController {
|
||||
List<BookChapterEntity> bookChapterEntities = this.bookChapterService.getBaseMapper().selectList(new QueryWrapper<BookChapterEntity>()
|
||||
.eq("book_id", bookId)
|
||||
.ge("number", number));
|
||||
System.out.println("bookChapterEntitiesbookChapterEntitiesbookChapterEntities"+bookChapterEntities);
|
||||
// System.out.println("bookChapterEntitiesbookChapterEntitiesbookChapterEntities"+bookChapterEntities);
|
||||
|
||||
BookChapterEntity bookChapterEntity = null;
|
||||
for (BookChapterEntity entity : bookChapterEntities) {
|
||||
|
||||
@@ -337,7 +337,7 @@ public class BookForumArticlesServiceController {
|
||||
List<BookForumArticlesEntity> newBookList_all = bookForumArticlesService.getBaseMapper().selectList(new QueryWrapper<BookForumArticlesEntity>()
|
||||
.orderByDesc("create_time"));
|
||||
Set<BookForumArticlesEntity> uniqueSet = new HashSet<>();
|
||||
System.out.println();
|
||||
// System.out.println();
|
||||
for (BookForumArticlesEntity entity : newBookList_all) {
|
||||
boolean isUnique = true;
|
||||
for (BookForumArticlesEntity uniqueEntity : uniqueSet) {
|
||||
@@ -374,7 +374,7 @@ public class BookForumArticlesServiceController {
|
||||
String title = book.getTitle();
|
||||
Date createTime = book.getCreateTime();
|
||||
List<BookEntity> id = bookService.getBaseMapper().selectList(new QueryWrapper<BookEntity>().in("id", bookid1));
|
||||
System.out.println("id==========="+id);
|
||||
// System.out.println("id==========="+id);
|
||||
for (BookEntity bookentity : id) {
|
||||
String authorName = "";
|
||||
String images = bookentity.getImages();
|
||||
@@ -410,7 +410,7 @@ public class BookForumArticlesServiceController {
|
||||
bookForumArticlesVO.setContent(content);
|
||||
bookForumArticlesVO.setCreate_time(createTime);
|
||||
list.add(bookForumArticlesVO);
|
||||
System.out.println(list);
|
||||
// System.out.println(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public class BookShelfController {
|
||||
|
||||
.eq("book_id", bookShelf.getBookId())
|
||||
.eq("user_id", bookShelf.getUserId()));
|
||||
System.out.println("bookShelf"+bookShelf);
|
||||
// System.out.println("bookShelf"+bookShelf);
|
||||
if (integer > 0){
|
||||
return R.error(500,"当前书籍已加入书架");
|
||||
}
|
||||
|
||||
@@ -453,7 +453,7 @@ public class BuyOrderController {
|
||||
List<BuyOrder> list = buyOrderService.list(wrapper);
|
||||
for (BuyOrder b : list){
|
||||
List<Integer> orderBookId = shopProductBookService.getOrderBookId(b.getOrderSn());
|
||||
System.out.println(orderBookId);
|
||||
// System.out.println(orderBookId);
|
||||
userEbookBuyService.addBookForUser(b.getUserId(),orderBookId);
|
||||
}
|
||||
|
||||
|
||||
@@ -367,7 +367,6 @@ public class MyUserController {
|
||||
@Transactional
|
||||
public R registerOrLogin(String tel, String code,String inviteCode) {
|
||||
String redisCode = redisTemplate.opsForValue().get("RegistCode" + tel);
|
||||
System.out.println(redisCode);
|
||||
if (StringUtils.isEmpty(redisCode)){
|
||||
return R.error(500,"验证码已过期,请重试");
|
||||
}
|
||||
@@ -466,7 +465,6 @@ public class MyUserController {
|
||||
@RequestParam("password") String password,
|
||||
@RequestParam("code") String code) {
|
||||
String redisCode = redisTemplate.opsForValue().get("RegistCode" + phone);
|
||||
System.out.println(redisCode);
|
||||
if (StringUtils.isEmpty(redisCode)){
|
||||
return R.error(500,"验证码已过期,请重试");
|
||||
}
|
||||
@@ -501,11 +499,6 @@ public class MyUserController {
|
||||
@RequestParam(value = "hsuserId", required = false) Integer hsuserId) {
|
||||
|
||||
String s = HttpUtil.get("http://101.201.146.165:8088/App-EH/app/phone.do?login&loginName="+ phone +"&loginPwd="+ password +"");
|
||||
|
||||
System.out.println(s);
|
||||
|
||||
|
||||
|
||||
//将结果转成json 取值
|
||||
JSONObject jsonObject = JSON.parseObject(s);
|
||||
|
||||
@@ -521,7 +514,6 @@ public class MyUserController {
|
||||
String nameCN = jsonObject.getJSONObject("obj").getString("nameCN");
|
||||
// String password = jsonObject.getJSONObject("obj").getString("pass");
|
||||
|
||||
System.out.println("=====================yljkOid=============================="+yljkOid);
|
||||
|
||||
|
||||
//查询 当前 花生账号 和 当前绑定的 一路健康账号是否有绑定 关系
|
||||
@@ -575,7 +567,6 @@ public class MyUserController {
|
||||
|
||||
String redisCode = redisTemplate.opsForValue().get("RegistCode" + phone);
|
||||
|
||||
System.out.println(redisCode);
|
||||
|
||||
if (StringUtils.isEmpty(redisCode)){
|
||||
return R.error(500,"短信验证码已过期,请重试");
|
||||
|
||||
@@ -84,7 +84,7 @@ public class BookChapterContentServiceImpl extends ServiceImpl<BookChapterConten
|
||||
@Override
|
||||
public PageUtils queryPage(Map<String, Object> params) {
|
||||
Object chapterid = params.get("chapterid");
|
||||
System.out.println(chapterid);
|
||||
// System.out.println(chapterid);
|
||||
IPage<BookChapterContentEntity> page = this.page(
|
||||
new Query<BookChapterContentEntity>().getPage(params),
|
||||
new QueryWrapper<BookChapterContentEntity>().eq("book_id",params.get("bookid"))
|
||||
@@ -120,7 +120,7 @@ public class BookChapterContentServiceImpl extends ServiceImpl<BookChapterConten
|
||||
bcce.setContent(content.substring(start,end));
|
||||
bcce.setNumber(++count);
|
||||
save(bcce);
|
||||
System.out.println(content.substring(start,end));
|
||||
// System.out.println(content.substring(start,end));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public class BookChapterServiceImpl extends ServiceImpl<BookChapterDao, BookChap
|
||||
@Override
|
||||
public PageUtils queryPage1(Map<String, Object> params) {
|
||||
Object chapterid = params.get("chapterid");
|
||||
System.out.println(chapterid);
|
||||
// System.out.println(chapterid);
|
||||
IPage<BookChapterEntity> page = this.page(
|
||||
new Query<BookChapterEntity>().getPage(params),
|
||||
new QueryWrapper<BookChapterEntity>().eq("book_id",params.get("bookid"))
|
||||
|
||||
@@ -195,7 +195,7 @@ public class BookServiceImpl extends ServiceImpl<BookDao, BookEntity> implements
|
||||
}
|
||||
if (n == 0) {
|
||||
indexOf1 = newStr.indexOf(newChapterName);
|
||||
System.out.println("indexOf1" + indexOf1);
|
||||
// System.out.println("indexOf1" + indexOf1);
|
||||
}
|
||||
n = 1;
|
||||
bflag = true;
|
||||
@@ -209,8 +209,8 @@ public class BookServiceImpl extends ServiceImpl<BookDao, BookEntity> implements
|
||||
content.setContent(substring.trim());
|
||||
content.setBookId(bookEntityId);
|
||||
content.setNumber(++linecount);
|
||||
System.out.println(substring);
|
||||
System.out.println(content.toString());
|
||||
// System.out.println(substring);
|
||||
// System.out.println(content.toString());
|
||||
bookChapterService.save(content);
|
||||
}
|
||||
}
|
||||
@@ -380,9 +380,9 @@ public class BookServiceImpl extends ServiceImpl<BookDao, BookEntity> implements
|
||||
//遍历Paragraph,每个小节下有若干段落
|
||||
for (int j = 0; j < section.getParagraphs().getCount() - 1; j++) {
|
||||
Paragraph paragraph = section.getParagraphs().get(j);
|
||||
System.out.println(paragraph.getStyleName() + "-----");
|
||||
System.out.println(paragraph.getText().trim());
|
||||
System.out.println(StringUtils.isNotBlank(paragraph.getText().trim()));
|
||||
// System.out.println(paragraph.getStyleName() + "-----");
|
||||
// System.out.println(paragraph.getText().trim());
|
||||
// System.out.println(StringUtils.isNotBlank(paragraph.getText().trim()));
|
||||
//获取标题
|
||||
if (paragraph.getStyleName().equals("Heading1") && StringUtils.isNotBlank(paragraph.getText().trim()))//段落样式为“标题1”的内容
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@ public class BuyOrderDetailServiceImpl extends ServiceImpl<BuyOrderDetailDao, Bu
|
||||
.eq("user_id",userid)
|
||||
|
||||
);
|
||||
System.out.println("=====querybuy=====userid================"+userid);
|
||||
// System.out.println("=====querybuy=====userid================"+userid);
|
||||
return new PageUtils(page);
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ public class MyUserServiceImpl extends ServiceImpl<MyUserDao, MyUserEntity> impl
|
||||
// 复制代码运行请自行打印 API 的返回值
|
||||
SendSmsResponse sendSmsResponse = client.sendSmsWithOptions(sendSmsRequest, runtime);
|
||||
SendSmsResponseBody body = sendSmsResponse.getBody();
|
||||
System.out.println(body.getMessage());
|
||||
// System.out.println(body.getMessage());
|
||||
|
||||
} catch (TeaException error) {
|
||||
// 如有需要,请打印 error
|
||||
|
||||
@@ -55,7 +55,7 @@ public class OrderCartServiceImpl extends ServiceImpl<OrderCartDao, OrderCartEnt
|
||||
Integer productId = orderCartEntity.getProductId();
|
||||
|
||||
ShopProduct productEntity = shopProductService.getById(productId);
|
||||
System.out.println("productEntity=============================="+productEntity);
|
||||
// System.out.println("productEntity=============================="+productEntity);
|
||||
if (productEntity != null) {
|
||||
ShopCartVo shopCartVo = new ShopCartVo();
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ public class ShopCategoryServiceImpl extends ServiceImpl<ShopCategoryDao, ShopCa
|
||||
@Override
|
||||
public List<ShopCategoryEntity> getOneLevel() {
|
||||
List<ShopCategoryEntity> list = this.list(new QueryWrapper<ShopCategoryEntity>().eq("parent_cid", 1).eq("show_status", 1));
|
||||
System.out.println("list=================================="+list);
|
||||
// System.out.println("list=================================="+list);
|
||||
|
||||
// List<ShopCategoryEntity> list = this.list(new QueryWrapper<ShopCategoryEntity>().eq("name", "医学视频").eq("show_status", 1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user