insert into coupon_property_user_detail(
detail_type,coupon_name,uo_id,business_key,remark,coupon_id,community_id
) values (
#{detailType},#{couponName},#{uoId},#{businessKey},#{remark},#{couponId},#{communityId}
)
update coupon_property_user_detail t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.detail_type= #{detailType}
, t.coupon_name= #{couponName}
, t.uo_id= #{uoId}
, t.business_key= #{businessKey}
, t.remark= #{remark}
, t.coupon_id= #{couponId}
, t.community_id= #{communityId}
where 1=1