Browse Source

fix:[模板管理]新增字段

master
15881625488@163.com 2 months ago
parent
commit
ae18691391
2 changed files with 14 additions and 1 deletions
  1. +12
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormFill.java
  2. +2
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormFillMapper.xml

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

@ -147,6 +147,10 @@ public class StudyFormFill extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private String templatePdfSize; private String templatePdfSize;
/** 填报显示药剂存储按钮:1:否;10:显示 */
@TableField(exist = false)
private String templateShowYjcc;
/** 试验编号 */ /** 试验编号 */
@TableField(exist = false) @TableField(exist = false)
private String studySn; private String studySn;
@ -155,6 +159,14 @@ public class StudyFormFill extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private String studyMc; private String studyMc;
public String getTemplateShowYjcc() {
return templateShowYjcc;
}
public void setTemplateShowYjcc(String templateShowYjcc) {
this.templateShowYjcc = templateShowYjcc;
}
public String getTemplatePdfSize() { public String getTemplatePdfSize() {
return templatePdfSize; return templatePdfSize;
} }

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

@ -18,7 +18,8 @@
<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.name_en as templateMcEn,tm.sn as templateSn,tm.show_sn as templateShowSn,tm.dept_id as templateDeptId select t.*,tm.name as templateMc,tm.name_en as templateMcEn,tm.sn as templateSn,tm.show_sn as templateShowSn,tm.dept_id as templateDeptId
,ts.sn as studySn,ts.name as studyMc,tm.export_class as templateExportClass,tm.export_method as templateExportMethod,tm.product,tm.pdf_size as templatePdfSize
,ts.sn as studySn,ts.name as studyMc,tm.export_class as templateExportClass,tm.export_method as templateExportMethod,tm.product,
tm.pdf_size as templatePdfSize,tm.show_yjcc as templateShowYjcc
FROM `t_study_form_fill` t FROM `t_study_form_fill` t
join t_template tm on tm.id=t.template_id join t_template tm on tm.id=t.template_id
join t_study ts on ts.id=t.study_id join t_study ts on ts.id=t.study_id

Loading…
Cancel
Save