From a053811c774ac07340e46561f5d2ab4d892282a0 Mon Sep 17 00:00:00 2001 From: Administrator <1101184511@qq.com> Date: 星期一, 29 七月 2024 02:38:40 +0800 Subject: [PATCH] 渠道功能完善 --- src/test/java/com/taoke/autopay/MapperTest.java | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/taoke/autopay/MapperTest.java b/src/test/java/com/taoke/autopay/MapperTest.java index 436a209..69d033e 100644 --- a/src/test/java/com/taoke/autopay/MapperTest.java +++ b/src/test/java/com/taoke/autopay/MapperTest.java @@ -1,8 +1,13 @@ package com.taoke.autopay; import com.taoke.autopay.entity.KeyOrder; +import com.taoke.autopay.entity.agent.*; import org.junit.jupiter.api.Test; +import org.yeshi.utils.generater.GeneraterManagerV2; import org.yeshi.utils.generater.mybatis.ColumnParseUtil; +import org.yeshi.utils.generater.mybatis.MyBatisMapperUtil; +import org.yeshi.utils.generater.vo.xmlconfig.GenertorConfig; +import org.yeshi.utils.generater.vo.xmlconfig.dao.DaoData; /** * @author hxh @@ -22,8 +27,19 @@ // MyBatisMapperUtil.createMapper(AdminUser.class); - ColumnParseUtil.parseColumn(KeyOrder.class, - "D:\\椤圭洰\\娣樺浠d粯绯荤粺\\taoke_autopay_server\\src\\main\\resources\\mapper\\KeyOrderMapper.xml"); +// ColumnParseUtil.parseColumn(ChannelAgentSettleRecord.class, +// "D:\\椤圭洰\\娣樺浠d粯绯荤粺\\taoke_autopay_server\\src\\main\\resources\\mapper\\ChannelAgentSettleRecordMapper.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(ChannelAgentSettleDetail.class)); + +// MyBatisMapperUtil.createMapper(ChannelAgentOrderStatisticRecord.class); +// MyBatisMapperUtil.createMapper(ChannelAgentSettings.class); +// MyBatisMapperUtil.createMapper(ChannelAgentSettleRecord.class); + MyBatisMapperUtil.createMapper(ChannelAgentSettleDetail.class); + + // System.out.println( new BigDecimal("3.26").multiply(new BigDecimal(100)).setScale(0, RoundingMode.FLOOR).intValue()); -- Gitblit v1.8.0