Commit f1ffb1ce by 张晓

临时批次

1 parent 88a79605
......@@ -32,9 +32,9 @@ spring:
# - optional:nacos:datasource-config.yaml
datasource:
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
password: 12345678
password: 123456
type: com.alibaba.druid.pool.DruidDataSource
redis:
......
......@@ -19,14 +19,18 @@ public class BatchServiceTest {
BatchService batchService;
String groupId = "gsuzhou";
String day = "2023-06-16";
String day = "2023-07-05";
@Test
public void test1() {
log.info("init");
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) {
log.info("error %s", 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!