Browse Source

feat:[试验管理][预填,填报,计划]返回试验信息

master
15881625488@163.com 1 week ago
parent
commit
f6038b34fb
8 changed files with 106 additions and 2 deletions
  1. +24
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormApply.java
  2. +24
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormFill.java
  3. +24
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormPlan.java
  4. +24
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormPre.java
  5. +3
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormApplyMapper.xml
  6. +2
    -0
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormFillMapper.xml
  7. +3
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormPlanMapper.xml
  8. +2
    -0
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormPreMapper.xml

+ 24
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormApply.java View File

@ -76,6 +76,30 @@ public class StudyFormApply extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private Long templateDeptId; private Long templateDeptId;
/** 试验编号 */
@TableField(exist = false)
private String studySn;
/** 试验名称 */
@TableField(exist = false)
private String studyMc;
public String getStudySn() {
return studySn;
}
public void setStudySn(String studySn) {
this.studySn = studySn;
}
public String getStudyMc() {
return studyMc;
}
public void setStudyMc(String studyMc) {
this.studyMc = studyMc;
}
public String getQmyy() { public String getQmyy() {
return qmyy; return qmyy;
} }

+ 24
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormFill.java View File

@ -78,6 +78,30 @@ public class StudyFormFill extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private Long templateDeptId; private Long templateDeptId;
/** 试验编号 */
@TableField(exist = false)
private String studySn;
/** 试验名称 */
@TableField(exist = false)
private String studyMc;
public String getStudySn() {
return studySn;
}
public void setStudySn(String studySn) {
this.studySn = studySn;
}
public String getStudyMc() {
return studyMc;
}
public void setStudyMc(String studyMc) {
this.studyMc = studyMc;
}
public Long getTemplateDeptId() { public Long getTemplateDeptId() {
return templateDeptId; return templateDeptId;
} }

+ 24
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormPlan.java View File

@ -68,6 +68,30 @@ public class StudyFormPlan extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private String templateSn; private String templateSn;
/** 试验编号 */
@TableField(exist = false)
private String studySn;
/** 试验名称 */
@TableField(exist = false)
private String studyMc;
public String getStudySn() {
return studySn;
}
public void setStudySn(String studySn) {
this.studySn = studySn;
}
public String getStudyMc() {
return studyMc;
}
public void setStudyMc(String studyMc) {
this.studyMc = studyMc;
}
public String getQmyy() { public String getQmyy() {
return qmyy; return qmyy;
} }

+ 24
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormPre.java View File

@ -86,6 +86,30 @@ public class StudyFormPre extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private Long templateDeptId; private Long templateDeptId;
/** 试验编号 */
@TableField(exist = false)
private String studySn;
/** 试验名称 */
@TableField(exist = false)
private String studyMc;
public String getStudySn() {
return studySn;
}
public void setStudySn(String studySn) {
this.studySn = studySn;
}
public String getStudyMc() {
return studyMc;
}
public void setStudyMc(String studyMc) {
this.studyMc = studyMc;
}
public Long getTemplateDeptId() { public Long getTemplateDeptId() {
return templateDeptId; return templateDeptId;
} }

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

@ -16,8 +16,10 @@
<select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormApply"> <select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormApply">
select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId
,ts.sn as studySn,ts.name as studyMc
FROM `t_study_form_apply` t FROM `t_study_form_apply` t
left join t_template tm on tm.id=t.template_id
left join t_template tm on tm.id=t.template_id
left join t_study ts on ts.id=t.study_id
where t.id=#{id} where t.id=#{id}
</select> </select>
</mapper> </mapper>

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

@ -16,8 +16,10 @@
<select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormFill"> <select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormFill">
select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId
,ts.sn as studySn,ts.name as studyMc
FROM `t_study_form_fill` t FROM `t_study_form_fill` t
left join t_template tm on tm.id=t.template_id left join t_template tm on tm.id=t.template_id
left join t_study ts on ts.id=t.study_id
where t.id=#{id} where t.id=#{id}
</select> </select>
</mapper> </mapper>

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

@ -16,8 +16,10 @@
<select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormPlan"> <select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormPlan">
select t.*,tm.name as templateMc,tm.sn as templateSn select t.*,tm.name as templateMc,tm.sn as templateSn
,ts.sn as studySn,ts.name as studyMc
FROM `t_study_form_plan` t FROM `t_study_form_plan` t
left join t_template tm on tm.id=t.template_id
left join t_template tm on tm.id=t.template_id
left join t_study ts on ts.id=t.study_id
where t.id=#{id} where t.id=#{id}
</select> </select>
</mapper> </mapper>

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

@ -16,8 +16,10 @@
<select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormPre"> <select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormPre">
select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId
,ts.sn as studySn,ts.name as studyMc
FROM `t_study_form_pre` t FROM `t_study_form_pre` t
left join t_template tm on tm.id=t.template_id left join t_template tm on tm.id=t.template_id
left join t_study ts on ts.id=t.study_id
where t.id=#{id} where t.id=#{id}
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save