作者 shenhailong

pox yml

... ... @@ -79,11 +79,19 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tianbo</groupId>
<artifactId>util</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.4</version>
<classifier>jdk15</classifier>
</dependency>
<!--<dependency>-->
<!--<groupId>com.tianbo</groupId>-->
<!--<artifactId>util</artifactId>-->
<!--<version>1.0-SNAPSHOT</version>-->
<!--</dependency>-->
<!--<dependency>-->
<!--<groupId>com.fasterxml.jackson.core</groupId>-->
<!--<artifactId>jackson-core</artifactId>-->
... ...
... ... @@ -2,7 +2,7 @@
web:
upload-path: upload/
server:
port: 10003
port: 4005
servlet:
context-path: ${SERVER_CONTEXTPATH:}
spring:
... ... @@ -35,7 +35,7 @@ spring:
static-locations: classpath:/META-INF/resources/,classpath:/static,classpath:/resources/,classpath:/public/,file:${web.upload-path}
application:
name: EMPT-LOCATION
name: EMPT-ELECTRICITY-METER
jackson:
serialization:
... ...
... ... @@ -29,6 +29,13 @@
from pay_records
where id = #{id,jdbcType=INTEGER}
</select>
<select id="findAll" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from pay_records
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from pay_records
where id = #{id,jdbcType=INTEGER}
... ...