id, user_id, area_no, `name`, mobile, address, create_time, update_time, has_default, deleted INSERT INTO user_address ( user_id, area_no, `name`, mobile, address, create_time, update_time, has_default, deleted ) VALUES ( #{userId}, #{areaNo}, #{name}, #{mobile}, #{address}, #{createTime}, #{updateTime}, #{hasDefault}, #{deleted} ) UPDATE user_address , area_no = #{userAddressDO.areaNo} , `name` = #{userAddressDO.name} , mobile = #{userAddressDO.mobile} , address = #{userAddressDO.address} , update_time = #{userAddressDO.updateTime} , has_default = #{userAddressDO.hasDefault} , deleted = #{userAddressDO.deleted} WHERE id = #{id}