Browse Source

fix:[模板管理]优化

master
15881625488@163.com 2 hours ago
parent
commit
07d241d033
2 changed files with 13 additions and 1 deletions
  1. +12
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyFormFill.java
  2. +1
    -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

@ -166,6 +166,10 @@ public class StudyFormFill extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private String templateShowDy; private String templateShowDy;
/** 打印模板 */
@TableField(exist = false)
private String templateDymb;
/** 仅提交:1否;10是 */ /** 仅提交:1否;10是 */
@TableField(exist = false) @TableField(exist = false)
private Integer onlySubmit; private Integer onlySubmit;
@ -186,6 +190,14 @@ public class StudyFormFill extends MpBaseEntity
@TableField(exist = false) @TableField(exist = false)
private Integer showBlxjsh; private Integer showBlxjsh;
public String getTemplateDymb() {
return templateDymb;
}
public void setTemplateDymb(String templateDymb) {
this.templateDymb = templateDymb;
}
public String getTemplateShowDy() { public String getTemplateShowDy() {
return templateShowDy; return templateShowDy;
} }

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

@ -19,7 +19,7 @@
<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 select t.*,tm.name as templateMc,tm.name_en as templateMcEn,tm.sn as templateSn,tm.show_sn as templateShowSn
,ts.sn as studySn,ts.name as studyMc,tm.export_class as templateExportClass,tm.export_method as templateExportMethod,tm.product, ,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,ts.type as studyType,tm.show_blxjsh,tm.only_submit,tm.show_dy as templateShowDy
tm.pdf_size as templatePdfSize,tm.show_yjcc as templateShowYjcc,ts.type as studyType,tm.show_blxjsh,tm.only_submit,tm.show_dy as templateShowDy,tm.dymb as templateDymb
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