|
|
@ -1,9 +1,13 @@ |
|
|
package com.hxhq.business.controller; |
|
|
package com.hxhq.business.controller; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
import java.util.List; |
|
|
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.domain.*; |
|
|
import com.hxhq.business.dto.study.StudyFormApplyListDto; |
|
|
import com.hxhq.business.dto.study.StudyFormApplyListDto; |
|
|
|
|
|
import com.hxhq.business.enums.zykgl.JcgjlxEnum; |
|
|
import com.hxhq.business.form.study.StudyFormApplyGcForm; |
|
|
import com.hxhq.business.form.study.StudyFormApplyGcForm; |
|
|
import com.hxhq.business.form.study.StudyFormApplyShfzForm; |
|
|
import com.hxhq.business.form.study.StudyFormApplyShfzForm; |
|
|
import com.hxhq.business.form.study.StudyFormApplySearchForm; |
|
|
import com.hxhq.business.form.study.StudyFormApplySearchForm; |
|
|
@ -94,6 +98,35 @@ public class StudyFormApplyController extends BaseController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
* 稽查轨迹,签名信息导出列表 |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("/jcgjqmxxList") |
|
|
|
|
|
@RequiresPermissions(value = {"business:studyFormApply:xq", "business:nonTrialFormApply:xq", "business:drugFormApply:xq"}, logical = Logical.OR) |
|
|
|
|
|
public AjaxResult jcgjqmxxList(Integer jcgjlx,Long id) { |
|
|
|
|
|
HashMap<String,Object> map=new HashMap<String,Object>(); |
|
|
|
|
|
//稽查轨迹 |
|
|
|
|
|
QueryWrapper<StudyFormApplyJcgj> studyFormApplyJcgjQueryWrapper = Wrappers.query(); |
|
|
|
|
|
studyFormApplyJcgjQueryWrapper.eq("form_id",id); |
|
|
|
|
|
if(jcgjlx!=null&&jcgjlx.intValue()>0){ |
|
|
|
|
|
Integer jcgjlxExport=999; |
|
|
|
|
|
if(jcgjlx.intValue()==jcgjlxExport){ |
|
|
|
|
|
studyFormApplyJcgjQueryWrapper.notIn("jcgjlx", JcgjlxEnum.xg.getValue()); |
|
|
|
|
|
}else{ |
|
|
|
|
|
studyFormApplyJcgjQueryWrapper.eq("jcgjlx",jcgjlx); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
studyFormApplyJcgjQueryWrapper.orderByDesc("create_time"); |
|
|
|
|
|
map.put("jcgj",studyFormApplyJcgjService.list(studyFormApplyJcgjQueryWrapper)); |
|
|
|
|
|
//签名信息 |
|
|
|
|
|
QueryWrapper<StudyFormApplyQmxx> studyFormApplyQmxxQueryWrapper = Wrappers.query(); |
|
|
|
|
|
studyFormApplyQmxxQueryWrapper.eq("form_id",id); |
|
|
|
|
|
studyFormApplyQmxxQueryWrapper.orderByDesc("create_time"); |
|
|
|
|
|
map.put("qmxx",studyFormApplyQmxxService.list(studyFormApplyQmxxQueryWrapper)); |
|
|
|
|
|
return AjaxResult.success(map); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
* 详细 |
|
|
* 详细 |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping(value = "/info") |
|
|
@GetMapping(value = "/info") |
|
|
|