Cui Zhi Feng
2024-09-02 31d3f568fe588e11f610244aa2d462d2f53608e1
src/main/resources/mapper/flower/FlowerMapper.xml
@@ -373,4 +373,10 @@
        </if>
        ORDER BY fzp.rank asc
    </select>
    <update id="updateFlowerCategoryInfo">
        update t_flower f, t_flower_category fc
        set f.unit = fc.unit, f.color = fc.color
        where f.category = fc.id and fc.id = #{category}
    </update>
</mapper>