Commit 6952916c by manxiaoqiang

location

parent 0df998dc
...@@ -104,7 +104,7 @@ public class ReportCallable ...@@ -104,7 +104,7 @@ public class ReportCallable
} }
public String generateSql(AppInfo appInfo, int pageNum, int pageSize, String sortString, Integer isASC, String searchString, String startDate, String endDate, boolean isTotal) { public String generateSql(AppInfo appInfo, int pageNum, int pageSize, String sortString, Integer isASC, String searchString, String startDate, String endDate, boolean isTotal) {
String sql = "select t1.`name`,t1.reyun,t1.pkg_name,t1.company,t1.first_cate,t1.logo_url,t1.os,t1.second_cate, sum(t2.dev_num) as num \n" + String sql = "select t1.location, t1.`name`,t1.reyun,t1.pkg_name,t1.company,t1.first_cate,t1.logo_url,t1.os,t1.second_cate, sum(t2.dev_num) as num \n" +
"from (\n" + "from (\n" +
"select * from app_info \n" + "select * from app_info \n" +
"%s %s\n" + "%s %s\n" +
...@@ -189,6 +189,7 @@ public class ReportCallable ...@@ -189,6 +189,7 @@ public class ReportCallable
app.setLogoUrl(rs.getString("logo_url")); app.setLogoUrl(rs.getString("logo_url"));
app.setOs(rs.getString("os")); app.setOs(rs.getString("os"));
app.setSecondCate(rs.getString("second_cate")); app.setSecondCate(rs.getString("second_cate"));
app.setLocation(rs.getString("location"));
list.add(app); list.add(app);
} }
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<task:scheduled-tasks> <task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)--> <!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled ref="SyncAppDataTask" method="syncAppInfo" cron="0 21 11 * * ?"/> <task:scheduled ref="SyncAppDataTask" method="syncAppInfo" cron="0 31 8 * * ?"/>
<task:scheduled ref="SyncAppDataTask" method="syncAppDeviceNum" cron="0 0 11 * * ?"/> <task:scheduled ref="SyncAppDataTask" method="syncAppDeviceNum" cron="0 11 8 * * ?"/>
</task:scheduled-tasks> </task:scheduled-tasks>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment