qushaowei
2024-07-12 c81442b41d5b525332aa96a23a0b4c94dcf8c731
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml
@@ -6,6 +6,9 @@
        from mom_eam_stream t1
        left join sys_user t2 on t2.id = t1.create_by
        where 1=1
        <if test="num != null and num != ''">
            and t1.num like concat('%',#{num},'%')
        </if>
        <choose>
            <when test="areaId != null and areaId != ''">
                and t2.area_id = #{areaId}
@@ -14,7 +17,7 @@
                and t2.area_id = '-1'
            </otherwise>
        </choose>
        ORDER BY t1.create_time desc
    </select>
</mapper>