正在显示
3 个修改的文件
包含
20 行增加
和
5 行删除
| @@ -79,11 +79,19 @@ | @@ -79,11 +79,19 @@ | ||
| 79 | <artifactId>spring-boot-starter-test</artifactId> | 79 | <artifactId>spring-boot-starter-test</artifactId> |
| 80 | <scope>test</scope> | 80 | <scope>test</scope> |
| 81 | </dependency> | 81 | </dependency> |
| 82 | + | ||
| 82 | <dependency> | 83 | <dependency> |
| 83 | - <groupId>com.tianbo</groupId> | ||
| 84 | - <artifactId>util</artifactId> | ||
| 85 | - <version>1.0-SNAPSHOT</version> | 84 | + <groupId>net.sf.json-lib</groupId> |
| 85 | + <artifactId>json-lib</artifactId> | ||
| 86 | + <version>2.4</version> | ||
| 87 | + <classifier>jdk15</classifier> | ||
| 86 | </dependency> | 88 | </dependency> |
| 89 | + | ||
| 90 | + <!--<dependency>--> | ||
| 91 | + <!--<groupId>com.tianbo</groupId>--> | ||
| 92 | + <!--<artifactId>util</artifactId>--> | ||
| 93 | + <!--<version>1.0-SNAPSHOT</version>--> | ||
| 94 | + <!--</dependency>--> | ||
| 87 | <!--<dependency>--> | 95 | <!--<dependency>--> |
| 88 | <!--<groupId>com.fasterxml.jackson.core</groupId>--> | 96 | <!--<groupId>com.fasterxml.jackson.core</groupId>--> |
| 89 | <!--<artifactId>jackson-core</artifactId>--> | 97 | <!--<artifactId>jackson-core</artifactId>--> |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | web: | 2 | web: |
| 3 | upload-path: upload/ | 3 | upload-path: upload/ |
| 4 | server: | 4 | server: |
| 5 | - port: 10003 | 5 | + port: 4005 |
| 6 | servlet: | 6 | servlet: |
| 7 | context-path: ${SERVER_CONTEXTPATH:} | 7 | context-path: ${SERVER_CONTEXTPATH:} |
| 8 | spring: | 8 | spring: |
| @@ -35,7 +35,7 @@ spring: | @@ -35,7 +35,7 @@ spring: | ||
| 35 | static-locations: classpath:/META-INF/resources/,classpath:/static,classpath:/resources/,classpath:/public/,file:${web.upload-path} | 35 | static-locations: classpath:/META-INF/resources/,classpath:/static,classpath:/resources/,classpath:/public/,file:${web.upload-path} |
| 36 | 36 | ||
| 37 | application: | 37 | application: |
| 38 | - name: EMPT-LOCATION | 38 | + name: EMPT-ELECTRICITY-METER |
| 39 | 39 | ||
| 40 | jackson: | 40 | jackson: |
| 41 | serialization: | 41 | serialization: |
| @@ -29,6 +29,13 @@ | @@ -29,6 +29,13 @@ | ||
| 29 | from pay_records | 29 | from pay_records |
| 30 | where id = #{id,jdbcType=INTEGER} | 30 | where id = #{id,jdbcType=INTEGER} |
| 31 | </select> | 31 | </select> |
| 32 | + | ||
| 33 | + <select id="findAll" resultMap="BaseResultMap"> | ||
| 34 | + select | ||
| 35 | + <include refid="Base_Column_List" /> | ||
| 36 | + from pay_records | ||
| 37 | + </select> | ||
| 38 | + | ||
| 32 | <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" > | 39 | <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" > |
| 33 | delete from pay_records | 40 | delete from pay_records |
| 34 | where id = #{id,jdbcType=INTEGER} | 41 | where id = #{id,jdbcType=INTEGER} |
-
请 注册 或 登录 后发表评论