zhs
7 天以前 90e436edb375b1983f16aa10066497fbabbaa010
05-30 zhs
已修改2个文件
14 ■■■■■ 文件已修改
smartor/src/main/java/com/smartor/domain/ServiceSubtaskVO.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/ServiceSubtaskVO.java
@@ -681,4 +681,10 @@
    @ApiModelProperty(value = "患者上次随访的subId")
    private Integer upid;
    /**
     * 随访次数标识
     */
    @ApiModelProperty(value = "随访次数标识:0首次随访  1再次随访")
    private Integer visit_count_flag;
}
smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -287,7 +287,13 @@
            <if test="excep != null ">and excep = #{excep}</if>
            <if test="nurseName != null ">and nurse_name = #{nurseName}</if>
            <if test="score != null">and score = #{score}</if>
            <if test="visitCount != null">and visit_count = #{visitCount}</if>
<!--            <if test="visitCount != null">and visit_count = #{visitCount}</if>-->
            <if test="visit_count_flag != null and visit_count_flag == 0">
                AND visit_count = 1
            </if>
            <if test="visit_count_flag != null and visit_count_flag == 1">
                AND visit_count > 1
            </if>
            <if test="remark != null">and remark = #{remark}</if>
            <if test="suggest != null">and suggest = #{suggest}</if>
            <if test="createBy != null">and create_by = #{createBy}</if>