Commit f1ffb1ce by 张晓

临时批次

1 parent 88a79605
...@@ -32,9 +32,9 @@ spring: ...@@ -32,9 +32,9 @@ spring:
# - optional:nacos:datasource-config.yaml # - optional:nacos:datasource-config.yaml
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/saas_aftersale_test?serverTimezone=UTC url: jdbc:mysql://127.0.0.1:3388/saas_aftersale_test?serverTimezone=UTC
username: root username: root
password: 12345678 password: 123456
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
redis: redis:
......
...@@ -19,14 +19,18 @@ public class BatchServiceTest { ...@@ -19,14 +19,18 @@ public class BatchServiceTest {
BatchService batchService; BatchService batchService;
String groupId = "gsuzhou"; String groupId = "gsuzhou";
String day = "2023-06-16"; String day = "2023-07-05";
@Test @Test
public void test1() { public void test1() {
log.info("init"); log.info("init");
try { try {
batchService.buildBatchNo(groupId, day); batchService.buildBatchNo(groupId, "2023-07-04");
batchService.buildBatchNo(groupId, "2023-07-05");
batchService.buildBatchNo(groupId, "2023-07-06");
batchService.buildBatchNo(groupId, "2023-07-07");
} catch (SQLException e) { } catch (SQLException e) {
log.info("error %s", e); log.info("error %s", e);
throw new RuntimeException(e); throw new RuntimeException(e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!