|
|
@ -25,6 +25,14 @@ public interface MatrixMoneyRecordMapper extends BaseMapper<MatrixMoneyRecord> { |
|
|
|
@Update("update matrix_money_record set status = #{status}, reason=#{reason} where id = #{id}") |
|
|
|
int updateStatusAndReason(int id, int status, String reason); |
|
|
|
|
|
|
|
@Update("update matrix_money_record set status = #{r.status}, " + |
|
|
|
"reason = #{r.reason}, " + |
|
|
|
"order_id = #{r.orderId}, " + |
|
|
|
"pay_fund_order_id = #{r.payFundOrderId}, " + |
|
|
|
"trans_date = #{r.transDate} " + |
|
|
|
"where id = #{id}") |
|
|
|
int updateTransResult(int id, MatrixMoneyRecord r); |
|
|
|
|
|
|
|
@Select("select * from matrix_money_record where user_id = #{userId}") |
|
|
|
List<MatrixMoneyRecord> queryByUserId(Integer userId); |
|
|
|
} |
|
|
|