Commit 2155d97f by 陶光胜

自助指标解密

parent 4f394828
......@@ -157,7 +157,6 @@ public class FlatQueryController {
@RequestMapping("/build-flat-query-download-task")
public DownloadTask buildDownloadTask(@RequestBody FlatQueryExecuteRequest executeRequest, HttpServletRequest request, HttpServletResponse response) {
List<FlatQueryCondition> queryConditions = executeRequest.getQueryConditions();
if(executeRequest.getQueryDataType() == QueryDataType.FULL){
Integer dataPermission = this.enterpriseService.getEnterpriseSettingByEnterpriseId(SessionContextUtils.getLoginUserEnterpriseId()).getDataPermission();
if(dataPermission != null){
for(FlatQueryCondition condition : queryConditions){
......@@ -171,7 +170,6 @@ public class FlatQueryController {
}
}
}
}
return this.flatQueryResultService.buildFlatQueryDownloadTask(
executeRequest.getUserId(),
executeRequest.getName(),
......
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