id,create_time,update_time,create_user,update_user,user_id,remark,`code`,`name`,
enabled,province_code,province_name,
city_code,city_name,district_code,district_name,customer,
customer_phone,adress,lng,lat
INSERT INTO t_tenant (user_id, remark, `code`, `name`, province_code, province_name, city_code, city_name,
district_code, district_name, customer, customer_phone, adress, lng, lat)
VALUES (#{userId}, #{remark}, #{code}, #{name}, #{provinceCode}, #{provinceName}, #{cityCode}, #{cityName},
#{districtCode}, #{districtName}, #{customer}, #{customerPhone}, #{adress}, #{lng}, #{lat})
update t_tenant
name = #{name},
enabled = #{enabled},
province_code=#{provinceCode},
province_name=#{provinceName},
city_code =#{cityCode},
city_name=#{cityName},
district_code =#{districtCode},
district_name =#{districtName},
customer =#{customer},
customer_phone =#{customerPhone},
adress =#{adress},
lng =#{lng},
lat =#{lat}
where id = #{id}