admin
2024-09-27 17caebabf7a6a529b7039c71e21e5a324e31ea20
src/test/java/com/taoke/autopay/MapperTest.java
@@ -1,7 +1,9 @@
package com.taoke.autopay;
import com.taoke.autopay.entity.KeyOrder;
import com.taoke.autopay.entity.PayMoneySetting;
import com.taoke.autopay.entity.UserPayCount;
import com.taoke.autopay.entity.WxUserOrderCount;
import com.taoke.autopay.entity.agent.*;
import org.junit.jupiter.api.Test;
import org.yeshi.utils.generater.GeneraterManagerV2;
@@ -20,7 +22,7 @@
    @Test
    public void test() {
//        MyBatisMapperUtil.createMapper(ChannelAgent.class);
//        MyBatisMapperUtil.createMapper(PayMoneySetting.class);
//        MyBatisMapperUtil.createMapper(KeyOrder.class);
//        MyBatisMapperUtil.createMapper(SystemConfig.class);
//        MyBatisMapperUtil.createMapper(WxUserInfo.class);
@@ -28,17 +30,17 @@
//        MyBatisMapperUtil.createMapper(AdminUser.class);
//        ColumnParseUtil.parseColumn(ChannelAgentSettleRecord.class,
//                "D:\\项目\\淘客代付系统\\taoke_autopay_server\\src\\main\\resources\\mapper\\ChannelAgentSettleRecordMapper.xml");
        ColumnParseUtil.parseColumn(WxUserOrderCount.class,
                "D:\\项目\\淘客代付系统\\taoke_autopay_server\\src\\main\\resources\\mapper\\WxUserOrderCountMapper.xml");
//        System.out.println(   MyBatisMapperUtil.createSQL(ChannelAgentOrderStatisticRecord.class));
//        System.out.println(   MyBatisMapperUtil.createSQL(ChannelAgentSettings.class));
//        System.out.println(MyBatisMapperUtil.createSQL(ChannelAgentSettleRecord.class));
        System.out.println(   MyBatisMapperUtil.createSQL(UserPayCount.class));
//        System.out.println(   MyBatisMapperUtil.createSQL(UserPayCount.class));
//        MyBatisMapperUtil.createMapper(ChannelAgentOrderStatisticRecord.class);
//        MyBatisMapperUtil.createMapper(ChannelAgentSettings.class);
//        MyBatisMapperUtil.createMapper(ChannelAgentSettleRecord.class);
        MyBatisMapperUtil.createMapper(UserPayCount.class);
//        MyBatisMapperUtil.createMapper(UserPayCount.class);
//      System.out.println(  new BigDecimal("3.26").multiply(new BigDecimal(100)).setScale(0, RoundingMode.FLOOR).intValue());