Helius
2021-05-31 260ea6d3c0744dd619d31cd34666c149ef512166
modify
3 files modified
13 ■■■■ changed files
src/main/resources/application.yml 2 ●●● patch | view | raw | blame | history
src/main/resources/mapper/otc/OtcOrderDao.xml 2 ●●● patch | view | raw | blame | history
src/test/java/com/xcong/excoin/OtcTest.java 9 ●●●●● patch | view | raw | blame | history
src/main/resources/application.yml
@@ -112,7 +112,7 @@
  loop-job: false
  rabbit-consumer: false
  block-job: false
  otc-job: false
  otc-job: true
  websocket-job: false
aliyun:
src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -66,7 +66,7 @@
    <select id="selectTotalOrderCount" resultType="java.lang.Integer">
        select count(1) from otc_order
        where entrust_member_id=#{entrustMemberId} and entrust_member_id!=member_id
        where member_id=#{entrustMemberId}
        <if test="status != null">
            and status = #{status}
        </if>
src/test/java/com/xcong/excoin/OtcTest.java
@@ -1,5 +1,6 @@
package com.xcong.excoin;
import com.xcong.excoin.quartz.job.OtcOrderJob;
import com.xcong.excoin.rabbit.producer.OtcProducter;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
@@ -28,4 +29,12 @@
        }
    }
    @Autowired
    private OtcOrderJob otcOrderJob;
    @Test
    public void jobTest() {
        otcOrderJob.marketBussinessJob();
    }
}