Browse Source

fix:[模板管理]导出

master
15881625488@163.com 2 months ago
parent
commit
08579b06f1
1 changed files with 32 additions and 0 deletions
  1. +32
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyFormFillController.java

+ 32
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyFormFillController.java View File

@ -1,9 +1,13 @@
package com.hxhq.business.controller;
import java.util.HashMap;
import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.hxhq.business.domain.*;
import com.hxhq.business.dto.study.StudyFormFillListDto;
import com.hxhq.business.enums.zykgl.JcgjlxEnum;
import com.hxhq.business.form.study.StudyFormFillGcForm;
import com.hxhq.business.form.study.StudyFormFillShfzForm;
import com.hxhq.business.form.study.StudyFormFillSearchForm;
@ -82,6 +86,34 @@ public class StudyFormFillController extends BaseController {
}
/**
* 稽查轨迹签名信息导出列表
*/
@GetMapping("/jcgjqmxxList")
@RequiresPermissions(value = {"business:studyFormFill:xq", "business:nonTrialFormFill:xq", "business:drugFormFill:xq"}, logical = Logical.OR)
public AjaxResult jcgjqmxxList(Integer jcgjlx,Long id) {
HashMap<String,Object> map=new HashMap<String,Object>();
//稽查轨迹
QueryWrapper<StudyFormFillJcgj> studyFormFillJcgjQueryWrapper = Wrappers.query();
studyFormFillJcgjQueryWrapper.eq("form_id",id);
if(jcgjlx!=null&&jcgjlx.intValue()>0){
Integer jcgjlxExport=999;
if(jcgjlx.intValue()==jcgjlxExport){
studyFormFillJcgjQueryWrapper.notIn("jcgjlx", JcgjlxEnum.xg.getValue());
}else{
studyFormFillJcgjQueryWrapper.eq("jcgjlx",jcgjlx);
}
}
studyFormFillJcgjQueryWrapper.orderByDesc("create_time");
map.put("jcgj",studyFormFillJcgjService.list(studyFormFillJcgjQueryWrapper));
//签名信息
QueryWrapper<StudyFormFillQmxx> studyFormFillQmxxQueryWrapper = Wrappers.query();
studyFormFillQmxxQueryWrapper.eq("form_id",id);
studyFormFillQmxxQueryWrapper.orderByDesc("create_time");
map.put("qmxx",studyFormFillQmxxService.list(studyFormFillQmxxQueryWrapper));
return AjaxResult.success(map);
}
/**
* 详细
*/
@GetMapping(value = "/info")

Loading…
Cancel
Save