@ -2,17 +2,14 @@ package com.msdw.tms.service;
import com.msdw.tms.common.utils.R ;
import com.msdw.tms.dao.AchievementManagementDao ;
import com.msdw.tms.entity.ProjectEntity ;
import com.msdw.tms.entity.ProjectRecordEntity ;
import com.msdw.tms.entity.request.AchievementImportRequest ;
import com.msdw.tms.entity.vo.AchievementManagementVo ;
import com.msdw.tms.entity.vo.SearchAchievementVo ;
import com.msdw.tms.entity.vo.AchievementManagementVO ;
import org.junit.jupiter.api.Test ;
import org.springframework.beans.factory.annotation.Autowired ;
import org.springframework.boot.test.context.SpringBootTest ;
import java.util.ArrayList ;
import java.util.Date ;
import java.util.List ;
@SpringBootTest
@ -30,7 +27,7 @@ public class AchievementManagementTest {
//测试新增实验记录
// @Test
// public void addReport(){
// AchievementManagementVo vo = new AchievementManagementVo ();
// AchievementManagementVO vo = new AchievementManagementVO ();
// ProjectRecordEntity entity = new ProjectRecordEntity();
// Date date = new Date();
// //用户id
@ -86,7 +83,7 @@ public class AchievementManagementTest {
public void daleteReport ( ) {
Integer reportId = 4 ;
Integer recordId = 100 ;
AchievementManagementVo vo = new AchievementManagementVo ( ) ;
AchievementManagementVO vo = new AchievementManagementVO ( ) ;
ProjectRecordEntity entity = new ProjectRecordEntity ( ) ;
entity . setRecordid ( recordId ) ;
vo . setReportId ( reportId ) ;
@ -116,7 +113,7 @@ public class AchievementManagementTest {
String staingTime = "" ;
String endTime = "" ;
List < Integer > list = achievementManagementDao . countEducationProjectId ( ) ;
List < AchievementManagementVo > result = achievementManagementDao . queryEducationRecord ( systemId , searchContent , staingTime , endTime , month , list ) ;
List < AchievementManagementVO > result = achievementManagementDao . queryEducationRecord ( systemId , searchContent , staingTime , endTime , month , list ) ;
System . out . println ( result ) ;
}
//筛选查询-虚拟实验
@ -128,7 +125,7 @@ public class AchievementManagementTest {
String staingTime = "" ;
String endTime = "" ;
List < Integer > list = achievementManagementDao . countFictitiousProjectId ( ) ;
List < AchievementManagementVo > result = achievementManagementDao . queryFictitiousRecord ( systemId , searchContent , staingTime , endTime , month , list ) ;
List < AchievementManagementVO > result = achievementManagementDao . queryFictitiousRecord ( systemId , searchContent , staingTime , endTime , month , list ) ;
System . out . println ( result ) ;
}