正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -175,7 +175,7 @@ public class DeviceController { | @@ -175,7 +175,7 @@ public class DeviceController { | ||
| 175 | @RequestMapping(value = "getFirmwareVersion/{app_type}",method = RequestMethod.POST) | 175 | @RequestMapping(value = "getFirmwareVersion/{app_type}",method = RequestMethod.POST) |
| 176 | public Message getFirmwareVersion(@PathVariable String app_type) | 176 | public Message getFirmwareVersion(@PathVariable String app_type) |
| 177 | { | 177 | { |
| 178 | - List list = baseDao.findListBysql("SELECT md5str,upload_file_path uploadFilePath,version_number versionNumber FROM liu_yu_le.`app_file_upgrade` WHERE app_type='"+app_type+"' ORDER BY id DESC limit 5"); | 178 | + List list = baseDao.findListBysql("SELECT md5str,upload_file_path uploadFilePath,version_number versionNumber,code FROM liu_yu_le.`app_file_upgrade` WHERE app_type='"+app_type+"' ORDER BY id DESC limit 5"); |
| 179 | return new Message(MessageCode.DEFAULT_SUCCESS_CODE,list); | 179 | return new Message(MessageCode.DEFAULT_SUCCESS_CODE,list); |
| 180 | } | 180 | } |
| 181 | 181 |
-
请 注册 或 登录 后发表评论