打更新包时忽略prod环境配置文件;一些sql文件调整
This commit is contained in:
parent
da765470e0
commit
802a5b83ec
|
@ -303,6 +303,8 @@
|
|||
<excludes>
|
||||
<!-- 排除生产环境配置 -->
|
||||
<exclude>application-prod.yml</exclude>
|
||||
<!-- 排除flyway管理的sql -->
|
||||
<exclude>db/*.sql</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
|
|
|
@ -21,6 +21,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpEntity;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.http.MediaType;
|
||||
|
@ -40,6 +41,7 @@ import java.time.LocalDateTime;
|
|||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
/**
|
||||
* 资源表
|
||||
*
|
||||
|
@ -90,6 +92,7 @@ public class ResourceController {
|
|||
@Autowired
|
||||
private RestTemplate restTemplate;
|
||||
|
||||
@Lazy
|
||||
@Autowired
|
||||
private JdbcTemplate jdbcTemplate;
|
||||
|
||||
|
@ -303,7 +306,7 @@ public class ResourceController {
|
|||
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n" +
|
||||
" <soap:Body>\n" +
|
||||
" <ZWCJ_mainPort xmlns=\"http://tempuri.org/\">\n" +
|
||||
String.format("<pagenum>%d</pagenum>\n <pagesize>%d</pagesize>\n",page, size) +
|
||||
String.format("<pagenum>%d</pagenum>\n <pagesize>%d</pagesize>\n", page, size) +
|
||||
" </ZWCJ_mainPort>\n" +
|
||||
" </soap:Body>\n" +
|
||||
"</soap:Envelope>";
|
||||
|
|
|
@ -52,6 +52,9 @@
|
|||
<include>*.json</include>
|
||||
<include>db/*.sql</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>application-prod.yml</exclude>
|
||||
</excludes>
|
||||
<filtered>true</filtered>
|
||||
<outputDirectory>${file.separator}config</outputDirectory>
|
||||
</fileSet>
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
ALTER TABLE `share_platform`.`t_resource_mount_apply` ADD COLUMN `resource_dto` json NULL COMMENT '挂载资源对象' AFTER `resource_id`;
|
||||
ALTER TABLE `share_platform`.`t_resource_mount_apply` ADD COLUMN `resource_dto` json NULL COMMENT '挂载资源对象';
|
||||
UPDATE `share_platform`.`t_resource_mount_apply` SET resource_dto = parameter_content;
|
Loading…
Reference in New Issue