insert into account_withdrawal_apply(
apply_id,apply_user_name,amount,context,acct_id,state,apply_user_tel,apply_user_id
) values (
#{applyId},#{applyUserName},#{amount},#{context},#{acctId},#{state},#{applyUserTel},#{applyUserId}
)
update account_withdrawal_apply t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.apply_user_name= #{applyUserName}
, t.amount= #{amount}
, t.create_time= #{createTime}
, t.context= #{context}
, t.acct_id= #{acctId}
, t.state= #{state}
, t.apply_user_tel= #{applyUserTel}
, t.apply_user_id= #{applyUserId}
where 1=1
and t.apply_id= #{applyId}