GeezerVison is showing github.com — Java:APIJSONBoot 升级 APIJSON, apijson-framework 及自身版本为 4.6.0 · intro0520/APIJSON-Demo@9f1ea38
File treeExpand file treeCollapse file tree Open diff view settings APIJSON-Java-Server/APIJSONBoot src/main/java/apijson/demo
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard Collapse file Copy file name to clipboard Collapse file Copy file name to clipboard Collapse file Copy file name to clipboard Collapse file Copy file name to clipboardExpand all lines: APIJSON-Java-Server/APIJSONBoot/pom.xml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 |
| 6 | 6 | <groupId>apijson.boot</groupId> | 7 | 7 | <artifactId>apijson-boot</artifactId> | 8 | | - <version>4.5.3</version> | | 8 | + <version>4.6.0</version> | 9 | 9 | <packaging>jar</packaging> | 10 | 10 |
| 11 | 11 | <name>APIJSONBoot</name> | | 55 | 55 | <dependency> | 56 | 56 | <groupId>com.github.Tencent</groupId> | 57 | 57 | <artifactId>APIJSON</artifactId> | 58 | | - <version>4.5.2</version> | | 58 | + <version>4.6.0</version> | 59 | 59 | </dependency> | 60 | 60 | <dependency> | 61 | 61 | <groupId>com.github.APIJSON</groupId> | 62 | 62 | <artifactId>apijson-framework</artifactId> | 63 | | - <version>4.5.2</version> | | 63 | + <version>4.6.0</version> | 64 | 64 | </dependency> | 65 | 65 | <!-- 可使用 libs 目录的 apijson-orm.jar 和 apijson-framework.jar 来替代,两种方式二选一 >>>>>>>>>> --> | 66 | 66 |
| |
Collapse file Copy file name to clipboardExpand all lines: APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/demo/DemoObjectParser.java +5-10Lines changed: 5 additions & 10 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 |
| 15 | 15 | package apijson.demo; | 16 | 16 |
| | 17 | +import com.alibaba.fastjson.JSONObject; | | 18 | + | 17 | 19 | import java.util.List; | 18 | 20 |
| 19 | 21 | import javax.servlet.http.HttpSession; | 20 | 22 |
| 21 | | -import com.alibaba.fastjson.JSONObject; | 22 | | - | 23 | 23 | import apijson.NotNull; | 24 | 24 | import apijson.RequestMethod; | 25 | 25 | import apijson.orm.AbstractObjectParser; | | 33 | 33 | */ | 34 | 34 | public class DemoObjectParser extends AbstractObjectParser { | 35 | 35 |
| 36 | | - /**for single object | 37 | | - * @param parentPath | 38 | | - * @param request | 39 | | - * @param name | 40 | | - * @throws Exception | 41 | | - */ | 42 | | - public DemoObjectParser(HttpSession session, @NotNull JSONObject request, String parentPath, String name, SQLConfig arrayConfig, boolean isSubquery) throws Exception { | 43 | | - super(request, parentPath, name, arrayConfig, isSubquery); | | 36 | + public DemoObjectParser(HttpSession session, @NotNull JSONObject request, String parentPath, SQLConfig arrayConfig | | 37 | + , boolean isSubquery, boolean isTable, boolean isArrayMainTable) throws Exception { | | 38 | + super(request, parentPath, arrayConfig, isSubquery, isTable, isArrayMainTable); | 44 | 39 | } | 45 | 40 |
| 46 | 41 | @Override | |
|