package com.changhong.epc.admin; //@RunWith(SpringRunner.class) //@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public class AssetDepreciationTest { // @Resource // private AssetDepreciationService assetDepreciationService; // // @org.junit.Test // public void insert() { // ThreadData.set(Keys.USER_ID, "123"); // AssetDepreciation assetDepreciation = new AssetDepreciation(); //// assetDepreciation.setOpenId("123"); //// assetDepreciation.setOrgCode("01010000100006"); //// assetDepreciation.setDate("2018-08"); //// assetDepreciation.setTenantId("100000001"); //// assetDepreciation.setCompanyId("7"); //// assetDepreciationService.insert(assetDepreciation); // List assetDepreciations = assetDepreciationService.select(assetDepreciation); // String json = JSONTool.toJson(assetDepreciations); // List copy = JSONTool.toObj(json, new TypeReference>(){}.getType()); // // System.out.println(copy); // } }