美文网首页
无标题文章

无标题文章

作者: 布丰 | 来源:发表于2018-07-30 11:51 被阅读0次

    啊额为温热


    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>

    相关文章

      网友评论

          本文标题:无标题文章

          本文链接:https://www.haomeiwen.com/subject/trkpextx.html