From 17caebabf7a6a529b7039c71e21e5a324e31ea20 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 27 九月 2024 16:23:42 +0800 Subject: [PATCH] 代理新功能完善 --- src/test/java/com/taoke/autopay/MapperTest.java | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/taoke/autopay/MapperTest.java b/src/test/java/com/taoke/autopay/MapperTest.java index 8db6462..4bee219 100644 --- a/src/test/java/com/taoke/autopay/MapperTest.java +++ b/src/test/java/com/taoke/autopay/MapperTest.java @@ -1,8 +1,16 @@ 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; +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 @@ -14,8 +22,30 @@ @Test public void test() { -// MyBatisMapperUtil.createMapper(ClientInfo.class); - MyBatisMapperUtil.createMapper(KeyOrder.class); +// MyBatisMapperUtil.createMapper(PayMoneySetting.class); +// MyBatisMapperUtil.createMapper(KeyOrder.class); +// MyBatisMapperUtil.createMapper(SystemConfig.class); +// MyBatisMapperUtil.createMapper(WxUserInfo.class); +// MyBatisMapperUtil.createMapper(WxUserOrderCount.class); +// MyBatisMapperUtil.createMapper(AdminUser.class); + + + ColumnParseUtil.parseColumn(WxUserOrderCount.class, + "D:\\椤圭洰\\娣樺浠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)); + +// MyBatisMapperUtil.createMapper(ChannelAgentOrderStatisticRecord.class); +// MyBatisMapperUtil.createMapper(ChannelAgentSettings.class); +// MyBatisMapperUtil.createMapper(ChannelAgentSettleRecord.class); +// MyBatisMapperUtil.createMapper(UserPayCount.class); + + +// System.out.println( new BigDecimal("3.26").multiply(new BigDecimal(100)).setScale(0, RoundingMode.FLOOR).intValue()); + + } -- Gitblit v1.8.0