zjh
2025-07-02 14ecea8537d5b29ca64c75aad4ff49265018415d
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} and isnull(pro_sex) </if>
        </where>
    </select>
</mapper>