啊额为温热
package com.zfax.risk.tenant.dao; import com.alibaba.fastjson.JSON; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.zfax.risk.tenant.TenantApplicationTest; import com.zfax.risk.tenant.web.dao.mapper.TenantMapper; import com.zfax.risk.tenant.web.dao.model.Tenant; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; /** * @Author: bufoon * @Email: 285395841@qq.com * @Datetime: Created In 2018/7/30 10:12 * @Desc: as follows. */ public class TenantMpperTest extends TenantApplicationTest { @Autowired private TenantMapper tenantMapper; @Test public void listTest(){ System.out.println(JSON.toJSONString(tenantMapper.selectList(new EntityWrapper<>(new Tenant())))); } }
```
package com.zfax.risk.tenant.dao;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.zfax.risk.tenant.TenantApplicationTest;
import com.zfax.risk.tenant.web.dao.mapper.TenantMapper;
import com.zfax.risk.tenant.web.dao.model.Tenant;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Author: bufoon
* @Email: 285395841@qq.com
* @Datetime: Created In 2018/7/30 10:12
* @Desc: as follows.
*/
public class TenantMpperTest extends TenantApplicationTest {
@Autowired
private TenantMapper tenantMapper;
@Test
public void listTest(){
System.out.println(JSON.toJSONString(tenantMapper.selectList(new EntityWrapper<>(new Tenant()))));
}
}
```
<pre>
package com.zfax.risk.tenant.dao;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.zfax.risk.tenant.TenantApplicationTest;
import com.zfax.risk.tenant.web.dao.mapper.TenantMapper;
import com.zfax.risk.tenant.web.dao.model.Tenant;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Author: bufoon
* @Email: 285395841@qq.com
* @Datetime: Created In 2018/7/30 10:12
* @Desc: as follows.
*/
public class TenantMpperTest extends TenantApplicationTest {
@Autowired
private TenantMapper tenantMapper;
@Test
public void listTest(){
System.out.println(JSON.toJSONString(tenantMapper.selectList(new EntityWrapper<>(new Tenant()))));
}
}
</pre>
<code>
package com.zfax.risk.tenant.dao;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.zfax.risk.tenant.TenantApplicationTest;
import com.zfax.risk.tenant.web.dao.mapper.TenantMapper;
import com.zfax.risk.tenant.web.dao.model.Tenant;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Author: bufoon
* @Email: 285395841@qq.com
* @Datetime: Created In 2018/7/30 10:12
* @Desc: as follows.
*/
public class TenantMpperTest extends TenantApplicationTest {
@Autowired
private TenantMapper tenantMapper;
@Test
public void listTest(){
System.out.println(JSON.toJSONString(tenantMapper.selectList(new EntityWrapper<>(new Tenant()))));
}
}
</code>
网友评论