陶杰
2024-09-05 3f01affe0c9b8d7c7956663883dde987845114c4
src/main/resources/mapper/flower/FlowerMapper.xml
@@ -373,6 +373,11 @@
        </if>
        ORDER BY fzp.rank asc
    </select>
    <select id="searchInvalidHistory" resultType="java.lang.Long">
        SELECT c.id
        FROM t_browse_his c left join t_flower f on c.flower_id = f.id
        WHERE f.deleted = 0 and c.deleted = 0 and f.status != 'UP' and c.user_id = #{userId}
    </select>
    <update id="updateFlowerCategoryInfo">
        update t_flower f, t_flower_category fc