任务拉取修改为basic_export_status

master
admin 2 years ago
parent 5dff0867ec
commit 147d54925f

@ -98,14 +98,14 @@ public class IdcServiceImpl implements IdcService {
@Override
public BaseResponse taskList(HttpServletRequest request,Map<String,Object> params) {
Map<String,Object> map = new HashMap<String,Object>();
map.put("sql", "select taskId from basic_upload_status where status='0'");
map.put("sql", "select id from basic_export_status where status='0'");
List<Map<String,Object>> list = dbDao.list(map);
return ResultVOUtils.success(list);
}
@Override
public BaseResponse download(HttpServletRequest request,Map<String,Object> params) {
Map<String,Object> map = dbDao.get("select * from basic_upload_status where taskId='"+params.get("taskId")+"'");
Map<String,Object> map = dbDao.get("select * from basic_export_status where id='"+params.get("taskId")+"'");
if(map==null)
ResultVOUtils.error(9000, "下载任务不存在");
String json = FileUtils.readFileAll(map.get("cacheFilePath").toString());
@ -113,6 +113,7 @@ public class IdcServiceImpl implements IdcService {
return ResultVOUtils.success(object);
}
/*UDI系统上传自助平台*/
@Override

Loading…
Cancel
Save