新增导入名称
This commit is contained in:
parent
82055adb98
commit
63fe18b839
@ -79,6 +79,13 @@ public class PatientInfoImportMain extends BaseEntity {
|
|||||||
@Excel(name = "患者导入情况")
|
@Excel(name = "患者导入情况")
|
||||||
private String importStatus;
|
private String importStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导入批次名称
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "导入批次名称")
|
||||||
|
@Excel(name = "导入批次名称")
|
||||||
|
private String importName;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||||
@ -93,4 +100,4 @@ public class PatientInfoImportMain extends BaseEntity {
|
|||||||
.append("followupCount", getFollowupCount())
|
.append("followupCount", getFollowupCount())
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -15,6 +15,7 @@
|
|||||||
<result property="followupStatus" column="followup_status"/>
|
<result property="followupStatus" column="followup_status"/>
|
||||||
<result property="followupCount" column="followup_count"/>
|
<result property="followupCount" column="followup_count"/>
|
||||||
<result property="importStatus" column="import_status"/>
|
<result property="importStatus" column="import_status"/>
|
||||||
|
<result property="importName" column="import_status"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap type="com.xinelu.manage.vo.patientinfoimportmain.PatientInfoImportMainVO" id="PatientInfoImportVOResult">
|
<resultMap type="com.xinelu.manage.vo.patientinfoimportmain.PatientInfoImportMainVO" id="PatientInfoImportVOResult">
|
||||||
<result property="id" column="id"/>
|
<result property="id" column="id"/>
|
||||||
@ -29,7 +30,7 @@
|
|||||||
<result property="importStatus" column="import_status"/>
|
<result property="importStatus" column="import_status"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="selectPatientInfoImportMainVo">
|
<sql id="selectPatientInfoImportMainVo">
|
||||||
select id, sn, create_time, create_by, hospital_agency_id, hospital_agency_name, file_name, followup_status, followup_count, import_status from patient_info_import_main
|
select id, sn, create_time, create_by, hospital_agency_id, hospital_agency_name, file_name, followup_status, followup_count, import_status ,import_name from patient_info_import_main
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectPatientInfoImportMainList" parameterType="PatientInfoImportMain" resultMap="PatientInfoImportMainResult">
|
<select id="selectPatientInfoImportMainList" parameterType="PatientInfoImportMain" resultMap="PatientInfoImportMainResult">
|
||||||
@ -56,6 +57,9 @@
|
|||||||
<if test="importStatus != null ">
|
<if test="importStatus != null ">
|
||||||
and import_status = #{importStatus}
|
and import_status = #{importStatus}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="importName != null ">
|
||||||
|
and import_name like concat('%', #{importName}, '%')
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
<select id="GetPatientInfoImport" resultType="com.xinelu.manage.vo.patientinfoimportmain.PatientInfoImportMainVO"
|
<select id="GetPatientInfoImport" resultType="com.xinelu.manage.vo.patientinfoimportmain.PatientInfoImportMainVO"
|
||||||
@ -78,6 +82,9 @@
|
|||||||
<if test="campusAgencyId != null ">
|
<if test="campusAgencyId != null ">
|
||||||
and p.hospital_agency_id = #{campusAgencyId}
|
and p.hospital_agency_id = #{campusAgencyId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="importName != null ">
|
||||||
|
and import_name like concat('%', #{importName}, '%')
|
||||||
|
</if>
|
||||||
<!-- 数据范围过滤 -->
|
<!-- 数据范围过滤 -->
|
||||||
${params.dataScope}
|
${params.dataScope}
|
||||||
</where>
|
</where>
|
||||||
@ -113,6 +120,8 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="importStatus != null">import_status,
|
<if test="importStatus != null">import_status,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="importName != null">import_name,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="sn != null">#{sn},
|
<if test="sn != null">#{sn},
|
||||||
@ -133,6 +142,8 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="importStatus != null">#{importStatus},
|
<if test="importStatus != null">#{importStatus},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="importName != null">#{importName},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
@ -166,6 +177,9 @@
|
|||||||
<if test="importStatus != null">import_status =
|
<if test="importStatus != null">import_status =
|
||||||
#{importStatus},
|
#{importStatus},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="importName != null">import_name =
|
||||||
|
#{importName},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
@ -210,6 +224,9 @@
|
|||||||
<if test="importStatus != null">import_status =
|
<if test="importStatus != null">import_status =
|
||||||
#{importStatus},
|
#{importStatus},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="importName != null">import_name =
|
||||||
|
#{importName},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
where sn = #{sn}
|
where sn = #{sn}
|
||||||
</update>
|
</update>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user