insert into coupon_property_pool_detail( coupon_name,detail_id,cpp_id,tel,community_id,send_count,user_name,value,user_id ) values ( #{couponName},#{detailId},#{cppId},#{tel},#{communityId},#{sendCount},#{userName},#{value},#{userId} ) update coupon_property_pool_detail t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.coupon_name= #{couponName} , t.cpp_id= #{cppId} , t.tel= #{tel} , t.community_id= #{communityId} , t.send_count= #{sendCount} , t.user_name= #{userName} , t.value= #{value} , t.user_id= #{userId} where 1=1 and t.detail_id= #{detailId}