insert into s_shop_community( address,city_code,code_name,community_name,start_time,shop_id,end_time,state,community_id,message,sc_id ) values ( #{address},#{cityCode},#{codeName},#{communityName},#{startTime},#{shopId},#{endTime},#{state},#{communityId},#{message},#{scId} ) update s_shop_community t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.address= #{address} , t.city_code= #{cityCode} , t.code_name= #{codeName} , t.community_name= #{communityName} , t.start_time= #{startTime} , t.shop_id= #{shopId} , t.end_time= #{endTime} , t.state= #{state} , t.community_id= #{communityId} , t.message= #{message} where 1=1 and t.sc_id= #{scId}