| | |
| | | import com.whyc.mapper.FBOTestDataInfMapper; |
| | | import com.whyc.mapper.FBOTestDataMapper; |
| | | import com.whyc.pojo.FBOTestDataInf; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | @Resource |
| | | private FBOTestDataMapper dataMapper; |
| | | |
| | | @Autowired |
| | | private SubTablePageInfoService subService; |
| | | |
| | | public List<FBOTestDataInf> getList(Integer battGroupId) { |
| | | QueryWrapper<FBOTestDataInf> wrapper = Wrappers.query(); |
| | | wrapper.eq("BattGroupId",battGroupId).orderByAsc("test_starttime"); |
| | |
| | | wrapper.eq("BattGroupId",battGroupId).eq("test_record_count",testRecordCount); |
| | | dataInfMapper.delete(wrapper); |
| | | //删除data表数据 |
| | | dataMapper.delete(battGroupId,testRecordCount); |
| | | //dataMapper.delete(battGroupId,testRecordCount); |
| | | subService.delete(battGroupId,testRecordCount); |
| | | } |
| | | } |