智慧保安后台管理-外网项目备份
zhongrj
2024-03-25 fcc6feab487ec1e65a32577f263add0ee06d8a6e
src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml
@@ -12,5 +12,17 @@
        <if test="postFiling.name!=null and postFiling.name!=''">
            and name like concat('%',#{postFiling.name},'%')
        </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>