update tr_dind 
set tl_ok = case when shu_a < shu_b then 0 else 1 end