陶杰
2024-09-03 3f5d62a7b4d20f6c63021361e7a48cab02e6cca3
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>