|
|
@ -19,6 +19,8 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.concurrent.locks.Lock; |
|
|
|
|
|
|
|
|
|
|
|
@Service |
|
|
|
@Service |
|
|
|
public class ClassTeachingServiceImpl extends ServiceImpl<ExperimentalTeachingDao, ExperimentalTeachingEntity> implements ClassTeachingService { |
|
|
|
public class ClassTeachingServiceImpl extends ServiceImpl<ExperimentalTeachingDao, ExperimentalTeachingEntity> implements ClassTeachingService { |
|
|
|
|
|
|
|
|
|
|
@ -55,7 +57,19 @@ public class ClassTeachingServiceImpl extends ServiceImpl<ExperimentalTeachingDa |
|
|
|
// IPage<ProjectRecordVo> schoolRecord = this.classMapper.getByClassRecord(page1, recordVo);
|
|
|
|
// IPage<ProjectRecordVo> schoolRecord = this.classMapper.getByClassRecord(page1, recordVo);
|
|
|
|
// PageUtils pageUtils = new PageUtils(schoolRecord);
|
|
|
|
// PageUtils pageUtils = new PageUtils(schoolRecord);
|
|
|
|
ExperimentalTeachingVO vo = new ExperimentalTeachingVO(); |
|
|
|
ExperimentalTeachingVO vo = new ExperimentalTeachingVO(); |
|
|
|
BeanUtils.copyProperties(recordVo,vo); |
|
|
|
// 状态
|
|
|
|
|
|
|
|
vo.setStatus(recordVo.getStatus()); |
|
|
|
|
|
|
|
// 月份
|
|
|
|
|
|
|
|
vo.setMonth(recordVo.getMonth()); |
|
|
|
|
|
|
|
// 学校
|
|
|
|
|
|
|
|
vo.setSchoolId(recordVo.getSchoolId()); |
|
|
|
|
|
|
|
// 开始时间
|
|
|
|
|
|
|
|
vo.setStartTime(recordVo.getStartTime()); |
|
|
|
|
|
|
|
// 结束时间
|
|
|
|
|
|
|
|
vo.setStopTime(recordVo.getEndTime()); |
|
|
|
|
|
|
|
// 查询条件
|
|
|
|
|
|
|
|
vo.setSearchContent(recordVo.getCondition()); |
|
|
|
|
|
|
|
// BeanUtils.copyProperties(recordVo,vo);
|
|
|
|
ExperimentalTeachingDao userDao = this.getBaseMapper(); |
|
|
|
ExperimentalTeachingDao userDao = this.getBaseMapper(); |
|
|
|
IPage<ExperimentalTeachingEntity> list = userDao.queryExperimentalTeaching(page1, vo); |
|
|
|
IPage<ExperimentalTeachingEntity> list = userDao.queryExperimentalTeaching(page1, vo); |
|
|
|
for (int i = 0; i < list.getRecords().size(); i++) { |
|
|
|
for (int i = 0; i < list.getRecords().size(); i++) { |
|
|
|