@@ -4,4 +4,5 @@ ARG JAR_FILE
ADD target/${JAR_FILE} /file-collect.jar
ADD target/lib /lib
ADD src/main/resources/bootstrap.yml /bootstrap.yml
+
ENTRYPOINT ["java", "-jar","/file-collect.jar"]
@@ -1,4 +1,8 @@
spring:
+ application:
+ name: file-collect
+ profiles:
+ active: test
cloud:
nacos:
config:
@@ -5,13 +5,13 @@
<select id="findLastUpload" resultMap="BaseResultMap2" parameterType="integer">
SELECT ul.id,
ul.line_id,
- l.name line_name,
+ l.line_name line_name,
ul.uploader_id,
a.username uploader_name,
ul.upload_time,
ul.status
- FROM b_line_upload_log ul
- LEFT JOIN b_line l ON ul.line_id = l.id
+ FROM kr_b_line_upload_log ul
+ LEFT JOIN kr_b_line l ON ul.line_id = l.id
LEFT JOIN ums_admin a ON ul.uploader_id = a.id
ORDER BY ul.id DESC
LIMIT #{limit};