From 22dd2136e694e3f871591e7fcaac7b19d05e09bd Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期三, 28 十月 2026 10:27:41 +0800
Subject: [PATCH] fix 审查考勤问题
---
sql/mysql/hrm_attendance_location_20261024.sql | 27 ++++++++++---
/dev/null | 20 ----------
yudao-server/src/main/resources/application-chdl.yaml | 14 +++---
yudao-module-qcreport/pom.xml | 6 ++
yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/HrmAttendanceRecordController.java | 25 ++----------
sql/mysql/hrm_attendance_supplement.sql | 12 +++---
yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/dal/dataobject/attendance/HrmAttendanceSummaryDO.java | 6 +++
7 files changed, 49 insertions(+), 61 deletions(-)
diff --git a/sql/mysql/hrm_attendance_location_20261024.sql b/sql/mysql/hrm_attendance_location_20261024.sql
index 5094a81..c919a7f 100644
--- a/sql/mysql/hrm_attendance_location_20261024.sql
+++ b/sql/mysql/hrm_attendance_location_20261024.sql
@@ -52,12 +52,27 @@
DROP PROCEDURE xgdl_hrm_attendance_add_column_20261024;
--- 瀵归綈鑰冨嫟瑙勫垯涓庢墦鍗℃寜閽潈闄愮爜锛岀‘淇� Web 鍜� APP 鏅�氳鑹插彲浠ユ巿鏉冧娇鐢ㄣ��
-UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:query' WHERE `id` = 60131;
-UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:create' WHERE `id` = 60132;
-UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:update' WHERE `id` = 60133;
-UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:delete' WHERE `id` = 60134;
-UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:export' WHERE `id` = 60135;
+-- 瀵归綈鑰冨嫟瑙勫垯鎸夐挳鏉冮檺鐮佸埌 Controller 瀹為檯浣跨敤鐨� hrm:attendance-rule:*銆�
+-- 60131~60135 鏄� hrm_attendance_supplement.sql 鍒涘缓鐨勬棦鏈夋寜閽锛岃繖閲屽彧鏀规潈闄愭爣璇嗭紝淇濈暀鑿滃崟 ID 涓庢棦鏈夎鑹叉巿鏉冦��
+UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:query' WHERE `id` = 60131 AND `deleted` = b'0';
+UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:create' WHERE `id` = 60132 AND `deleted` = b'0';
+UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:update' WHERE `id` = 60133 AND `deleted` = b'0';
+UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:delete' WHERE `id` = 60134 AND `deleted` = b'0';
+UPDATE `system_menu` SET `permission` = 'hrm:attendance-rule:export' WHERE `id` = 60135 AND `deleted` = b'0';
+
+-- menu_permission_consistency_patch.sql 鍙兘宸蹭负鍚屾牱鐨勬潈闄愭爣璇嗘彃鍏ヨ繃鏂拌彍鍗曡锛�
+-- 鑻ュ厛鎵ц杩囪琛ヤ竵锛屼笂闈� 5 鏉� UPDATE 浼氶�犳垚鈥滀竴涓潈闄愬搴斿涓彍鍗曗�濈殑閲嶅鎸夐挳锛岃繖閲屾竻鐞嗘帀闈� 60131~60135 鐨勯噸澶嶈銆�
+UPDATE `system_menu` dup
+JOIN `system_menu` canonical
+ ON canonical.`permission` = dup.`permission`
+ AND canonical.`id` IN (60131, 60132, 60133, 60134, 60135)
+ AND canonical.`deleted` = b'0'
+SET dup.`deleted` = b'1', dup.`updater` = '1', dup.`update_time` = NOW()
+WHERE dup.`id` NOT IN (60131, 60132, 60133, 60134, 60135)
+ AND dup.`deleted` = b'0'
+ AND dup.`permission` IN ('hrm:attendance-rule:query', 'hrm:attendance-rule:create',
+ 'hrm:attendance-rule:update', 'hrm:attendance-rule:delete',
+ 'hrm:attendance-rule:export');
INSERT INTO `system_menu`
(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`,
diff --git a/sql/mysql/hrm_attendance_supplement.sql b/sql/mysql/hrm_attendance_supplement.sql
index ec3a9b9..687150d 100644
--- a/sql/mysql/hrm_attendance_supplement.sql
+++ b/sql/mysql/hrm_attendance_supplement.sql
@@ -53,19 +53,19 @@
VALUES (6013, '鑰冨嫟瑙勫垯', '', 2, 0, 6010, 'rule', 'ep:setting', 'hrm/attendance/rule/index', 'HrmAttendanceRule', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
-VALUES (60131, '鑰冨嫟瑙勫垯鏌ヨ', 'hrm:attendance:query', 3, 1, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
+VALUES (60131, '鑰冨嫟瑙勫垯鏌ヨ', 'hrm:attendance-rule:query', 3, 1, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
-VALUES (60132, '鑰冨嫟瑙勫垯鏂板', 'hrm:attendance:create', 3, 2, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
+VALUES (60132, '鑰冨嫟瑙勫垯鏂板', 'hrm:attendance-rule:create', 3, 2, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
-VALUES (60133, '鑰冨嫟瑙勫垯淇敼', 'hrm:attendance:update', 3, 3, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
+VALUES (60133, '鑰冨嫟瑙勫垯淇敼', 'hrm:attendance-rule:update', 3, 3, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
-VALUES (60134, '鑰冨嫟瑙勫垯鍒犻櫎', 'hrm:attendance:delete', 3, 4, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
+VALUES (60134, '鑰冨嫟瑙勫垯鍒犻櫎', 'hrm:attendance-rule:delete', 3, 4, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
-VALUES (60135, '鑰冨嫟瑙勫垯瀵煎嚭', 'hrm:attendance:export', 3, 5, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
+VALUES (60135, '鑰冨嫟瑙勫垯瀵煎嚭', 'hrm:attendance-rule:export', 3, 5, 6013, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
-- 3.2 鑺傚亣鏃ラ厤缃彍鍗�
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
@@ -101,7 +101,7 @@
-- 3.4 鎵撳崱鏉冮檺
INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
-VALUES (60114, '鎵撳崱', 'hrm:attendance:clock', 3, 4, 6011, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
+VALUES (60114, '瀹氫綅鎵撳崱', 'hrm:attendance-record:clock', 3, 4, 6011, '', '', '', NULL, 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0');
-- =============================================
-- 4. 瑙掕壊鑿滃崟鍏宠仈
diff --git a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/HrmAttendanceRecordController.java b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/HrmAttendanceRecordController.java
index 7908530..38b8d46 100644
--- a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/HrmAttendanceRecordController.java
+++ b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/HrmAttendanceRecordController.java
@@ -9,7 +9,6 @@
import cn.iocoder.yudao.framework.excel.core.util.ExcelUtils;
import cn.iocoder.yudao.framework.operatelog.core.util.OperateLogUtils;
import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmAttendanceClockReqVO;
-import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmAttendanceClockRespVO;
import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmAttendanceMyStatusRespVO;
import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmAttendanceRecordImportExcelVO;
import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmAttendanceRecordImportReqVO;
@@ -67,9 +66,8 @@
@PostMapping("/clock-in")
@Operation(summary = "涓婄彮鎵撳崱")
- @PreAuthorize("@ss.hasPermission('hrm:attendance-record:clock')")
@ApiAccessLog(requestEnable = false)
- public CommonResult<HrmAttendanceClockRespVO> clockIn(
+ public CommonResult<HrmAttendanceRecordRespVO> clockIn(
@Valid @RequestBody(required = false) HrmAttendanceClockReqVO reqVO,
@RequestParam(value = "location", required = false) String legacyLocation) {
Long loginUserId = getLoginUserId();
@@ -80,14 +78,13 @@
}
HrmAttendanceClockResult result = attendanceRecordService.clockIn(
employee.getId(), LocalDateTime.now(), reqVO, legacyLocation);
- return success(buildClockResultVO(result, employee));
+ return success(buildClockRespVO(result.record(), employee));
}
@PostMapping("/clock-out")
@Operation(summary = "涓嬬彮鎵撳崱")
- @PreAuthorize("@ss.hasPermission('hrm:attendance-record:clock')")
@ApiAccessLog(requestEnable = false)
- public CommonResult<HrmAttendanceClockRespVO> clockOut(
+ public CommonResult<HrmAttendanceRecordRespVO> clockOut(
@Valid @RequestBody(required = false) HrmAttendanceClockReqVO reqVO,
@RequestParam(value = "location", required = false) String legacyLocation) {
Long loginUserId = getLoginUserId();
@@ -98,13 +95,12 @@
}
HrmAttendanceClockResult result = attendanceRecordService.clockOut(
employee.getId(), LocalDateTime.now(), reqVO, legacyLocation);
- return success(buildClockResultVO(result, employee));
+ return success(buildClockRespVO(result.record(), employee));
}
@GetMapping("/my-status")
@Operation(summary = "鑾峰緱褰撳墠鐧诲綍浜虹殑鑰冨嫟鐘舵��")
@Parameter(name = "date", description = "鑰冨嫟鏃ユ湡锛屾牸寮� yyyy-MM-dd锛岄粯璁ゆ湇鍔″櫒褰撳ぉ", example = "2026-10-17")
- @PreAuthorize("@ss.hasPermission('hrm:attendance-record:clock')")
public CommonResult<HrmAttendanceMyStatusRespVO> getMyStatus(
@RequestParam(value = "date", required = false)
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) LocalDate date) {
@@ -124,19 +120,6 @@
if (dept != null) {
respVO.setDeptName(dept.getName());
}
- }
- return respVO;
- }
-
- private HrmAttendanceClockRespVO buildClockResultVO(HrmAttendanceClockResult result,
- HrmEmployeeDO employee) {
- HrmAttendanceClockRespVO respVO = new HrmAttendanceClockRespVO();
- respVO.setRecord(buildClockRespVO(result.record(), employee));
- respVO.setLocationName(result.rule().getLocationName());
- if (Boolean.TRUE.equals(result.rule().getLocationRequired())) {
- respVO.setDistanceMeters(result.distanceMeters());
- respVO.setRadiusMeters(result.rule().getRadiusMeters());
- respVO.setWithinRange(true);
}
return respVO;
}
diff --git a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/vo/HrmAttendanceClockRespVO.java b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/vo/HrmAttendanceClockRespVO.java
deleted file mode 100644
index 8f45c4f..0000000
--- a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/attendance/vo/HrmAttendanceClockRespVO.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-import lombok.Data;
-
-import java.math.BigDecimal;
-
-@Data
-public class HrmAttendanceClockRespVO {
- @Schema(description = "鑰冨嫟璁板綍")
- private HrmAttendanceRecordRespVO record;
- @Schema(description = "瑙勫垯鍦扮偣鍚嶇О")
- private String locationName;
- @Schema(description = "璺濊鍒欏湴鐐硅窛绂伙紝绫筹紱鏈惎鐢ㄤ綅缃檺鍒舵椂涓虹┖")
- private BigDecimal distanceMeters;
- @Schema(description = "鍏佽鍗婂緞锛岀背锛涙湭鍚敤浣嶇疆闄愬埗鏃朵负绌�")
- private Integer radiusMeters;
- @Schema(description = "鏄惁鍦ㄥ厑璁歌寖鍥达紱鏈惎鐢ㄤ綅缃檺鍒舵椂涓虹┖")
- private Boolean withinRange;
-}
diff --git a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/dal/dataobject/attendance/HrmAttendanceSummaryDO.java b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/dal/dataobject/attendance/HrmAttendanceSummaryDO.java
index 56d350a..82045f9 100644
--- a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/dal/dataobject/attendance/HrmAttendanceSummaryDO.java
+++ b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/dal/dataobject/attendance/HrmAttendanceSummaryDO.java
@@ -2,6 +2,7 @@
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
@@ -43,7 +44,12 @@
/**
* 骞存湀锛屾牸寮忥細yyyy-MM
+ *
+ * YEAR_MONTH 鍦� MySQL 8 涓槸淇濈暀鍏抽敭瀛楋紙鏃ユ湡鍗曚綅锛夛紝
+ * 涓嶅姞鍙嶅紩鍙蜂細瀵艰嚧 MyBatis-Plus 鐢熸垚鐨� SQL 鎶� 1064 璇硶閿欒锛�
+ * 鍥犳杩欓噷鏄惧紡鎸囧畾甯﹀弽寮曞彿鐨勫垪鍚嶃��
*/
+ @TableField("`year_month`")
private String yearMonth;
/**
diff --git a/yudao-module-qcreport/pom.xml b/yudao-module-qcreport/pom.xml
index 72f6e7f..2ce62ec 100644
--- a/yudao-module-qcreport/pom.xml
+++ b/yudao-module-qcreport/pom.xml
@@ -60,7 +60,11 @@
<artifactId>yudao-spring-boot-starter-excel</artifactId>
</dependency>
- <!-- PDF 鍑轰欢锛氭湇鍔$璋冪敤 Chromium 鎶婃姤鍛� HTML 鎵撳嵃鎴� PDF -->
+ <!-- PDF 鍑轰欢锛氭湇鍔$璋冪敤 Chromium 鎶婃姤鍛� HTML 鎵撳嵃鎴� PDF銆�
+ 蹇呴』淇濇寔榛樿 compile 浣滅敤鍩燂細PdfRenderService / BrowserManager 鐨勬柟娉曠鍚嶇洿鎺ュ紩鐢�
+ Playwright 绫诲瀷锛孲pring 鍒涘缓 bean 鏃跺唴鐪佹柟娉曠鍚嶄細寮哄埗鍔犺浇杩欎簺绫汇��
+ 涓�鏃� provided 鎵撲笉杩� jar锛屽惎鍔ㄥ嵆鎶� NoClassDefFoundError锛堜笌 pdf.enabled 鏃犲叧锛夈��
+ 浠d环锛歱laywright 甯﹀叆 driver-bundle 绾� 194MB锛宩ar 绾� 490MB銆� -->
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
diff --git a/yudao-server/src/main/resources/application-chdl.yaml b/yudao-server/src/main/resources/application-chdl.yaml
index a9090eb..b1c92fe 100644
--- a/yudao-server/src/main/resources/application-chdl.yaml
+++ b/yudao-server/src/main/resources/application-chdl.yaml
@@ -65,15 +65,15 @@
primary: master
datasource:
master:
- url: jdbc:mysql://172.17.0.1:10000/mom-chdl?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 杩炴帴鐨勭ず渚�
+ url: jdbc:mysql://172.17.0.1:9000/mom-chdl?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 杩炴帴鐨勭ず渚�
username: root
- password: xd@123456..
+ password: changhui@123456..
# Redis 閰嶇疆銆俁edisson 榛樿鐨勯厤缃冻澶熶娇鐢紝涓�鑸笉闇�瑕佽繘琛岃皟浼�
data:
redis:
host: 172.17.0.1 # 鍦板潃
- port: 9999 # 绔彛
+ port: 6379 # 绔彛锛堝涓绘満 6379 -> 瀹瑰櫒 6379锛�
database: 5 # 鏁版嵁搴撶储寮�
# password: dev # 瀵嗙爜锛屽缓璁敓浜х幆澧冨紑鍚�
@@ -190,7 +190,7 @@
storage: # 鏂囦欢涓婁紶閰嶇疆
path: /data/javaWork/mom/file # 鏂囦欢瀛樺偍鏍圭洰褰�
url-prefix: /admin-api/system/storage-blob # URL璺緞鍓嶇紑
- domain: http://36.213.150.237:9003 # 鍩熷悕鍓嶇紑锛堟寜瀹為檯鍩熷悕閰嶇疆锛夛紝鍓嶇閰嶇疆濂藉儚涓嶅お瀵圭幇鍦ㄦ槸鐩磋繛鍚庣锛屾墍鏈夎鍚庣绔彛
+ domain: http://101.245.92.159:9006 # 鍩熷悕鍓嶇紑锛堟寜瀹為檯鍩熷悕閰嶇疆锛夛紝鍓嶇閰嶇疆濂藉儚涓嶅お瀵圭幇鍦ㄦ槸鐩磋繛鍚庣锛屾墍鏈夎鍚庣绔彛
expired: 120 # token杩囨湡鏃堕棿锛堝垎閽燂級
use-limit: 10 # token浣跨敤娆℃暟涓婇檺
jwt-secret: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG # JWT瀵嗛挜
@@ -208,7 +208,7 @@
# 2) 涓枃瀛椾綋锛氭姤鍛婃鏂囨槸涓枃锛岀己 CJK 瀛椾綋浼氭墦鎴愭柟妗嗭紝闇�瑁� fonts-wqy-zenhei / Noto Sans CJK
# 3) 浠� root 杩愯锛欳hromium 涓嶅姞 --no-sandbox 浼氱洿鎺ユ嫆缁濆惎鍔紱瀹瑰櫒 /dev/shm 榛樿浠� 64M锛�
# 杩橀渶 --disable-dev-shm-usage锛屽惁鍒欐覆鏌撳ぇ鎶ュ憡鏃朵細闅忔満宕�
- enabled: true # 鍏虫帀鍚庡鍑烘帴鍙d細鏄庣‘鎶ャ�屾湭鍚敤銆嶏紝鑰屼笉鏄姏 500
+ enabled: false # 鍏虫帀鍚庡鍑烘帴鍙d細鏄庣‘鎶ャ�屾湭鍚敤銆嶏紝鑰屼笉鏄姏 500銆傞暱杈夐暅鍍忔殏鏈唴缃� Chromium锛屽厛鍏抽棴
channel: '' # 鐣欑┖锛氭敼鐢变笅闈㈢殑 executable-path 鎸囧畾闀滃儚鍐呯殑 chromium
executable-path: /usr/local/bin/chromium # 闀滃儚鍐� chromium 鐨勫浐瀹氫綅缃紝鐢� Dockerfile 寤鸿蒋閾句繚璇�
concurrency: 2 # 鍚屾椂杩涜鐨� PDF 娓叉煋涓婇檺锛孋hromium 寰堝悆鍐呭瓨锛屼笉瑕佹斁寮�
@@ -230,8 +230,8 @@
max-xlsx-rows: 300 # Excel 鍗曡〃鏈�澶氳鍙栫殑琛屾暟
database-backup: # 鏁版嵁搴撳浠介厤缃�
host: 172.17.0.1 # 澶囦唤鐩爣 MySQL 涓绘満锛岀暀绌鸿嚜鍔ㄤ粠鏁版嵁婧� JDBC URL 瑙f瀽
- port: 9002 # 澶囦唤鐩爣 MySQL 绔彛锛岀暀绌鸿嚜鍔ㄤ粠鏁版嵁婧� JDBC URL 瑙f瀽
+ port: 9000 # 澶囦唤鐩爣 MySQL 绔彛锛岀暀绌鸿嚜鍔ㄤ粠鏁版嵁婧� JDBC URL 瑙f瀽
database: mom-chdl # 澶囦唤鐩爣鏁版嵁搴擄紝鐣欑┖鑷姩浠庢暟鎹簮 JDBC URL 瑙f瀽
username: root # 澶囦唤璐﹀彿锛岀暀绌轰娇鐢ㄦ暟鎹簮璐﹀彿
- password: 'xd@123456..' # 澶囦唤瀵嗙爜锛岀暀绌轰娇鐢ㄦ暟鎹簮瀵嗙爜
+ password: 'changhui@123456..' # 澶囦唤瀵嗙爜锛岀暀绌轰娇鐢ㄦ暟鎹簮瀵嗙爜
command: # mysqldump 鍛戒护锛岀暀绌鸿嚜鍔ㄦ娴嬮儴缃茬幆澧冿紙鏈満 mysqldump 鎴� Docker MySQL 瀹瑰櫒锛夛紱鍙墜鍔ㄦ寚瀹氾紝濡傦細docker exec mysql8 mysqldump
--
Gitblit v1.9.3