//package com.sw.mes;
//
//import com.sw.mes.fb.checkout.entity.FbCheckOutData;
//import com.sw.mes.fb.checkout.service.FbCheckOutDataService;
//import com.sw.mes.grade.service.GradeService;
//import com.sw.mes.scheduled.FbAutoScheduling;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//import java.util.UUID;
//
///**
// * @Author: GaoXinJian
// * @Date: 2022-01-15 13:53
// */
//@SpringBootTest
//@RunWith(SpringRunner.class)
//public class Test1 {
//
//    @Autowired
//    private FbCheckOutDataService fbCheckOutDataService;
//    @Autowired
//    private GradeService gradeService;
//
//    @Test
//    public void getUUid() {
//        List<FbCheckOutData> fbCheckOutDatas = fbCheckOutDataService.findAll();
//        Map<String, FbCheckOutData> fbCheckOutDataMap = new HashMap<>();
//        fbCheckOutDatas.forEach(fbCheckOutData -> fbCheckOutDataMap.put(fbCheckOutData.getFbSectionNo(), fbCheckOutData));
//        gradeService.execGrade(fbCheckOutDataMap);
//    }
//}
