Commit 816f15c7 authored by zhangyong's avatar zhangyong

1

parent 8a8e9fbf
...@@ -31,7 +31,7 @@ public class PlatformLayoutServiceImpl implements PlatformLayoutService { ...@@ -31,7 +31,7 @@ public class PlatformLayoutServiceImpl implements PlatformLayoutService {
private JdbcTemplate jdbcTemplate; private JdbcTemplate jdbcTemplate;
@Override @Override
public List<Map<String, Object>> query(Map<String, Object> params) { public List<Map<String, Object>> query(Map<String, Object> params) {
String sql = "SELECT sPlatformNO playformNO,sPlatformName platformName,sLogoPath1 logoPath1 ,sLogoPath2 logoPath2,sLogoPath3 logoPath3,sThemeNO themeNO,sThemeJson themeJson,sMemo memo,dLastUpdateTime lastUpdateTime " String sql = "SELECT sPlatformNO platformNO,sPlatformName platformName,sLogoPath1 logoPath1 ,sLogoPath2 logoPath2,sLogoPath3 logoPath3,sThemeNO themeNO,sThemeJson themeJson,sMemo memo,dLastUpdateTime lastUpdateTime "
+ " FROM tPlatformLayout " + " FROM tPlatformLayout "
+ "WHERE nTag &1=0 ORDER BY dLastUpdateTime DESC "; + "WHERE nTag &1=0 ORDER BY dLastUpdateTime DESC ";
return jdbcTemplate.queryForList(sql); return jdbcTemplate.queryForList(sql);
......
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