id,partnerId,partnerType,
partnerName,requestAmount,requestTime,
status,amount,payTime,
note,userId,userName
delete from aska_cashrequest
where id = #{id,jdbcType=INTEGER}
insert into aska_cashrequest
( id,partnerId,partnerType
,partnerName,requestAmount,requestTime
,status,amount,payTime
,note,userId,userName
)
values (#{id,jdbcType=INTEGER},#{partnerId,jdbcType=INTEGER},#{partnerType,jdbcType=CHAR}
,#{partnerName,jdbcType=VARCHAR},#{requestAmount,jdbcType=INTEGER},#{requestTime,jdbcType=TIMESTAMP}
,#{status,jdbcType=CHAR},#{amount,jdbcType=INTEGER},#{payTime,jdbcType=TIMESTAMP}
,#{note,jdbcType=VARCHAR},#{userId,jdbcType=INTEGER},#{userName,jdbcType=VARCHAR}
)
insert into aska_cashrequest
id,
partnerId,
partnerType,
partnerName,
requestAmount,
requestTime,
status,
amount,
payTime,
note,
userId,
userName,
#{id,jdbcType=INTEGER},
#{partnerId,jdbcType=INTEGER},
#{partnerType,jdbcType=CHAR},
#{partnerName,jdbcType=VARCHAR},
#{requestAmount,jdbcType=INTEGER},
#{requestTime,jdbcType=TIMESTAMP},
#{status,jdbcType=CHAR},
#{amount,jdbcType=INTEGER},
#{payTime,jdbcType=TIMESTAMP},
#{note,jdbcType=VARCHAR},
#{userId,jdbcType=INTEGER},
#{userName,jdbcType=VARCHAR},
update aska_cashrequest
partnerId = #{partnerId,jdbcType=INTEGER},
partnerType = #{partnerType,jdbcType=CHAR},
partnerName = #{partnerName,jdbcType=VARCHAR},
requestAmount = #{requestAmount,jdbcType=INTEGER},
requestTime = #{requestTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=CHAR},
amount = #{amount,jdbcType=INTEGER},
payTime = #{payTime,jdbcType=TIMESTAMP},
note = #{note,jdbcType=VARCHAR},
userId = #{userId,jdbcType=INTEGER},
userName = #{userName,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update aska_cashrequest
set
partnerId = #{partnerId,jdbcType=INTEGER},
partnerType = #{partnerType,jdbcType=CHAR},
partnerName = #{partnerName,jdbcType=VARCHAR},
requestAmount = #{requestAmount,jdbcType=INTEGER},
requestTime = #{requestTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=CHAR},
amount = #{amount,jdbcType=INTEGER},
payTime = #{payTime,jdbcType=TIMESTAMP},
note = #{note,jdbcType=VARCHAR},
userId = #{userId,jdbcType=INTEGER},
userName = #{userName,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}