作者 钟来

初始提交

@@ -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