cloudroam
2024-12-09 3566668d97d3844d4d4b95c0058a0f5cb9e5db07
src/main/resources/mapper/supplier/SupplierMapper.xml
@@ -40,6 +40,9 @@
        <if test="dto.isEnabled!=null">
            AND t.is_enabled = #{dto.isEnabled}
        </if>
        <if test="dto.id!=null">
            AND t.id = #{dto.id}
        </if>
        order by t.create_time desc
    </select>
    <select id="findSupplierDetail" resultType="com.mzl.flower.dto.response.supplier.SupplierDTO"
@@ -65,5 +68,6 @@
                LEFT JOIN t_station s ON t.station_id = s.id
                LEFT JOIN t_supplier_type st ON t.type_id = st.id
        WHERE t.user_Id=#{userId}
        and t.deleted = '0'
    </select>
</mapper>