| | |
| | | import com.flightfeather.grid.constant.ConstantHttp |
| | | import com.flightfeather.grid.domain.ds1.entity.Clue |
| | | import com.flightfeather.grid.domain.ds1.entity.ClueConclusion |
| | | import com.flightfeather.grid.domain.ds1.entity.ClueInternal |
| | | import com.flightfeather.grid.domain.ds1.entity.ClueQuestion |
| | | import com.flightfeather.grid.domain.ds1.mapper.ClueConclusionMapper |
| | | import com.flightfeather.grid.domain.ds1.mapper.ClueInternalMapper |
| | | import com.flightfeather.grid.domain.ds1.mapper.ClueMapper |
| | | import com.flightfeather.grid.domain.ds1.mapper.ClueQuestionMapper |
| | | import com.flightfeather.grid.external.ClueHttpService |
| | |
| | | return DataHead(p.pageNum, p.pages, p.total) to res |
| | | } |
| | | |
| | | override fun searchClue(clue: Clue): List<Clue?> { |
| | | return clueMapper.select(clue) |
| | | } |
| | | |
| | | override fun fetchRemoteClue(updateTime: String): List<Clue?> { |
| | | val res = clueHttpService.getClue(updateTime) |
| | | val result = res.map { |