`shop_id`,`create_time`,`update_time`,`type`,`shop_name`,`intro`,`shop_logo`,`mobile_background_pic`,`shop_status`,`business_license`,`identity_card_front`,`identity_card_later`
insert into shop_detail (`type`,`shop_name`,`intro`,`shop_logo`,`mobile_background_pic`,`shop_status`,`business_license`,`identity_card_front`,`identity_card_later`)
values (#{shopDetail.type},#{shopDetail.shopName},#{shopDetail.intro},#{shopDetail.shopLogo},#{shopDetail.mobileBackgroundPic},#{shopDetail.shopStatus},#{shopDetail.businessLicense},#{shopDetail.identityCardFront},#{shopDetail.identityCardLater});
update shop_detail
`type` = #{shopDetail.type},
`shop_name` = #{shopDetail.shopName},
`intro` = #{shopDetail.intro},
`shop_logo` = #{shopDetail.shopLogo},
`mobile_background_pic` = #{shopDetail.mobileBackgroundPic}
`shop_status` = #{shopDetail.shopStatus},
`business_license` = #{shopDetail.businessLicense},
`identity_card_front` = #{shopDetail.identityCardFront},
`identity_card_later` = #{shopDetail.identityCardLater},
where shop_id = #{shopDetail.shopId}
delete from shop_detail where shop_id = #{shopId}
update shop_detail set `shop_status` = #{shopStatus} where shop_id = #{shopId}