update sys_stock set qty =qty -1 branch_id = #{branchId} and storage_id = #{storageId} and area_id = #{areaId}