From 562188dd35437cd28146561b94c224a574f1cbb3 Mon Sep 17 00:00:00 2001 From: lulz1 Date: Mon, 22 Apr 2024 15:56:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/chint/infrastructure/constant/RankConstant.java | 2 +- src/main/resources/Dockerfile | 1 - src/test/java/com/chint/RouteApplicationTests.java | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/chint/infrastructure/constant/RankConstant.java b/src/main/java/com/chint/infrastructure/constant/RankConstant.java index b0058206..0127a2e8 100644 --- a/src/main/java/com/chint/infrastructure/constant/RankConstant.java +++ b/src/main/java/com/chint/infrastructure/constant/RankConstant.java @@ -21,7 +21,7 @@ public class RankConstant { public static final String SHDY_COMPANY_CODE = "A20050001";//上海正泰电源系统有限公司 public static final String SHDY_COMPANY_NAME = "上海正泰电源系统有限公司";//上海正泰电源系统有限公司 - public static final String DEFAULT_RANK_NAME = "P1";//默认职级 + public static final String DEFAULT_RANK_NAME = "PR1";//默认职级 public static final String ZTZW_COMPANY_CODE = "A70000051";//浙江正泰智维能源服务有限公司 diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile index 190eba1e..84fb10a4 100644 --- a/src/main/resources/Dockerfile +++ b/src/main/resources/Dockerfile @@ -7,7 +7,6 @@ RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shang RUN sed -i 's/jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1/jdk.tls.disabledAlgorithms=SSLv3/g' /usr/lib/jvm/msopenjdk-17-amd64/conf/security/java.security FROM base AS final -RUN apt-get update && apt-get install -y vim WORKDIR /app COPY . . RUN rm -f /app/Dockerfile diff --git a/src/test/java/com/chint/RouteApplicationTests.java b/src/test/java/com/chint/RouteApplicationTests.java index eaf763bb..bd6bf278 100644 --- a/src/test/java/com/chint/RouteApplicationTests.java +++ b/src/test/java/com/chint/RouteApplicationTests.java @@ -268,9 +268,9 @@ class RouteApplicationTests { System.out.println(orderInfo.getOrderSerialNo()); } -// @Test + @Test void loginSign() { - String sfno = "240412063"; + String sfno = "240305077"; String syscode = "FSSC"; String billcode = "CLSQ240225000099"; String companycode = "正泰集团股份有限公司"; @@ -285,7 +285,7 @@ class RouteApplicationTests { @Test void loginSignProd() { - String sfno = "230701137"; + String sfno = "240305077"; String syscode = "FSSC"; String billcode = "CLSQ240225000099"; String companycode = "正泰集团股份有限公司";