zjh
7 天以前 a0dde8aa21d8bc2b55ccbb2278fc730f75f7ef8b
ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
@@ -227,4 +227,20 @@
                #{aaa,mode=IN,jdbcType=VARCHAR}
        )}
    </select>
    <select id="getLisViewList" resultType="java.util.Map">
        SELECT * FROM `v_examitem`
    </select>
    <select id="getOpenDxTjProjectList" parameterType="string" resultType="com.ltkj.hosp.domain.TjProject">
        SELECT * FROM `tj_project`
        <where>
            pro_parent_id=0 and pro_status=0 and deleted=0
            <if test="nr != null ">and (pro_name  like concat('%', #{nr}, '%')
                 or pro_eng_name  like concat('%', #{nr}, '%'))</if>
        <if test="null !=xb and xb !='' ">
                 and (pro_sex=#{xb} or isnull(pro_sex) or pro_sex=2 ) </if>
        </where>
    </select>
</mapper>