专病路径

This commit is contained in:
zhangheng 2024-03-29 17:26:15 +08:00
parent 92238dcd2b
commit 1c1bbcf87c
2 changed files with 23 additions and 1 deletions

View File

@ -316,6 +316,13 @@ public class SpecialDiseaseNode extends BaseEntity {
@Excel(name = "节点审核备注信息,存储审核备注信息以及审核不通过原因等信息") @Excel(name = "节点审核备注信息,存储审核备注信息以及审核不通过原因等信息")
private String routeCheckRemark; private String routeCheckRemark;
/**
* 节点内容
*/
@ApiModelProperty(value = "节点内容")
@Excel(name = "节点内容")
private String nodeContent;
@Override @Override
public String toString() { public String toString() {

View File

@ -64,6 +64,7 @@
<result property="routeCheckPerson" column="route_check_person"/> <result property="routeCheckPerson" column="route_check_person"/>
<result property="routeCheckDate" column="route_check_date"/> <result property="routeCheckDate" column="route_check_date"/>
<result property="routeCheckRemark" column="route_check_remark"/> <result property="routeCheckRemark" column="route_check_remark"/>
<result property="nodeContent" column="node_content"/>
<result property="createBy" column="create_by"/> <result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/> <result property="updateBy" column="update_by"/>
@ -112,6 +113,7 @@
route_check_person, route_check_person,
route_check_date, route_check_date,
route_check_remark, route_check_remark,
node_content,
create_by, create_by,
create_time, create_time,
update_by, update_by,
@ -242,6 +244,9 @@
<if test="routeCheckRemark != null and routeCheckRemark != ''"> <if test="routeCheckRemark != null and routeCheckRemark != ''">
and route_check_remark = #{routeCheckRemark} and route_check_remark = #{routeCheckRemark}
</if> </if>
<if test="nodeContent != null and nodeContent != ''">
and node_content = #{nodeContent}
</if>
</where> </where>
</select> </select>
@ -343,6 +348,8 @@
</if> </if>
<if test="updateTime != null">update_time, <if test="updateTime != null">update_time,
</if> </if>
<if test="nodeContent != null">node_content,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="routeId != null">#{routeId}, <if test="routeId != null">#{routeId},
@ -433,6 +440,8 @@
</if> </if>
<if test="updateTime != null">#{updateTime}, <if test="updateTime != null">#{updateTime},
</if> </if>
<if test="nodeContent != null">#{nodeContent},
</if>
</trim> </trim>
</insert> </insert>
@ -571,6 +580,9 @@
<if test="updateTime != null">update_time = <if test="updateTime != null">update_time =
#{updateTime}, #{updateTime},
</if> </if>
<if test="nodeContent != null">node_content =
#{nodeContent},
</if>
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>
@ -630,6 +642,7 @@
route_check_person, route_check_person,
route_check_date, route_check_date,
route_check_remark, route_check_remark,
node_content,
create_by, create_by,
create_time create_time
) values ) values
@ -675,6 +688,7 @@
#{specialDiseaseNodeList.routeCheckPerson}, #{specialDiseaseNodeList.routeCheckPerson},
#{specialDiseaseNodeList.routeCheckDate}, #{specialDiseaseNodeList.routeCheckDate},
#{specialDiseaseNodeList.routeCheckRemark}, #{specialDiseaseNodeList.routeCheckRemark},
#{specialDiseaseNodeList.nodeContent},
#{specialDiseaseNodeList.createBy}, #{specialDiseaseNodeList.createBy},
#{specialDiseaseNodeList.createTime} #{specialDiseaseNodeList.createTime}
) )
@ -741,7 +755,8 @@
sdn.route_check_status, sdn.route_check_status,
sdn.route_check_person, sdn.route_check_person,
sdn.route_check_date, sdn.route_check_date,
sdn.route_check_remark sdn.route_check_remark,
sdn.node_content
from special_disease_route sdr from special_disease_route sdr
left join special_disease_node sdn ON sdn.route_id = sdr.id left join special_disease_node sdn ON sdn.route_id = sdr.id
where sdr.id = #{specialDiseaseRouteId} where sdr.id = #{specialDiseaseRouteId}