智慧保安后台管理-外网项目备份
钟日健
2025-10-30 35be7e24498a3e1b143a213643a5d8d86bdc4e13
src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml
@@ -14,4 +14,15 @@
        </if>
        ORDER BY duty_time ASC
    </select>
    <select id="getAll" resultType="org.springblade.modules.post.entity.PostFiling">
        select * from sys_post_filing
        where is_deleted = 0
        <if test="postFiling.type!=null">
            and type = #{postFiling.type}
        </if>
        <if test="postFiling.name!=null and postFiling.name!=''">
            and name like concat('%',#{postFiling.name},'%')
        </if>
        ORDER BY duty_time ASC
    </select>
</mapper>