update asr_bas_arm_mast set status = #{endStatus} where 1=1 and arm_no = #{armNo} and sorting_line = #{sortingLine} and status = #{status}