Browse Source

feat: [试验管理] 删除多余字段

master
memorylkf 4 days ago
parent
commit
e1c226f23c
2 changed files with 1 additions and 15 deletions
  1. +0
    -13
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/study/StudyFormFillListDto.java
  2. +1
    -2
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormFillMapper.xml

+ 0
- 13
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/study/StudyFormFillListDto.java View File

@ -13,11 +13,6 @@ public class StudyFormFillListDto extends StudyFormFill {
*/
private Long subjectLeader;
/**
* 试验SD(试验负责人)
*/
private Long studyLeader;
public Long getSubjectLeader() {
return subjectLeader;
}
@ -25,12 +20,4 @@ public class StudyFormFillListDto extends StudyFormFill {
public void setSubjectLeader(Long subjectLeader) {
this.subjectLeader = subjectLeader;
}
public Long getStudyLeader() {
return studyLeader;
}
public void setStudyLeader(Long studyLeader) {
this.studyLeader = studyLeader;
}
}

+ 1
- 2
hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormFillMapper.xml View File

@ -5,11 +5,10 @@
<mapper namespace="com.hxhq.business.mapper.StudyFormFillMapper">
<select id="queryList" resultType="com.hxhq.business.dto.study.StudyFormFillListDto">
select t.id,t.bdbh,t.bdmc,t.create_time,t.user_mc,t.user_id,t.bdzt,t.bdzt,t.tjsj,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId
,ss.leader as subjectLeader,s.id as studyLeader
,ss.leader as subjectLeader
FROM `t_study_form_fill` t
join t_template tm on tm.id=t.template_id
join t_study_subject ss on t.study_subject_id=ss.id
join t_study s on t.study_id=s.id
<if test="ew.sqlSegment != '' and ew.sqlSegment != null">
<where>
${ew.sqlSegment}

Loading…
Cancel
Save