File tree Expand file tree Collapse file tree
springboot-starter/src/main/java/com/codingapi/springboot/framework Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- package com .codingapi .springboot .framework .dto ;
1+ package com .codingapi .springboot .framework .dto . offset ;
22
33public interface ICurrentOffset {
44
Original file line number Diff line number Diff line change 1+ package com .codingapi .springboot .framework .dto .offset ;
2+
3+ public interface ICurrentPageOffset {
4+
5+ int getCurrentPage (ICurrentOffset target , int current );
6+ }
Original file line number Diff line number Diff line change 1- package com .codingapi .springboot .framework .context ;
1+ package com .codingapi .springboot .framework .dto . offset . context ;
22
3- import com .codingapi .springboot .framework .dto .ICurrentOffset ;
3+ import com .codingapi .springboot .framework .dto .offset .ICurrentOffset ;
4+ import com .codingapi .springboot .framework .dto .offset .ICurrentPageOffset ;
45import com .codingapi .springboot .framework .dto .request .PageRequest ;
56import lombok .Getter ;
67import lombok .Setter ;
78
8- public class CurrentPageOffsetContext implements ICurrentPageOffset {
9+ public class CurrentPageOffsetContext implements ICurrentPageOffset {
910
1011 @ Getter
1112 private static final CurrentPageOffsetContext instance = new CurrentPageOffsetContext ();
Original file line number Diff line number Diff line change 11package com .codingapi .springboot .framework .dto .request ;
22
3- import com .codingapi .springboot .framework .context .CurrentPageOffsetContext ;
4- import com .codingapi .springboot .framework .dto .ICurrentOffset ;
3+ import com .codingapi .springboot .framework .dto . offset . context .CurrentPageOffsetContext ;
4+ import com .codingapi .springboot .framework .dto .offset . ICurrentOffset ;
55import lombok .Getter ;
66import lombok .Setter ;
77import org .springframework .data .domain .Sort ;
Original file line number Diff line number Diff line change 33import com .alibaba .fastjson .JSON ;
44import com .alibaba .fastjson .JSONArray ;
55import com .alibaba .fastjson .JSONObject ;
6- import com .codingapi .springboot .framework .context .CurrentPageOffsetContext ;
7- import com .codingapi .springboot .framework .dto .ICurrentOffset ;
6+ import com .codingapi .springboot .framework .dto . offset . context .CurrentPageOffsetContext ;
7+ import com .codingapi .springboot .framework .dto .offset . ICurrentOffset ;
88import lombok .Getter ;
99import lombok .Setter ;
1010import org .springframework .data .domain .Sort ;
You can’t perform that action at this time.
0 commit comments