id , region_id, line_id, partner_id, point_id, shop_name, shop_code, store_num, shop_manager_user_id, supervisor_user_id, plan_open_time, cur_progress, shop_type, shop_stage, deleted, create_time, update_time, join_mode,detail_address,franchise_brand,development_manager,want_shop_area_id,investment_manager,shop_status,create_user_id,update_user_id,store_type , province,province_code,city,city_code,district,district_code,manager_region_id,shop_decoration_attributes,hqt_shop_id,store_id insert into xfsg_shop_info(region_id, line_id, partner_id, shop_name, store_num,supervisor_user_id,create_time,join_mode,franchise_brand, development_manager,want_shop_area_id,investment_manager,store_id) values (#{shop.regionId}, #{shop.lineId}, #{shop.partnerId}, #{shop.shopName}, #{shop.storeNum},#{shop.supervisorUserId},#{shop.createTime},#{shop.joinMode},#{shop.franchiseBrand},#{shop.developmentManager}, #{shop.wantShopAreaId},#{shop.investmentManager},#{shop.storeId}) update xfsg_shop_info set point_id = null where id = #{shopId} UPDATE xfsg_shop_info SET development_manager = #{item.developmentManager}, join_mode = #{item.joinMode}, shop_status = #{item.shopStatus}, franchise_brand = #{item.franchiseBrand}, investment_manager = #{item.investmentManager}, want_shop_area_id = #{item.wantShopAreaId} WHERE id = #{item.id} update xfsg_shop_info set shop_code = #{shopCode} where id = #{shopId} update xfsg_shop_info set shop_name = #{item.shopName}, province =#{item.province}, city = #{item.city}, district=#{item.district}, detail_address = #{item.detailAddress} where id = #{item.id} update xfsg_shop_info set manager_region_id = #{item.managerRegionId} where id = #{item.id} update xfsg_shop_info set hqt_shop_id = #{hqtShopId} where id = #{shopId}