Commit c76cb448 authored by liuChang's avatar liuChang

导出

parent 9f4d30d2
...@@ -69,8 +69,7 @@ public class ExportController { ...@@ -69,8 +69,7 @@ public class ExportController {
public AjaxResult enterpriseAptitudeExport(@RequestBody JSONObject object) { public AjaxResult enterpriseAptitudeExport(@RequestBody JSONObject object) {
ComposeQueryDto compose = JSONObject.parseObject(object.toJSONString(), ComposeQueryDto.class); ComposeQueryDto compose = JSONObject.parseObject(object.toJSONString(), ComposeQueryDto.class);
if (null==compose.getAptitudeQueryDto() if (null==compose.getAptitudeQueryDto()
||CollectionUtils.isEmpty(compose.getAptitudeQueryDto().getAptitudeDtoList()) || !ObjectUtils.hasValueThroughObj(compose.getAptitudeQueryDto(), null, Arrays.asList("and", "or", "yes", "no", "level", "qualification", "new", "only"))) {
|| !ObjectUtils.hasValueThroughObj(compose.getAptitudeQueryDto().getAptitudeDtoList().get(0), null, Arrays.asList("and", "or", "yes", "no", "level", "qualification", "new", "only"))) {
return AjaxResult.warn("导出筛选条件为空!"); return AjaxResult.warn("导出筛选条件为空!");
} }
if (StringUtils.isEmpty(compose.getExportExeclName())){ if (StringUtils.isEmpty(compose.getExportExeclName())){
......
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