blinkfox/fenix

怎么接受不定字段的返回值 用 List<HashMap<String,Object>>接受不到

Opened this issue · 1 comments

怎么接受不定字段的返回值 用 List<HashMap<String,Object>>接受不到

public interface BiSellerReportDao extends JpaRepository<BiSellerReport, Long>, JpaSpecificationExecutor {
@QueryFenix(value = "BiSellerReportDao.page", nativeQuery = true)
Page page(@param("vo") BiSellerReportVo vo, Pageable pageable);

 BiSellerReport findByComputingTimeAndAndIsDeletedFalseAndSellerCode(String dateTime,String sellerCode);

 @QueryFenix(value = "BiSellerReportDao.queryBiSellerReport")
 List<HashMap<String,Object>> queryBiSellerReport(@Param("vo") BiSellerReportVo vo, Pageable pageable);

}

解决了 xml里面不要写 resultType就行了