update jsh_sequence set current_val = current_val + 1 where seq_name = 'depot_number_seq' update jsh_depothead set delete_Flag='1' where 1=1 and id in ( #{id} )