forked from zhuyuchen/buliang
更新大赛23年为24年
This commit is contained in:
parent
a721c3fb66
commit
88243f1c03
7
.idea/codeStyles/Project.xml
generated
Normal file
7
.idea/codeStyles/Project.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<ScalaCodeStyleSettings>
|
||||
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
|
||||
</ScalaCodeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
2
.idea/compiler.xml
generated
2
.idea/compiler.xml
generated
@ -7,12 +7,14 @@
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="buliang" />
|
||||
<module name="buliangfanying" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="buliang" options="-parameters" />
|
||||
<module name="buliangfanying" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
|
3
.idea/misc.xml
generated
3
.idea/misc.xml
generated
@ -16,7 +16,6 @@
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="workspaceImportForciblyTurnedOn" value="true" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
@ -177,8 +177,8 @@ public class TSJBController {
|
||||
String startMonth = ObjectUtils.isEmpty(month) ? "1" : month;
|
||||
String endMonth = ObjectUtils.isEmpty(month) ? "12" : month;
|
||||
//开始时间不用
|
||||
String start = "2023/" + startMonth + "/1";
|
||||
String end = "2023/" + endMonth + "/31";
|
||||
String start = "2024/" + startMonth + "/1";
|
||||
String end = "2024/" + endMonth + "/31";
|
||||
return tsjbDataService.getTouSuLvDaPingStreet(start, end, hj, szqx,street,littlemonth);
|
||||
}
|
||||
|
||||
|
@ -77,8 +77,8 @@ public class ZFJCController {
|
||||
String startMonth = ObjectUtils.isEmpty(month) ? "1" : month;
|
||||
String endMonth = ObjectUtils.isEmpty(month) ? "12" : month;
|
||||
//开始时间不用
|
||||
String start = "2022/" + startMonth + "/1";
|
||||
String end = "2022/" + endMonth + "/31";
|
||||
String start = "2024/" + startMonth + "/1";
|
||||
String end = "2024/" + endMonth + "/31";
|
||||
return zfjcDataService.getWenTiLvDaPing(hj, szqx, start, end);
|
||||
}
|
||||
|
||||
@ -106,8 +106,8 @@ public class ZFJCController {
|
||||
String startMonth = ObjectUtils.isEmpty(month) ? "1" : month;
|
||||
String endMonth = ObjectUtils.isEmpty(month) ? "12" : month;
|
||||
//开始时间不用
|
||||
String start = "2023/" + startMonth + "/1";
|
||||
String end = "2023/" + endMonth + "/31";
|
||||
String start = "2024/" + startMonth + "/1";
|
||||
String end = "2024/" + endMonth + "/31";
|
||||
return zfjcDataService.getWenTiLvDaPingStreetDasai(hj, szqx, start, end,street,littlemonth);
|
||||
}
|
||||
|
||||
|
@ -76,8 +76,8 @@ public class ZHZSController {
|
||||
String startMonth = ObjectUtils.isEmpty(month) ? "1" : month;
|
||||
String endMonth = ObjectUtils.isEmpty(month) ? "12" : month;
|
||||
//开始时间不用
|
||||
String start = "2023/" + startMonth + "/1";
|
||||
String end = "2023/" + endMonth + "/31";
|
||||
String start = "2024/" + startMonth + "/1";
|
||||
String end = "2024/" + endMonth + "/31";
|
||||
DateTimeFormatter dateString = DateTimeFormatter.ofPattern("yyyy/M/d");
|
||||
LocalDate startTime = !ObjectUtils.isEmpty(start) ? LocalDate.parse(start, dateString) : null;
|
||||
LocalDate endTime = !ObjectUtils.isEmpty(end) ? LocalDate.parse(end, dateString) : null;
|
||||
@ -113,8 +113,8 @@ public class ZHZSController {
|
||||
String startMonth = ObjectUtils.isEmpty(month) ? "1" : month;
|
||||
String endMonth = ObjectUtils.isEmpty(month) ? "12" : month;
|
||||
//开始时间不用
|
||||
String start = "2022/" + startMonth + "/1";
|
||||
String end = "2022/" + endMonth + "/31";
|
||||
String start = "2024/" + startMonth + "/1";
|
||||
String end = "2024/" + endMonth + "/31";
|
||||
DateTimeFormatter dateString = DateTimeFormatter.ofPattern("yyyy/M/d");
|
||||
LocalDate startTime = !ObjectUtils.isEmpty(start) ? LocalDate.parse(start, dateString) : null;
|
||||
LocalDate endTime = !ObjectUtils.isEmpty(end) ? LocalDate.parse(end, dateString) : null;
|
||||
|
@ -685,7 +685,7 @@ public class CjjcServiceImpl implements CjjcService {
|
||||
|
||||
@Override
|
||||
public ZR<List<TongJiHeGeLv>> getTongJiHeGeLvDaPingStreetDasai(String hj, String szqx, String month,String street) {
|
||||
String year = "2023";
|
||||
String year = "2024";
|
||||
MonthTimeVo timeByMonth = TimeUtil.getTimeByMonth(year, month, month, TimeUtil.FORMAT_1);
|
||||
LocalDate startDataTime = timeByMonth.getStartDataTime();
|
||||
LocalDate endDataTime = timeByMonth.getEndDataTime();
|
||||
|
@ -250,7 +250,7 @@ public class ZhzsServiceImpl implements ZhzsService {
|
||||
public List<DaPingScoreQX> getCountyMapScore(String hj, String szqx, LocalDate startTime, LocalDate endTime) {
|
||||
|
||||
//默认2023
|
||||
String year = "2023";
|
||||
String year = "2024";
|
||||
String month = startTime.getMonthValue() + "";
|
||||
|
||||
//信息追溯 hj
|
||||
@ -402,7 +402,7 @@ public class ZhzsServiceImpl implements ZhzsService {
|
||||
public List<DaPingScoreQX> getCountyMapScoreDasai(String hj, String szqx, LocalDate startTime, LocalDate endTime) {
|
||||
|
||||
//默认2023
|
||||
String year = "2022";
|
||||
String year = "2024";
|
||||
String month = startTime.getMonthValue() + "";
|
||||
|
||||
//信息追溯 hj
|
||||
@ -558,7 +558,7 @@ public class ZhzsServiceImpl implements ZhzsService {
|
||||
}
|
||||
|
||||
//默认2023
|
||||
String year = "2023";
|
||||
String year = "2024";
|
||||
|
||||
//信息追溯 hj
|
||||
List<ZHZSVo> xxzsVoJie = zcqyService.getScoreByStreetQuery(hj, szqx, endTime);
|
||||
@ -1134,7 +1134,7 @@ public class ZhzsServiceImpl implements ZhzsService {
|
||||
for (String street : streetListInit) {
|
||||
for (int month = 1; month <= 5; month++) {
|
||||
String monthStr = month + "";
|
||||
String yearStr = 2023 + "";
|
||||
String yearStr = 2024 + "";
|
||||
MonthTimeVo timeByMonth = TimeUtil.getTimeByMonth(yearStr, monthStr, monthStr, TimeUtil.FORMAT_1);
|
||||
this.setZhzsAllFenzi(timeByMonth.getStartDataTime(), timeByMonth.getEndDataTime(), monthStr, szqx, street, hj, now);
|
||||
}
|
||||
|
@ -10,21 +10,70 @@ spring:
|
||||
primary: db1
|
||||
strict: false
|
||||
datasource:
|
||||
db1:
|
||||
url: jdbc:dm://localhost:5236?clobAsString=true
|
||||
username: BL
|
||||
password: asd159159
|
||||
driver-class-name: dm.jdbc.driver.DmDriver
|
||||
|
||||
# 250623szk注释换下面两个db
|
||||
# db1:
|
||||
# url: jdbc:dm://localhost:5236?clobAsString=true
|
||||
# username: BL
|
||||
# password: asd159159
|
||||
# driver-class-name: dm.jdbc.driver.DmDriver
|
||||
# # db2:
|
||||
# # url: jdbc:clickhouse://192.168.1.128:8123
|
||||
# # username: default
|
||||
# # password: ""
|
||||
# # driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
||||
# db2:
|
||||
# url: jdbc:clickhouse://192.168.1.128:8123
|
||||
# url: jdbc:clickhouse://192.168.1.128:8124
|
||||
# username: default
|
||||
# password: ""
|
||||
# password: default
|
||||
# driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
||||
|
||||
|
||||
# db1:
|
||||
# # url: jdbc:dm://localhost:5236?clobAsString=true
|
||||
# url: jdbc:dm://192.168.0.165:5236?clobAsString=true
|
||||
# username: BL
|
||||
# # password: asd159159
|
||||
# password: 123456
|
||||
# driver-class-name: dm.jdbc.driver.DmDriver
|
||||
# # db2:
|
||||
# # url: jdbc:clickhouse://192.168.1.128:8123
|
||||
# # username: default
|
||||
# # password: ""
|
||||
# # driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
||||
# db2:
|
||||
# # url: jdbc:clickhouse://192.168.1.128:8124
|
||||
# url: jdbc:clickhouse://192.168.0.149:9888
|
||||
# username: default
|
||||
# # password: default
|
||||
# password: ""
|
||||
# driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
||||
|
||||
db1:
|
||||
# url: jdbc:dm://localhost:5236?clobAsString=true
|
||||
url: jdbc:dm://localhost:5236?clobAsString=true
|
||||
# username: BL
|
||||
username: SYSDBA
|
||||
# password: asd159159
|
||||
password: Admin@123
|
||||
driver-class-name: dm.jdbc.driver.DmDriver
|
||||
# db2:
|
||||
# url: jdbc:clickhouse://192.168.1.128:8123
|
||||
# username: default
|
||||
# password: ""
|
||||
# driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
||||
db2:
|
||||
url: jdbc:clickhouse://192.168.1.128:8124
|
||||
# url: jdbc:clickhouse://192.168.1.128:8124
|
||||
# url: jdbc:clickhouse://127.0.0.1:8123
|
||||
url: jdbc:clickhouse://192.168.0.151:9888
|
||||
username: default
|
||||
password: default
|
||||
# password: default
|
||||
password: ""
|
||||
driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
||||
|
||||
|
||||
|
||||
|
||||
hikari:
|
||||
connection-timeout: 120000
|
||||
jackson:
|
||||
|
Loading…
x
Reference in New Issue
Block a user