|
|
|
@ -114,13 +114,15 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
@Override
|
|
|
|
|
public BaseResponse download(HttpServletRequest request,Map<String,Object> params) {
|
|
|
|
|
String id="";
|
|
|
|
|
String tableName = params.get("scheduleType")!=null&¶ms.get("scheduleType").equals("3") ? "basic_export_status" : "basic_export_status";
|
|
|
|
|
if(params.containsKey("taskId")&¶ms.get("taskId")!=null) {
|
|
|
|
|
id = params.get("taskId").toString();
|
|
|
|
|
} else {
|
|
|
|
|
id = params.get("id").toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String,Object> map = dbDao.get("select * from basic_export_status where id='"+id+"'");
|
|
|
|
|
|
|
|
|
|
Map<String,Object> map = map = dbDao.get("select * from "+tableName+" where id='"+id+"'");
|
|
|
|
|
|
|
|
|
|
if(map==null)
|
|
|
|
|
return ResultVOUtils.error(9000, "下载任务不存在");
|
|
|
|
|