专病路径

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 = "节点审核备注信息,存储审核备注信息以及审核不通过原因等信息")
private String routeCheckRemark;
/**
* 节点内容
*/
@ApiModelProperty(value = "节点内容")
@Excel(name = "节点内容")
private String nodeContent;
@Override
public String toString() {

View File

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