package com.huimv.manage.eartag.controller;

import com.huimv.manage.eartag.dao.entity.EtApplyEntity;
import com.huimv.manage.eartag.service.IApplyService;
import com.huimv.manage.util.Result;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.biosafety.uface.controller
 * @Description : TODO
 * @Version : 1.0
 * @Author : ZhuoNing
 * @Create : 2020-12-25
 **/
@SpringBootTest
public class ApplyTest {
    @Autowired
    private IApplyService applyService;

    @Test
    public void testListApply(){
        Result result = applyService.listApply();
        List<EtApplyEntity> applyList = (List<EtApplyEntity>) result.getData();

        System.out.println("Test>>"+applyList.size());
    }

    @Test
    public void testGetNewApply(){
//        Result result = applyService();
    }
}
