Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
whh1009 committed Apr 11, 2019
1 parent 8a8e943 commit f1644ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added cw/WebRoot/WEB-INF/lib/servlet-api.jar
Binary file not shown.
Empty file added cw/WebRoot/out/test.txt
Empty file.
4 changes: 2 additions & 2 deletions cw/src/com/wuzhou/service/BookIncomingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public Page<CwSaleModel> groupByBookNum (String startTime, String endTime, Strin
if(StrKit.notBlank(platform) && !"0".equals(platform)) {
sqlExceptSelect += " AND platform = '"+platform+"'";
}
sqlExceptSelect += " GROUP BY book_num ORDER BY id DESC";
sqlExceptSelect += " GROUP BY platform, book_num ORDER BY id DESC";
System.out.println(sqlExceptSelect);
return CwSaleModel.dao.paginate(pageNumber, 15, select, sqlExceptSelect);
}
Expand All @@ -245,7 +245,7 @@ public String createXsltGroupByBookNum(String startTime, String endTime, String
if(StrKit.notBlank(platform) && !"0".equals(platform)) {
sql += " AND platform = '"+platform+"'";
}
sql += " GROUP BY book_num ORDER BY id DESC";
sql += " GROUP BY platform, book_num ORDER BY id DESC";
List<CwSaleModel> list = CwSaleModel.dao.find(sql);
if(list==null||list.isEmpty()){
return "";
Expand Down
4 changes: 2 additions & 2 deletions cw/src/db_config.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jdbcUrl = jdbc:mysql://localhost:3306/wuzhou?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true
jdbcUrl = jdbc:mysql://172.16.1.214:3606/wuzhou?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true
user = root
password = 123456
password = cp_#1897&Whh

0 comments on commit f1644ca

Please sign in to comment.