jhipster,spring jpa order by和null null

时间:2016-04-18 13:03:52

标签: angularjs spring-mvc spring-data spring-data-jpa jhipster

我正在使用JHipster项目(spring mvc + angularjs) 我有一个表,当一行为空时,如果我想订购此列,则会丢失空行。

template<typename T> struct DoubleArrayIterator {
    DoubleArrayIterator(T *jimmy, T *billy): jimmy(jimmy), billy(billy) {}
    DoubleArrayIterator &operator++() { ++jimmy, ++billy; return *this; }
    std::pair<T, T> operator*() const { return std::make_pair(*jimmy, *billy); }
    static DoubleArrayIterator begin(T *jimmy, T *billy) { return DoubleArrayIterator(jimmy, billy); }
    template<size_t N> static DoubleArrayIterator end(T (&jimmy)[N], T(&billy)[N]) { return DoubleArrayIterator(jimmy + N, billy + N); }
    bool operator==(DoubleArrayIterator const &that) { return jimmy == that.jimmy && billy == that.billy; }
private:
    T *jimmy, *billy;
};

从服务器端我没有什么比

更多
Function.query({requestUrlUserType: $state.current.data.requestUrlUserType, page: $scope.page - 1, size: $scope.itemsPerPage, sort: [$scope.predicate + ',' + ($scope.reverse ? 'asc' : 'desc'), 'id'], },
                function(result, headers) {

i fount this但它没有多大帮助

0 个答案:

没有答案