From d388e2788b7ef088d7cd40f901b0acdcec460bc3 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 01 Apr 2021 00:19:23 +0800 Subject: [PATCH] modify --- zq-erp/src/test/java/com/matrix/DataMoveTest.java | 65 +++++++++++++++++++++++++++++++- 1 files changed, 62 insertions(+), 3 deletions(-) diff --git a/zq-erp/src/test/java/com/matrix/DataMoveTest.java b/zq-erp/src/test/java/com/matrix/DataMoveTest.java index 3951fea..e007343 100644 --- a/zq-erp/src/test/java/com/matrix/DataMoveTest.java +++ b/zq-erp/src/test/java/com/matrix/DataMoveTest.java @@ -12,6 +12,7 @@ import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgorithmException; +import java.util.ArrayList; import java.util.List; /** @@ -48,7 +49,7 @@ /** * 会员等级迁移 */ - @Test +// @Test public void vipLevelMove() { List<SysVipLevel> sysVipLevels = dataMove.vipLevelOld(); dataMove.vipLevelNew(sysVipLevels); @@ -78,8 +79,66 @@ dataMove.goodsCategoryParentIdUpdate(); } - @Test - public void shoppingGoodsMoveTest() { +// @Test + public void goodsTypeMoveTest() { + dataMove.goodsTypeNew(dataMove.goodsTypeOld()); + dataMove.updateGoodsTypeParentId(); + } + /** + * 项目 + * 家居产品 + * 充值卡 + * 套餐 + * 综合卡 + */ +// @Test + public void shoppingGoodsMoveTest() { + dataMove.shoppingGoodsNew(dataMove.shoppingGoodsOld("家居产品"), "家居产品"); + } + +// @Test + public void shoppingGoodsProjTest() { + dataMove.shoppingGoodsNew(dataMove.shoppingGoodsProjectOld(), "项目"); + } + +// @Test + public void shoppingGoodsTcTest() { + dataMove.shoppingGoodsNew(dataMove.shoppingGoodsTcList(), "套餐"); + } + +// @Test + public void shoppingGoodsCzkTest() { + dataMove.shoppingGoodsNew(dataMove.shoppingGoodsCzkOld(), "充值卡"); + } + +// @Test + public void shoppingGoodsZhkTest() { + dataMove.shoppingGoodsZhkNew(dataMove.shoppingGoodsZhkOld()); + } + +// @Test + public void shopStaffMoveTest() throws UnsupportedEncodingException, NoSuchAlgorithmException { + dataMove.shopStaffInfoNew(dataMove.shopStaffInfoOld()); + } + +// @Test + public void orderMoveTest() { + dataMove.orderNew(dataMove.orderOld()); + } + +// @Test + public void bedInfoMoveTest() { + dataMove.bedInfoNew(dataMove.bedInfoOld()); + } + + @Test + public void projUseMoveTest() { + dataMove.projUseNew(dataMove.projUseMoveOld()); + } + + @Test + public void serviceOrderMoveTest() { + dataMove.serviceOrderNew(dataMove.serviceOrderOld()); } } -- Gitblit v1.9.1