liusheng
昨天 6935135cee4cf8116d750f892582ae571e329ac7
代码提交
已修改2个文件
8 ■■■■■ 文件已修改
smartor/src/main/java/com/smartor/domain/PatArchiveReq.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/PatArchiveReq.java
@@ -192,4 +192,10 @@
    @ApiModelProperty(value = "科室编码")
    @Excel(name = " 科室编码 ")
    private List<String> deptcodes;
    /**
     * 出入院标识
     */
    @ApiModelProperty("出入院标识:0入院  1出院  ")
    private Integer cry;
}
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -891,6 +891,8 @@
            <if test="endtime != null">
                AND d.endtime = #{endtime}
            </if>
            <if test="cry != null and cry == 0 ">and d.endtime is null</if>
            <if test="cry != null and cry == 1 ">and d.endtime is not null</if>
            <if test="visitno != null and visitno != ''">
                AND d.inhospno = #{visitno}
            </if>