There is no possibility to reduce/remove COD & BOD Level by using Ultra Filtration (UF).
The Surface water Contain Less COD & BOD. But, In industrial Effluents,which will be higher Approximate 900 ppm and 350 ppm respectively(this is textile processing fig).
But you Can reduce these level by adopting Ozonator or U-V ray System, but the cost is High,moreover Some special precaution to be taken while installation and commission followed by running of these system.
Particularly the power consumption of ozone(O3) System will be higher it depends on Feed Water Color Depth say approximate 3 to 9 KW/Hr.Both the Option is very good for disinfection.
Generally in public Water supply and distribution chlorination is used.