Open BigQing98021282 opened 1 year ago
怎么接受不定字段的返回值 用 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就行了
怎么接受不定字段的返回值 用 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);
}