package com.izouma.zhirongip.service.supply;

import com.izouma.zhirongip.ApplicationTests;
import com.izouma.zhirongip.dto.PageQuery;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

class TechnicalManagerServiceTest extends ApplicationTests {

    @Autowired
    private TechnicalManagerService service;

    @Test
    void all() {
        PageQuery pageQuery = new PageQuery();
        Map<String, Object> query = pageQuery.getQuery();
//        query.put("field",13L);
        System.out.println(service.all(pageQuery, null).getContent());
    }

    @Test
    public void test() {
        System.out.println(service.recommend(170L).getContent());
    }

    @Test
    public void test1(){
        System.out.println(service.get(999L));
    }
}