6dfd034d by 夏齐

首次提交

1 parent 48110693
......@@ -25,6 +25,9 @@ public class EciHttpUtil {
@Value("${app.hostUrl}")
private String hostUrl;
@Value("${app.eciPath}")
private String eciPath;
......@@ -170,7 +173,7 @@ public class EciHttpUtil {
in =conn.getInputStream();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy");
String dateDir = simpleDateFormat.format(new Date());
File savePath = new File("E:\\ECI\\"+areacode+"\\"+ htlx+dateDir+bh);
File savePath = new File(eciPath+"ECI\\"+areacode+"\\"+ htlx+dateDir+bh);
if (!savePath.exists()) {
savePath.mkdirs();
}
......
......@@ -49,6 +49,9 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
@Value("${app.areacode}")
private String areacode;
@Value("${app.eciPath}")
private String eciPath;
@Autowired
private RegBusBdcqzsdjxxMapper regBusBdcqzsdjxxMapper;
@Autowired
......@@ -427,7 +430,7 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
String htlx=waitForConvert.getHtlx();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy");
String dateDir = simpleDateFormat.format(new Date());
String url=ofdToImg(ofdPath,"E:\\ECI\\"+areacode+"\\"+ htlx+dateDir+bh+"\\",id);
String url=ofdToImg(ofdPath,eciPath+"ECI\\"+areacode+"\\"+ htlx+dateDir+bh+"\\",id);
if(StringUtils.isNotBlank(url)){
waitForConvert.setSfzh("1");
waitForConvert.setJpgWjdz(url);
......@@ -514,12 +517,16 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
qlqtzk=qlqtzk.substring(qlqtzk.indexOf(";")+1);
}
String[] qlzkInfo = qlqtzk.split(";");
for (int j = 0; j < qlzkInfo.length; j++) {
if (qlzkInfo[j].contains("共有情况")) {
qlzkInfo[j] = "共有情况: " + hashMap.get("GYQK");
if("1003".equals(map.get("DJLX")) || "1004".equals(map.get("DJLX"))){
qlqtzk=qlzkInfo[0]+";"+qlzkInfo[1]+";"+qlzkInfo[2]+";"+qlzkInfo[3]+";"+qlzkInfo[4]+";"+qlzkInfo[5]+";"+qlzkInfo[6]+";共有情况: " + hashMap.get("GYQK");
}else{
for (int j = 0; j < qlzkInfo.length; j++) {
if (qlzkInfo[j].contains("共有情况")) {
qlzkInfo[j] = "共有情况: " + hashMap.get("GYQK");
}
}
qlqtzk=StringUtils.join(qlzkInfo, ";");
}
qlqtzk=StringUtils.join(qlzkInfo, ";");
if (arrList != null && arrList.size() > 0) {
hashMap.put("QLQTZK", qlqtzk + ";共有人:" + gyr);
} else {
......@@ -572,12 +579,16 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
qlqtzk=qlqtzk.substring(qlqtzk.indexOf(";")+1);
}
String[] qlzkInfo = qlqtzk.split(";");
for (int j = 0; j < qlzkInfo.length; j++) {
if (qlzkInfo[j].contains("共有情况")) {
qlzkInfo[j] = "共有情况: " + hashMap.get("GYQK");
if("1003".equals(map.get("DJLX")) || "1004".equals(map.get("DJLX"))){
qlqtzk=qlzkInfo[0]+";"+qlzkInfo[1]+";"+qlzkInfo[2]+";"+qlzkInfo[3]+";"+qlzkInfo[4]+";"+qlzkInfo[5]+";"+qlzkInfo[6]+";共有情况: " + hashMap.get("GYQK");
}else{
for (int j = 0; j < qlzkInfo.length; j++) {
if (qlzkInfo[j].contains("共有情况")) {
qlzkInfo[j] = "共有情况: " + hashMap.get("GYQK");
}
}
qlqtzk=StringUtils.join(qlzkInfo, ";");
}
qlqtzk=StringUtils.join(qlzkInfo, ";");
if (arrList != null && arrList.size() > 0) {
hashMap.put("QLQTZK", qlqtzk + ";共有人:" + gyr);
} else {
......
server:
port: 8011
servlet:
session:
timeout: 43200
spring:
servlet:
multipart:
maxFileSize: 10MB
maxRequestSize: 10MB
application:
name: hzbdcsyn
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
default-property-inclusion: always
datasource:
dynamic:
primary: master
datasource:
master:
url: jdbc:oracle:thin:@172.16.56.4:1521:ODM
driver-class-name: oracle.jdbc.driver.OracleDriver
username: regs
password: root1234
mybatis-plus:
mapper-locations: classpath:mapper/**/*.xml
typeAliasesPackage: com.pashanhoo
global-config:
#涓婚敭绫诲瀷 0:"鏁版嵁搴揑D鑷", 1:"鐢ㄦ埛杈撳叆ID",2:"鍏ㄥ眬鍞竴ID (鏁板瓧绫诲瀷鍞竴ID)", 3:"鍏ㄥ眬鍞竴ID UUID";
id-type: 2
#瀛楁绛栫暐 0:"蹇界暐鍒ゆ柇",1:"闈� NULL 鍒ゆ柇"),2:"闈炵┖鍒ゆ柇"
field-strategy: 1
#椹煎嘲涓嬪垝绾胯浆鎹�
db-column-underline: true
#鍒锋柊mapper 璋冭瘯绁炲櫒
refresh-mapper: true
#鏁版嵁搴撳ぇ鍐欎笅鍒掔嚎杞崲
#capital-mode: true
#搴忓垪鎺ュ彛瀹炵幇绫婚厤缃�
#key-generator: com.baomidou.springboot.xxx
#閫昏緫鍒犻櫎閰嶇疆
logic-delete-value: -1
logic-not-delete-0: 0
#鑷畾涔夊~鍏呯瓥鐣ユ帴鍙e疄鐜�
#meta-object-handler: com.baomidou.springboot.xxx
#鑷畾涔塖QL娉ㄥ叆鍣�
# sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
call-setters-on-nulls: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
app:
hostUrl: http://172.16.56.60:9182
bdcdjzmlc: 2905681381004489569
bdcqzslc: 2905684509636506505
AppToken: lv2M681jcM
AppSecret: mZWAKA2p7vvnTZMNuUKRHaCL3LTgHA
areacode: 610702
eciPath: F:\
management:
endpoints:
web:
exposure:
include: "*"
logging:
config: "classpath:logback-spring.xml"
server:
port: 8012
servlet:
session:
timeout: 43200
spring:
servlet:
multipart:
maxFileSize: 10MB
maxRequestSize: 10MB
application:
name: hzbdcsyn
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
default-property-inclusion: always
datasource:
dynamic:
primary: master
datasource:
master:
url: jdbc:oracle:thin:@172.16.56.21:1521:orcl
driver-class-name: oracle.jdbc.driver.OracleDriver
username: regs
password: root1234
mybatis-plus:
mapper-locations: classpath:mapper/**/*.xml
typeAliasesPackage: com.pashanhoo
global-config:
#涓婚敭绫诲瀷 0:"鏁版嵁搴揑D鑷", 1:"鐢ㄦ埛杈撳叆ID",2:"鍏ㄥ眬鍞竴ID (鏁板瓧绫诲瀷鍞竴ID)", 3:"鍏ㄥ眬鍞竴ID UUID";
id-type: 2
#瀛楁绛栫暐 0:"蹇界暐鍒ゆ柇",1:"闈� NULL 鍒ゆ柇"),2:"闈炵┖鍒ゆ柇"
field-strategy: 1
#椹煎嘲涓嬪垝绾胯浆鎹�
db-column-underline: true
#鍒锋柊mapper 璋冭瘯绁炲櫒
refresh-mapper: true
#鏁版嵁搴撳ぇ鍐欎笅鍒掔嚎杞崲
#capital-mode: true
#搴忓垪鎺ュ彛瀹炵幇绫婚厤缃�
#key-generator: com.baomidou.springboot.xxx
#閫昏緫鍒犻櫎閰嶇疆
logic-delete-value: -1
logic-not-delete-0: 0
#鑷畾涔夊~鍏呯瓥鐣ユ帴鍙e疄鐜�
#meta-object-handler: com.baomidou.springboot.xxx
#鑷畾涔塖QL娉ㄥ叆鍣�
# sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
call-setters-on-nulls: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
app:
hostUrl: http://172.16.56.41:9182
bdcdjzmlc: 2890537670326468622
bdcqzslc: 2890537800123400234
AppToken: OAduCx5qJD
AppSecret: DifsZNwDnamuRh9jS0gSOTJFvmmKtT
areacode: 610702
eciPath: E:\
management:
endpoints:
web:
exposure:
include: "*"
logging:
config: "classpath:logback-spring.xml"
server:
port: 8011
servlet:
session:
timeout: 43200
spring:
servlet:
multipart:
maxFileSize: 10MB
maxRequestSize: 10MB
application:
name: hzbdcsyn
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
default-property-inclusion: always
datasource:
dynamic:
primary: master
datasource:
master:
#url: jdbc:oracle:thin:@172.16.56.4:1521:ODM
url: jdbc:oracle:thin:@172.16.56.21:1521:orcl
driver-class-name: oracle.jdbc.driver.OracleDriver
username: regs
password: root1234
mybatis-plus:
mapper-locations: classpath:mapper/**/*.xml
typeAliasesPackage: com.pashanhoo
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 2
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
#序列接口实现类配置
#key-generator: com.baomidou.springboot.xxx
#逻辑删除配置
logic-delete-value: -1
logic-not-delete-0: 0
#自定义填充策略接口实现
#meta-object-handler: com.baomidou.springboot.xxx
#自定义SQL注入器
# sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
call-setters-on-nulls: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
app:
hostUrl: http://172.16.56.41:9182
bdcdjzmlc: 2890537670326468622
bdcqzslc: 2890537800123400234
AppToken: OAduCx5qJD
AppSecret: DifsZNwDnamuRh9jS0gSOTJFvmmKtT
areacode: 610702
management:
endpoints:
web:
exposure:
include: "*"
logging:
config: "classpath:logback-spring.xml"
profiles:
active: test
......