|
|
@ -16,17 +16,15 @@ public interface ApiOrderRecordMapperExt { |
|
|
|
@Select({"SELECT * FROM api_order_record aor WHERE TIMESTAMPDIFF(MINUTE,aor.request_time,SYSDATE()) < 15 AND aor.status = 100"}) |
|
|
|
@Select({"SELECT * FROM api_order_record aor WHERE TIMESTAMPDIFF(MINUTE,aor.request_time,SYSDATE()) < 15 AND aor.status = 100"}) |
|
|
|
@Results({ |
|
|
|
@Results({ |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="amount_type", property="amountType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="amount", property="amount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="before_amount", property="beforeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="after_amount", property="afterAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mch_id", property="mchId", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="source_type", property="sourceType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="source_id", property="sourceId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="source_order_no", property="sourceOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="source_order_no", property="sourceOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="source_content", property="sourceContent", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="notify_url", property="notifyUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="request_time", property="requestTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|