Merge branch 'dev' into hugo
# Conflicts: # .env.dev # .env.shared # backend/app/api/chat.py
This commit is contained in:
commit
ee90b66ff7
63 files changed
+4786
-1422
No files matched your search
@@ -17,7 +17,7 @@ AUTH_LOGIN_MODE=password
|
||||
# 如果需要用户密码登录,修改该值为password
|
||||
#AUTH_LOGIN_MODE=casdoor
|
||||
|
||||
AUTH_JWT_ISSUER=http://192.168.100.192:8870
|
||||
AUTH_JWT_ISSUER=http://ait.well-trust.com:8872
|
||||
AUTH_JWT_AUDIENCE=758be5fcba2df784fdb4
|
||||
AUTH_JWT_JWKS_URL=http://192.168.100.192:8870/.well-known/jwks
|
||||
|
||||
@@ -31,6 +31,7 @@ CASDOOR_CLIENT_SECRET=522161bea5bb4f90b63f77c41dc26d223f1244ab
|
||||
# 本地开发常用;若用其它入口访问前端,请在 Casdoor 该应用的 Redirect URLs 中一并登记
|
||||
CASDOOR_REDIRECT_URI=http://localhost:8881/casdoor-callback
|
||||
CASDOOR_SCOPE=openid profile email
|
||||
CASDOOR_ORGANIZATION=organization_HX
|
||||
# Casdoor Providers → wecom(Name=wecom,与 prod 共用同一 Provider 即可)
|
||||
CASDOOR_WECOM_PROVIDER_HINT=wecom
|
||||
|
||||
@@ -48,8 +49,7 @@ GUNICORN_WORKERS=10
|
||||
# MinIO(知识库文档清洗图片托管;dev 与测试机同机时用测试 MinIO)
|
||||
# 本地非 Docker 跑 worker 时可改为 127.0.0.1:9000 或 192.168.100.192:9000
|
||||
# 账号与 minio-app 的 MINIO_ROOT_USER / MINIO_ROOT_PASSWORD 保持一致
|
||||
MINIO_ENDPOINT=127.0.0.1:9000
|
||||
MINIO_BUCKET=image-hosting-service
|
||||
MINIO_ENDPOINT=192.168.100.192:9000
|
||||
MINIO_ACCESS_KEY=minio_testing_admin
|
||||
MINIO_SECRET_KEY=M3CLE928P8GavJBFZPhJO3RIHVZSRYlDouOMabasojfAGBlx
|
||||
MINIO_SECURE=false
|
||||
|
||||
@@ -22,7 +22,7 @@ AUTH_JWT_AUDIENCE=758be5fcba2df784fdb4
|
||||
AUTH_JWT_JWKS_URL=http://192.168.100.230:8870/.well-known/jwks
|
||||
|
||||
# Casdoor
|
||||
CASDOOR_BASE_URL=http://192.168.100.230:8870
|
||||
CASDOOR_BASE_URL=http://ai.well-trust.com:8870
|
||||
# 与 Casdoor 里 Application「hxops-prod」(或你当前生产应用)的 Client ID 一致
|
||||
CASDOOR_CLIENT_ID=758be5fcba2df784fdb4
|
||||
CASDOOR_CLIENT_SECRET=522161bea5bb4f90b63f77c41dc26d223f1244ab
|
||||
@@ -31,6 +31,7 @@ CASDOOR_CLIENT_SECRET=522161bea5bb4f90b63f77c41dc26d223f1244ab
|
||||
# http://ai.well-trust.com:8881/casdoor-callback
|
||||
CASDOOR_REDIRECT_URI=http://192.168.100.230:8881/casdoor-callback
|
||||
CASDOOR_SCOPE=openid profile email
|
||||
CASDOOR_ORGANIZATION=organization_HX
|
||||
# Casdoor Providers → wecom:Name 字段(截图即为 wecom);Organization=organization_HX,Sub type=Internal,Scope=snsapi_userinfo
|
||||
CASDOOR_WECOM_PROVIDER_HINT=wecom
|
||||
|
||||
@@ -48,9 +49,8 @@ GUNICORN_WORKERS=20
|
||||
# MinIO(知识库文档清洗图片托管,容器 minio-app)
|
||||
# MINIO_ENDPOINT:hxops-kb-worker 容器内访问宿主机映射的 9000(勿用 127.0.0.1)
|
||||
MINIO_ENDPOINT=host.docker.internal:9000
|
||||
MINIO_BUCKET=image-hosting-service
|
||||
MINIO_ACCESS_KEY=admin
|
||||
MINIO_SECRET_KEY=difyai123456
|
||||
MINIO_SECURE=false
|
||||
# MINIO_PUBLIC_BASE_URL:导出 Markdown 中图片链接,浏览器/外部系统可访问
|
||||
MINIO_PUBLIC_BASE_URL=http://192.168.100.230:9000
|
||||
MINIO_PUBLIC_BASE_URL=http://ai.well-trust.com:9000
|
||||
+18
-1
@@ -18,6 +18,19 @@ SECRET_KEY=hxops-dify
|
||||
# KB_STORAGE_ROOT=backend/data/kb
|
||||
KB_TASK_EXECUTION_MODE=worker
|
||||
KB_WORKER_POLL_SECONDS=2
|
||||
KB_WORKER_CONCURRENCY=3
|
||||
# Linux 容器内 LibreOffice 路径(避免探测 Windows 安装路径)
|
||||
EDKB_SOFFICE=/usr/bin/soffice
|
||||
# LibreOffice 单次格式转换超时(秒);复杂 .doc 在容器内可能需 10 分钟左右
|
||||
EDKB_SOFFICE_TIMEOUT_SEC=600
|
||||
# Windows Word COM / word_bridge 单次转换超时(秒);复杂 .doc 可适当放宽
|
||||
EDKB_WORD_TIMEOUT_SEC=300
|
||||
# 单文件清洗总超时(秒);超时后终止当前文件处理,避免单条任务长期卡住整个 worker
|
||||
EDKB_FILE_TIMEOUT_SEC=180
|
||||
# Word 文档(.doc/.docx)单文件清洗总超时(秒);优先于 EDKB_FILE_TIMEOUT_SEC
|
||||
EDKB_WORD_FILE_TIMEOUT_SEC=420
|
||||
# running 任务回收阈值,须大于 EDKB_SOFFICE_TIMEOUT_SEC 及整条清洗链路耗时
|
||||
KB_JOB_RUNNING_TIMEOUT_SECONDS=900
|
||||
|
||||
# chat回答的评分与评论
|
||||
FEEDBACK_ENABLED=true
|
||||
@@ -62,7 +75,11 @@ WECOM_NOTIFY_EVENTS=permission_request_approved,permission_request_rejected,perm
|
||||
INTEGRATION_API_MODE=local
|
||||
DIFY_API_BASE=https://api.dify.ai/v1
|
||||
|
||||
# MinIO:按环境配置见 .env.dev / .env.test / .env.prod(kb-worker 容器内 endpoint 与对外 public URL 分开)
|
||||
# MinIO:按环境配置见 .env.dev / .env.test / .env.prod
|
||||
# MINIO_KB_IMAGE_BUCKET — 知识库文档清洗图片托管(kb-worker / export)
|
||||
# MINIO_AGENT_GUIDES_BUCKET — Agent 指南文件上传(Flask minio_service)
|
||||
MINIO_KB_IMAGE_BUCKET=image-hosting-service
|
||||
MINIO_AGENT_GUIDES_BUCKET=agent-guides
|
||||
|
||||
# 硅基流动相关
|
||||
GJL_API_KEY=sk-umfzicwjcvwampzblqczckkqojiscyybtaljzbsvpdwdvxlu
|
||||
|
||||
@@ -17,7 +17,7 @@ AUTH_LOGIN_MODE=casdoor
|
||||
# 如果需要用户密码登录,修改该值为password
|
||||
#AUTH_LOGIN_MODE=casdoor
|
||||
|
||||
AUTH_JWT_ISSUER=http://192.168.100.192:8870
|
||||
AUTH_JWT_ISSUER=http://ait.well-trust.com:8872
|
||||
AUTH_JWT_AUDIENCE=758be5fcba2df784fdb4
|
||||
AUTH_JWT_JWKS_URL=http://192.168.100.192:8870/.well-known/jwks
|
||||
|
||||
@@ -31,6 +31,7 @@ CASDOOR_CLIENT_SECRET=522161bea5bb4f90b63f77c41dc26d223f1244ab
|
||||
# http://ai.well-trust.com:8881/casdoor-callback
|
||||
CASDOOR_REDIRECT_URI=http://192.168.100.192:8881/casdoor-callback
|
||||
CASDOOR_SCOPE=openid profile email
|
||||
CASDOOR_ORGANIZATION=organization_HX
|
||||
# Casdoor Providers → wecom:Name 字段(截图即为 wecom);Organization=organization_HX,Sub type=Internal,Scope=snsapi_userinfo
|
||||
CASDOOR_WECOM_PROVIDER_HINT=wecom
|
||||
|
||||
@@ -52,7 +53,6 @@ WECOM_NOTIFY_BASE_URL=http://ait.well-trust.com:8890/
|
||||
# MINIO_ENDPOINT:hxops-kb-worker 容器内访问宿主机映射的 9000(勿用 127.0.0.1)
|
||||
# 账号与 minio-app 的 MINIO_ROOT_USER / MINIO_ROOT_PASSWORD(及 DIFY_S3_ACCESS_KEY)保持一致
|
||||
MINIO_ENDPOINT=host.docker.internal:9000
|
||||
MINIO_BUCKET=image-hosting-service
|
||||
MINIO_ACCESS_KEY=minio_testing_admin
|
||||
MINIO_SECRET_KEY=M3CLE928P8GavJBFZPhJO3RIHVZSRYlDouOMabasojfAGBlx
|
||||
MINIO_SECURE=false
|
||||
|
||||
@@ -43,3 +43,27 @@ run_frontend_build() {
|
||||
npm run build
|
||||
)
|
||||
}
|
||||
|
||||
ensure_commitlint_deps() {
|
||||
local root_dir="${1}"
|
||||
if [[ ! -d "${root_dir}/node_modules/@commitlint/cli" ]]; then
|
||||
echo "[commit-msg] 根目录 node_modules 不存在,请先执行:"
|
||||
echo " cd ${root_dir}"
|
||||
echo " npm install"
|
||||
echo " 或重新运行: ./scripts/install_git_hooks.sh"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
run_commitlint() {
|
||||
local root_dir="${1}"
|
||||
local msg_file="${2}"
|
||||
if ! ensure_commitlint_deps "${root_dir}"; then
|
||||
return 1
|
||||
fi
|
||||
(
|
||||
cd "${root_dir}"
|
||||
npx --no-install commitlint --edit "${msg_file}"
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(git rev-parse --show-toplevel)"
|
||||
cd "${ROOT_DIR}"
|
||||
# shellcheck source=_common.sh
|
||||
source "${ROOT_DIR}/.githooks/_common.sh"
|
||||
|
||||
COMMIT_MSG_FILE="${1:-}"
|
||||
|
||||
if [[ -z "${COMMIT_MSG_FILE}" ]]; then
|
||||
echo "[commit-msg] missing commit message file path."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -f "${ROOT_DIR}/.git/MERGE_HEAD" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! run_commitlint "${ROOT_DIR}" "${COMMIT_MSG_FILE}"; then
|
||||
echo "[commit-msg] 提交信息不符合规范,详见 docs/convention/COMMIT_CONVENTION.md"
|
||||
echo "[commit-msg] 示例: feat(auth): add SMS login support"
|
||||
echo "[commit-msg] 跳过校验: git commit --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -31,6 +31,10 @@ __pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# Root tooling (commitlint)
|
||||
/node_modules/
|
||||
package-lock.json
|
||||
|
||||
# Frontend
|
||||
frontend/node_modules/
|
||||
frontend/dist/
|
||||
|
||||
+31
-9
@@ -25,6 +25,13 @@ from app.models import Agent, ChatLog, ChatSession, Feedback
|
||||
from app import db
|
||||
from app.errors import AppError, ValidationError, UnauthorizedError, ForbiddenError, NotFoundError, ConflictError, ServiceUnavailableError, raise_for_status
|
||||
chat_bp = Blueprint('chat', __name__)
|
||||
|
||||
LEAVE_FEATURE_AGENT_NAMES = {'通用入口', '人事规章'}
|
||||
|
||||
|
||||
def _can_use_leave_feature(agent_proxy) -> bool:
|
||||
agent_name = str(getattr(agent_proxy, 'name', None) or '').strip()
|
||||
return agent_name in LEAVE_FEATURE_AGENT_NAMES
|
||||
PLM_PREVIEW_SHARE_ROOT = (os.getenv('PLM_PREVIEW_SHARE_ROOT') or '\\\\192.168.0.11\\dss\\dssroot\\').strip()
|
||||
|
||||
def _session_title_from_text(text: str) -> str:
|
||||
@@ -1079,20 +1086,24 @@ def chat_completions():
|
||||
|
||||
if normalized_files and PLMOracleService.supports(query, agent_proxy):
|
||||
raise ValidationError('This route does not support attachments')
|
||||
from app.services.hr_leave_sqlserver import HRLeaveSQLServerService
|
||||
leave_supported = HRLeaveSQLServerService.supports(query)
|
||||
leave_feature_enabled = _can_use_leave_feature(agent_proxy)
|
||||
if PLMOracleService.supports(query, agent_proxy):
|
||||
generator = PLMOracleService.stream_chat(query, user_proxy, agent_proxy, external_conversation_id, session_id=session.session_id)
|
||||
elif leave_supported and leave_feature_enabled:
|
||||
if normalized_files:
|
||||
raise ValidationError('This route does not support attachments')
|
||||
generator = HRLeaveSQLServerService.stream_chat(query, user_proxy, agent_proxy, external_conversation_id, session_id=session.session_id)
|
||||
elif leave_supported:
|
||||
generator = DifyService.stream_chat(query, user_proxy.id, agent_proxy, external_conversation_id, request_id=request_id, session_id=session.session_id, files=normalized_files)
|
||||
elif kb_type == 'ERP知识库':
|
||||
from app.services.hr_leave_sqlserver import HRLeaveSQLServerService
|
||||
from app.services.text2sql import Text2SQLService
|
||||
if HRLeaveSQLServerService.supports(query):
|
||||
if normalized_files:
|
||||
raise ValidationError('This route does not support attachments')
|
||||
generator = HRLeaveSQLServerService.stream_chat(query, user_proxy, agent_proxy, external_conversation_id, session_id=session.session_id)
|
||||
else:
|
||||
if normalized_files:
|
||||
raise ValidationError('This route does not support attachments')
|
||||
generator = Text2SQLService.stream_chat(query, user_proxy.id, agent_proxy, external_conversation_id, session_id=session.session_id)
|
||||
if normalized_files:
|
||||
raise ValidationError('This route does not support attachments')
|
||||
generator = Text2SQLService.stream_chat(query, user_proxy.id, agent_proxy, external_conversation_id, session_id=session.session_id)
|
||||
else:
|
||||
<<<<<<< HEAD
|
||||
from app.services.hr_leave_sqlserver import HRLeaveSQLServerService
|
||||
if HRLeaveSQLServerService.supports(query):
|
||||
if normalized_files:
|
||||
@@ -1113,6 +1124,9 @@ def chat_completions():
|
||||
files=normalized_files,
|
||||
inputs=dify_inputs,
|
||||
)
|
||||
=======
|
||||
generator = DifyService.stream_chat(query, user_proxy.id, agent_proxy, external_conversation_id, request_id=request_id, session_id=session.session_id, files=normalized_files)
|
||||
>>>>>>> dev
|
||||
|
||||
def relay_stream():
|
||||
created_event = {
|
||||
@@ -1705,6 +1719,10 @@ def preview_file_raw():
|
||||
content = _convert_office_to_pdf(content, ext)
|
||||
ext = 'pdf'
|
||||
content_type = 'application/pdf'
|
||||
if name and '.' in name:
|
||||
name = f"{name.rsplit('.', 1)[0]}.pdf"
|
||||
elif name:
|
||||
name = f"{name}.pdf"
|
||||
except Exception as e:
|
||||
current_app.logger.error("[file-preview] LibreOffice conversion failed: %s", e)
|
||||
placeholder_text = _extract_placeholder_text(content)
|
||||
@@ -1712,6 +1730,10 @@ def preview_file_raw():
|
||||
content = placeholder_text.encode('utf-8')
|
||||
ext = 'txt'
|
||||
content_type = 'text/plain; charset=utf-8'
|
||||
if name and '.' in name:
|
||||
name = f"{name.rsplit('.', 1)[0]}.txt"
|
||||
elif name:
|
||||
name = f"{name}.txt"
|
||||
current_app.logger.info('[file-preview] office preview degraded to text placeholder for %s', file_url)
|
||||
else:
|
||||
raise AppError(
|
||||
|
||||
@@ -3,6 +3,7 @@ backend/app/api/knowledge_base.py
|
||||
文件用途:知识库/数据清洗模块第一阶段 API
|
||||
"""
|
||||
import hashlib
|
||||
import shutil
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
from posixpath import normpath
|
||||
@@ -18,7 +19,6 @@ from app.models import KbDifySyncRecord, KbDocument, KbDocumentVersion, KbGroup,
|
||||
from app.services.knowledge_cleaning.dify_sync_service import delete_document_from_dify
|
||||
from app.services.knowledge_cleaning.queue_service import enqueue_clean_job, enqueue_kb_job
|
||||
from app.services.knowledge_cleaning.settings_service import get_kb_dify_health_payload, get_kb_dify_settings, save_kb_dify_settings
|
||||
from app.services.knowledge_cleaning.tasks import run_clean_job, run_sync_job
|
||||
from app.errors import AppError, ValidationError, UnauthorizedError, ForbiddenError, NotFoundError, ConflictError, ServiceUnavailableError, raise_for_status
|
||||
knowledge_base_bp = Blueprint('knowledge_base', __name__)
|
||||
|
||||
@@ -73,6 +73,18 @@ def _current_version(document: KbDocument | None) -> KbDocumentVersion | None:
|
||||
return None
|
||||
return next((item for item in versions if item.is_current), versions[0])
|
||||
|
||||
|
||||
def _latest_job_for_version(version_id: int, job_type: str) -> KbJob | None:
|
||||
return (
|
||||
db.session.query(KbJob)
|
||||
.filter(
|
||||
KbJob.document_version_id == version_id,
|
||||
KbJob.job_type == job_type,
|
||||
)
|
||||
.order_by(KbJob.created_at.desc(), KbJob.id.desc())
|
||||
.first()
|
||||
)
|
||||
|
||||
def _resolve_storage_path(path_value: str | None) -> Path | None:
|
||||
if not path_value:
|
||||
return None
|
||||
@@ -84,14 +96,46 @@ def _resolve_storage_path(path_value: str | None) -> Path | None:
|
||||
return None
|
||||
return candidate
|
||||
|
||||
def _resolve_markdown_read_path(version: KbDocumentVersion) -> tuple[Path | None, str]:
|
||||
|
||||
def _ensure_preview_markdown(version: KbDocumentVersion) -> tuple[Path | None, str]:
|
||||
primary = _resolve_storage_path(version.cleaned_file_path)
|
||||
if primary and primary.exists():
|
||||
return (primary, 'markdown')
|
||||
preview = _resolve_storage_path(version.cleaned_preview_path)
|
||||
if preview and preview.exists():
|
||||
return (preview, 'preview')
|
||||
return (None, 'markdown')
|
||||
preview_exists = bool(preview and preview.exists())
|
||||
primary_exists = bool(primary and primary.exists())
|
||||
|
||||
if preview_exists:
|
||||
preview_content = preview.read_text(encoding='utf-8', errors='ignore')
|
||||
# Some legacy versions incorrectly store cleaned_preview_path as document.md.
|
||||
if preview != primary and 'data:image/' not in preview_content:
|
||||
return (preview, 'preview')
|
||||
|
||||
source = primary if primary_exists else preview if preview_exists else None
|
||||
if not source:
|
||||
return (None, 'markdown')
|
||||
|
||||
content = source.read_text(encoding='utf-8', errors='ignore')
|
||||
if 'data:image/' not in content:
|
||||
if source == preview:
|
||||
return (preview, 'preview')
|
||||
if not version.cleaned_preview_path:
|
||||
version.cleaned_preview_path = str(primary)
|
||||
db.session.commit()
|
||||
return (primary, 'markdown')
|
||||
|
||||
from edkb_system.skills.export import _LocalPreviewImageRewriter
|
||||
|
||||
preview = primary.parent / 'document_preview.md'
|
||||
images_dir = primary.parent / 'images_view'
|
||||
if images_dir.exists():
|
||||
shutil.rmtree(images_dir, ignore_errors=True)
|
||||
rewriter = _LocalPreviewImageRewriter(images_dir=images_dir)
|
||||
preview.write_text(rewriter.replace_text(content), encoding='utf-8')
|
||||
version.cleaned_preview_path = str(preview)
|
||||
db.session.commit()
|
||||
return (preview, 'preview')
|
||||
|
||||
def _resolve_markdown_read_path(version: KbDocumentVersion) -> tuple[Path | None, str]:
|
||||
return _ensure_preview_markdown(version)
|
||||
|
||||
def _resolve_markdown_write_path(version: KbDocumentVersion) -> Path | None:
|
||||
primary = _resolve_storage_path(version.cleaned_file_path)
|
||||
@@ -108,6 +152,20 @@ def _resolve_markdown_write_path(version: KbDocumentVersion) -> Path | None:
|
||||
def _serialize_markdown_payload(document: KbDocument, version: KbDocumentVersion, content: str, kind: str):
|
||||
return {'document_id': document.id, 'title': document.title, 'version': _serialize_version(version), 'content': content, 'kind': kind}
|
||||
|
||||
|
||||
def _markdown_unavailable_message(version: KbDocumentVersion) -> str:
|
||||
status = str(getattr(version, 'status', '') or '').strip().lower()
|
||||
error_message = str(getattr(version, 'error_message', '') or '').strip()
|
||||
if status == 'failed':
|
||||
if error_message:
|
||||
return f'当前文档清洗失败,尚未生成 Markdown。失败原因:{error_message}'
|
||||
return '当前文档清洗失败,尚未生成 Markdown,请重新清洗后重试'
|
||||
if status == 'processing':
|
||||
return '当前文档正在清洗中,暂未生成 Markdown,请稍后再试'
|
||||
if status == 'uploaded':
|
||||
return '当前文档待清洗,暂未生成 Markdown,请先发起清洗'
|
||||
return '当前文档尚未生成可编辑 Markdown'
|
||||
|
||||
@knowledge_base_bp.route('/dify/settings', methods=['GET'])
|
||||
@require_admin
|
||||
def get_dify_settings():
|
||||
@@ -165,6 +223,26 @@ def _save_upload(file_storage, target_path: Path):
|
||||
def _get_active_path_upload_job(group_id: int) -> KbJob | None:
|
||||
return db.session.query(KbJob).filter(KbJob.group_id == group_id, KbJob.job_type == 'path_upload', KbJob.status.in_(('draft', 'staging', 'queued', 'running'))).order_by(KbJob.created_at.desc(), KbJob.id.desc()).first()
|
||||
|
||||
|
||||
def _upsert_path_upload_job_files(job: KbJob, requested_files: list[dict]) -> None:
|
||||
payload = dict(job.payload_json or {})
|
||||
files = list(payload.get('files') or [])
|
||||
|
||||
for requested_item in requested_files:
|
||||
relative_path = str(requested_item.get('relative_path') or '').strip()
|
||||
if not relative_path:
|
||||
continue
|
||||
existing_item = _find_path_upload_file_item(files, relative_path)
|
||||
if existing_item is None:
|
||||
files.append(requested_item)
|
||||
continue
|
||||
if not str(existing_item.get('original_name') or '').strip():
|
||||
existing_item['original_name'] = requested_item.get('original_name')
|
||||
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
if job.status in ('draft', 'staging', 'queued', 'running'):
|
||||
_refresh_path_upload_job_state(job)
|
||||
|
||||
def _sanitize_relative_path(relative_path: str | None, fallback_name: str) -> str:
|
||||
raw = str(relative_path or '').replace('\\', '/').strip().lstrip('/')
|
||||
normalized = normpath(raw) if raw else fallback_name
|
||||
@@ -182,6 +260,130 @@ def _sanitize_relative_path(relative_path: str | None, fallback_name: str) -> st
|
||||
safe_leaf = _safe_upload_filename(parts[-1] or fallback_name)
|
||||
return '/'.join([*safe_parts, safe_leaf]).strip('/') or _safe_upload_filename(fallback_name)
|
||||
|
||||
def _build_path_upload_file_item(relative_path: str | None, original_name: str | None, **extra):
|
||||
fallback_name = Path(str(original_name or relative_path or '')).name or 'uploaded_file'
|
||||
normalized_path = _sanitize_relative_path(relative_path, fallback_name)
|
||||
payload = {
|
||||
'relative_path': normalized_path,
|
||||
'original_name': Path(fallback_name).name or fallback_name,
|
||||
'staged_path': None,
|
||||
'size': None,
|
||||
'sha256': None,
|
||||
'status': 'queued',
|
||||
'error': None,
|
||||
'document_id': None,
|
||||
'version_id': None,
|
||||
}
|
||||
payload.update(extra)
|
||||
return payload
|
||||
|
||||
def _find_path_upload_file_item(files: list[dict], relative_path: str):
|
||||
for item in files:
|
||||
current = str(item.get('relative_path') or item.get('original_name') or '').strip()
|
||||
if current == relative_path:
|
||||
return item
|
||||
return None
|
||||
|
||||
def _sync_path_upload_job_payload(job: KbJob, files: list[dict]):
|
||||
payload = dict(job.payload_json or {})
|
||||
result = dict(job.result_json or {})
|
||||
selected_paths = []
|
||||
for item in files:
|
||||
relative_path = str(item.get('relative_path') or item.get('original_name') or '').strip()
|
||||
if not relative_path:
|
||||
continue
|
||||
root = relative_path.split('/')[0]
|
||||
if root and root not in selected_paths:
|
||||
selected_paths.append(root)
|
||||
payload['files'] = files
|
||||
payload['total_files'] = len(files)
|
||||
payload['staged_count'] = sum(1 for item in files if str(item.get('staged_path') or '').strip())
|
||||
payload['selected_paths'] = selected_paths
|
||||
result['total'] = len(files)
|
||||
result['success'] = sum(1 for item in files if str(item.get('status') or '').lower() == 'success')
|
||||
result['failed'] = sum(1 for item in files if str(item.get('status') or '').lower() == 'failed')
|
||||
result['staged'] = payload['staged_count']
|
||||
result['processed'] = result['success'] + result['failed']
|
||||
job.payload_json = payload
|
||||
job.result_json = result
|
||||
return (payload, result)
|
||||
|
||||
|
||||
def _refresh_path_upload_job_state(job: KbJob) -> None:
|
||||
payload = dict(job.payload_json or {})
|
||||
result = dict(job.result_json or {})
|
||||
total = max(int(result.get('total') or payload.get('total_files') or 0), 0)
|
||||
success = int(result.get('success') or 0)
|
||||
failed = int(result.get('failed') or 0)
|
||||
processed = int(result.get('processed') or (success + failed) or 0)
|
||||
files = list(payload.get('files') or [])
|
||||
has_pending = any(
|
||||
str(item.get('status') or '').lower() in ('queued', 'uploading')
|
||||
for item in files
|
||||
)
|
||||
|
||||
payload['current_file'] = ''
|
||||
job.payload_json = payload
|
||||
job.progress = min(int(processed * 100 / total), 100) if total else 100
|
||||
|
||||
if total == 0:
|
||||
job.status = 'cancelled'
|
||||
job.finished_at = datetime.utcnow()
|
||||
job.progress = 100
|
||||
job.message = '路径上传记录为空'
|
||||
job.error_message = None
|
||||
return
|
||||
|
||||
if has_pending or processed < total:
|
||||
job.status = 'staging'
|
||||
job.finished_at = None
|
||||
job.message = f'已上传并提交清洗 {processed}/{total} 个文件'
|
||||
job.error_message = None
|
||||
return
|
||||
|
||||
job.finished_at = datetime.utcnow()
|
||||
job.progress = 100
|
||||
if failed > 0:
|
||||
job.status = 'failed'
|
||||
job.message = f'路径上传完成,成功 {success} 条,失败 {failed} 条'
|
||||
job.error_message = f'部分文件上传失败:{failed} 条'
|
||||
return
|
||||
|
||||
job.status = 'success'
|
||||
job.message = f'路径上传完成,成功 {success} 条'
|
||||
job.error_message = None
|
||||
|
||||
def _remove_path_upload_staged_file(staged_path: str | None):
|
||||
candidate = _resolve_storage_path(staged_path)
|
||||
if not candidate or not candidate.exists():
|
||||
return
|
||||
try:
|
||||
candidate.unlink()
|
||||
except FileNotFoundError:
|
||||
return
|
||||
stop_dir = _kb_storage_root() / 'path_upload_jobs'
|
||||
parent = candidate.parent
|
||||
while parent.exists() and parent != stop_dir and stop_dir in parent.parents:
|
||||
try:
|
||||
parent.rmdir()
|
||||
except OSError:
|
||||
break
|
||||
parent = parent.parent
|
||||
|
||||
def _soft_delete_document(document_id: int | None, user_id: int | None):
|
||||
if not document_id:
|
||||
return False
|
||||
document = db.session.get(KbDocument, document_id)
|
||||
if not document or document.is_deleted:
|
||||
return False
|
||||
try:
|
||||
delete_document_from_dify(document.id)
|
||||
except Exception:
|
||||
pass
|
||||
document.is_deleted = True
|
||||
document.updated_by_id = user_id
|
||||
return True
|
||||
|
||||
@knowledge_base_bp.route('/groups', methods=['GET'])
|
||||
def list_groups():
|
||||
user = _require_user()
|
||||
@@ -297,13 +499,47 @@ def create_path_upload_job(group_id: int):
|
||||
raise NotFoundError('Knowledge base group not found')
|
||||
existing_job = _get_active_path_upload_job(group_id)
|
||||
if existing_job:
|
||||
raise ConflictError('有文件正在上传请稍等再试~', details={'job': _serialize_job(existing_job)})
|
||||
data = request.get_json(silent=True) or {}
|
||||
raw_files = data.get('files') or []
|
||||
files = []
|
||||
if isinstance(raw_files, list):
|
||||
for item in raw_files:
|
||||
if not isinstance(item, dict):
|
||||
continue
|
||||
try:
|
||||
files.append(_build_path_upload_file_item(item.get('relative_path'), item.get('original_name')))
|
||||
except ValueError:
|
||||
continue
|
||||
if files:
|
||||
_upsert_path_upload_job_files(existing_job, files)
|
||||
db.session.commit()
|
||||
payload = _serialize_job(existing_job)
|
||||
payload['reused_existing'] = True
|
||||
payload['message'] = payload.get('message') or '检测到未完成的路径上传任务,已自动续传'
|
||||
return jsonify(payload)
|
||||
data = request.get_json(silent=True) or {}
|
||||
total_files = max(int(data.get('total_files') or 0), 0)
|
||||
selected_paths = data.get('selected_paths') or []
|
||||
if not isinstance(selected_paths, list):
|
||||
selected_paths = []
|
||||
job = KbJob(job_type='path_upload', status='draft', group_id=group_id, progress=0, message='等待上传路径文件到后台暂存区', payload_json={'total_files': total_files, 'selected_paths': selected_paths, 'staged_count': 0, 'files': []}, result_json={'total': total_files, 'success': 0, 'failed': 0, 'staged': 0}, created_by_id=getattr(current_user, 'id', None))
|
||||
raw_files = data.get('files') or []
|
||||
files = []
|
||||
if isinstance(raw_files, list):
|
||||
for item in raw_files:
|
||||
if not isinstance(item, dict):
|
||||
continue
|
||||
try:
|
||||
files.append(_build_path_upload_file_item(item.get('relative_path'), item.get('original_name')))
|
||||
except ValueError:
|
||||
continue
|
||||
if files:
|
||||
total_files = len(files)
|
||||
selected_paths = []
|
||||
for item in files:
|
||||
root = str(item.get('relative_path') or '').split('/')[0]
|
||||
if root and root not in selected_paths:
|
||||
selected_paths.append(root)
|
||||
job = KbJob(job_type='path_upload', status='draft', group_id=group_id, progress=0, message='等待上传路径文件到后台暂存区', payload_json={'total_files': total_files, 'selected_paths': selected_paths, 'staged_count': 0, 'files': files}, result_json={'total': total_files, 'success': 0, 'failed': 0, 'staged': 0, 'processed': 0}, created_by_id=getattr(current_user, 'id', None))
|
||||
db.session.add(job)
|
||||
db.session.commit()
|
||||
return (jsonify(_serialize_job(job)), 201)
|
||||
@@ -329,41 +565,152 @@ def upload_path_job_file(job_id: int):
|
||||
sha256, file_size = _save_upload(uploaded, target_path)
|
||||
payload = dict(job.payload_json or {})
|
||||
files = list(payload.get('files') or [])
|
||||
files.append({'relative_path': relative_path, 'original_name': fallback_name, 'staged_path': str(target_path), 'size': file_size, 'sha256': sha256, 'status': 'queued', 'error': None, 'document_id': None, 'version_id': None})
|
||||
payload['files'] = files
|
||||
payload['staged_count'] = len(files)
|
||||
job.payload_json = payload
|
||||
entry = _find_path_upload_file_item(files, relative_path)
|
||||
if entry is not None and str(entry.get('status') or '').lower() == 'success' and entry.get('document_id') and entry.get('version_id'):
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
_refresh_path_upload_job_state(job)
|
||||
db.session.commit()
|
||||
return jsonify(_serialize_job(job))
|
||||
if entry is None:
|
||||
entry = _build_path_upload_file_item(relative_path, fallback_name)
|
||||
files.append(entry)
|
||||
entry['original_name'] = fallback_name
|
||||
entry['staged_path'] = str(target_path)
|
||||
entry['size'] = file_size
|
||||
entry['sha256'] = sha256
|
||||
entry['status'] = 'uploading'
|
||||
entry['error'] = None
|
||||
entry['document_id'] = None
|
||||
entry['version_id'] = None
|
||||
payload['current_file'] = relative_path
|
||||
job.status = 'staging'
|
||||
job.message = f"已暂存 {len(files)}/{payload.get('total_files') or len(files)} 个文件"
|
||||
result = dict(job.result_json or {})
|
||||
result['total'] = payload.get('total_files') or len(files)
|
||||
result['staged'] = len(files)
|
||||
job.result_json = result
|
||||
job.started_at = job.started_at or datetime.utcnow()
|
||||
payload, _result = _sync_path_upload_job_payload(job, files)
|
||||
job.payload_json = payload
|
||||
job.message = f'正在上传并提交清洗:{relative_path}'
|
||||
|
||||
try:
|
||||
from app.services.knowledge_cleaning.tasks import _register_document_version_from_staged_file
|
||||
|
||||
document, version, _clean_job = _register_document_version_from_staged_file(
|
||||
group_id=job.group_id,
|
||||
relative_path=relative_path,
|
||||
staged_path=target_path,
|
||||
original_name=fallback_name,
|
||||
user_id=getattr(current_user, 'id', None),
|
||||
)
|
||||
entry['status'] = 'success'
|
||||
entry['document_id'] = document.id
|
||||
entry['version_id'] = version.id
|
||||
entry['error'] = None
|
||||
except Exception as exc:
|
||||
entry['status'] = 'failed'
|
||||
entry['error'] = str(exc)
|
||||
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
_refresh_path_upload_job_state(job)
|
||||
db.session.commit()
|
||||
return (jsonify(_serialize_job(job)), 201)
|
||||
|
||||
@knowledge_base_bp.route('/path-upload-jobs/<int:job_id>/files/fail', methods=['POST'])
|
||||
def mark_path_job_file_failed(job_id: int):
|
||||
current_user = _require_user()
|
||||
job = db.session.get(KbJob, job_id)
|
||||
if not job or job.job_type != 'path_upload':
|
||||
raise NotFoundError('路径上传任务不存在')
|
||||
data = request.get_json(silent=True) or {}
|
||||
original_name = str(data.get('original_name') or '').strip() or None
|
||||
relative_path_raw = str(data.get('relative_path') or '').strip()
|
||||
try:
|
||||
relative_path = _sanitize_relative_path(relative_path_raw, Path(original_name or relative_path_raw or 'uploaded_file').name or 'uploaded_file')
|
||||
except ValueError as exc:
|
||||
raise ValidationError(str(exc))
|
||||
error_message = str(data.get('error') or '路径文件上传失败').strip() or '路径文件上传失败'
|
||||
payload = dict(job.payload_json or {})
|
||||
files = list(payload.get('files') or [])
|
||||
entry = _find_path_upload_file_item(files, relative_path)
|
||||
if entry is None:
|
||||
entry = _build_path_upload_file_item(relative_path, original_name)
|
||||
files.append(entry)
|
||||
if str(entry.get('staged_path') or '').strip() and str(entry.get('status') or '').lower() in ('queued', 'success', 'uploading'):
|
||||
return jsonify(_serialize_job(job))
|
||||
entry['status'] = 'failed'
|
||||
entry['error'] = error_message
|
||||
entry['original_name'] = entry.get('original_name') or original_name or Path(relative_path).name
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
_refresh_path_upload_job_state(job)
|
||||
db.session.commit()
|
||||
return jsonify(_serialize_job(job))
|
||||
|
||||
@knowledge_base_bp.route('/path-upload-jobs/<int:job_id>/finalize', methods=['POST'])
|
||||
def finalize_path_upload_job(job_id: int):
|
||||
current_user = _require_user()
|
||||
job = db.session.get(KbJob, job_id)
|
||||
if not job or job.job_type != 'path_upload':
|
||||
raise NotFoundError('路径上传任务不存在')
|
||||
if job.status in ('success', 'failed', 'cancelled'):
|
||||
return jsonify(_serialize_job(job))
|
||||
if job.status not in ('draft', 'staging'):
|
||||
raise ConflictError('当前任务不允许提交执行')
|
||||
payload = dict(job.payload_json or {})
|
||||
files = list(payload.get('files') or [])
|
||||
if not files:
|
||||
raise ValidationError('当前没有可上传的文件')
|
||||
job.status = 'queued'
|
||||
job.progress = 0
|
||||
job.message = '等待后台批量导入文档'
|
||||
staged_files = [item for item in files if str(item.get('staged_path') or '').strip()]
|
||||
if not staged_files:
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
_refresh_path_upload_job_state(job)
|
||||
if job.status != 'failed':
|
||||
job.status = 'failed'
|
||||
job.message = '当前批次没有成功暂存的文件'
|
||||
job.error_message = '当前批次没有成功暂存的文件'
|
||||
db.session.commit()
|
||||
return jsonify(_serialize_job(job))
|
||||
payload['finalized_at'] = datetime.utcnow().isoformat()
|
||||
job.payload_json = payload
|
||||
job.created_by_id = getattr(current_user, 'id', None)
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
_refresh_path_upload_job_state(job)
|
||||
db.session.commit()
|
||||
enqueue_kb_job(job.id)
|
||||
refreshed = db.session.get(KbJob, job.id)
|
||||
return jsonify(_serialize_job(refreshed))
|
||||
response_payload = _serialize_job(refreshed)
|
||||
response_payload['queue_result'] = 'inline_per_file'
|
||||
response_payload['accepted'] = True
|
||||
return (jsonify(response_payload), 202)
|
||||
|
||||
@knowledge_base_bp.route('/path-upload-jobs/<int:job_id>/files', methods=['DELETE'])
|
||||
def delete_path_job_file(job_id: int):
|
||||
current_user = _require_user()
|
||||
job = db.session.get(KbJob, job_id)
|
||||
if not job or job.job_type != 'path_upload':
|
||||
raise NotFoundError('路径上传任务不存在')
|
||||
relative_path_raw = str(request.args.get('relative_path') or '').strip()
|
||||
if not relative_path_raw:
|
||||
raise ValidationError('relative_path is required')
|
||||
try:
|
||||
relative_path = _sanitize_relative_path(relative_path_raw, Path(relative_path_raw).name or 'uploaded_file')
|
||||
except ValueError as exc:
|
||||
raise ValidationError(str(exc))
|
||||
payload = dict(job.payload_json or {})
|
||||
files = list(payload.get('files') or [])
|
||||
entry = _find_path_upload_file_item(files, relative_path)
|
||||
if entry is None:
|
||||
raise NotFoundError('路径文件记录不存在')
|
||||
_remove_path_upload_staged_file(entry.get('staged_path'))
|
||||
document_deleted = _soft_delete_document(entry.get('document_id'), getattr(current_user, 'id', None))
|
||||
files = [item for item in files if item is not entry]
|
||||
_sync_path_upload_job_payload(job, files)
|
||||
if not files:
|
||||
job.status = 'cancelled'
|
||||
job.progress = 100
|
||||
job.finished_at = job.finished_at or datetime.utcnow()
|
||||
job.message = '路径上传记录已清空'
|
||||
job.error_message = None
|
||||
staging_dir = _kb_storage_root() / 'path_upload_jobs' / f'job_{job.id:06d}'
|
||||
if staging_dir.exists():
|
||||
shutil.rmtree(staging_dir, ignore_errors=True)
|
||||
db.session.commit()
|
||||
return jsonify({'ok': True, 'job': _serialize_job(job), 'document_deleted': document_deleted, 'relative_path': relative_path})
|
||||
|
||||
@knowledge_base_bp.route('/path-upload-jobs/<int:job_id>/retry-failed', methods=['POST'])
|
||||
def retry_failed_path_upload_job(job_id: int):
|
||||
@@ -451,7 +798,7 @@ def get_document_markdown(document_id: int):
|
||||
raise NotFoundError('当前文档暂无版本记录')
|
||||
markdown_path, kind = _resolve_markdown_read_path(version)
|
||||
if not markdown_path:
|
||||
raise ConflictError('当前文档尚未生成可编辑 Markdown')
|
||||
raise ConflictError(_markdown_unavailable_message(version))
|
||||
content = markdown_path.read_text(encoding='utf-8', errors='ignore')
|
||||
return jsonify(_serialize_markdown_payload(document, version, content, kind))
|
||||
|
||||
@@ -470,7 +817,7 @@ def update_document_markdown(document_id: int):
|
||||
raise ValidationError('content is required')
|
||||
markdown_path = _resolve_markdown_write_path(version)
|
||||
if not markdown_path:
|
||||
raise ConflictError('当前文档尚未生成可编辑 Markdown')
|
||||
raise ConflictError(_markdown_unavailable_message(version))
|
||||
markdown_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
markdown_path.write_text(content, encoding='utf-8')
|
||||
version.cleaned_file_path = str(markdown_path)
|
||||
@@ -512,10 +859,75 @@ def upload_document_version(document_id: int):
|
||||
db.session.add(upload_job)
|
||||
db.session.add(clean_job)
|
||||
db.session.commit()
|
||||
enqueue_clean_job(clean_job.id)
|
||||
_enqueued, queue_result = enqueue_clean_job(clean_job.id)
|
||||
db.session.expire_all()
|
||||
version = db.session.get(KbDocumentVersion, version.id)
|
||||
return (jsonify(_serialize_version(version)), 201)
|
||||
clean_job = db.session.get(KbJob, clean_job.id)
|
||||
return (jsonify({
|
||||
'accepted': True,
|
||||
'message': '文件上传成功,清洗已排队',
|
||||
'queue_result': queue_result,
|
||||
'version': _serialize_version(version),
|
||||
'clean_job': _serialize_job(clean_job) if clean_job else None,
|
||||
}), 201)
|
||||
|
||||
|
||||
@knowledge_base_bp.route('/documents/<int:document_id>/clean', methods=['POST'])
|
||||
@require_admin
|
||||
def submit_document_clean(document_id: int):
|
||||
current_user = get_current_user()
|
||||
document = (
|
||||
db.session.query(KbDocument)
|
||||
.options(joinedload(KbDocument.versions))
|
||||
.filter(KbDocument.id == document_id, KbDocument.is_deleted.is_(False))
|
||||
.first()
|
||||
)
|
||||
if not document:
|
||||
raise NotFoundError('Knowledge base document not found')
|
||||
version = _current_version(document)
|
||||
if not version:
|
||||
raise ValidationError('当前文档暂无可清洗版本')
|
||||
|
||||
latest_clean_job = _latest_job_for_version(version.id, 'clean')
|
||||
if latest_clean_job and latest_clean_job.status in ('queued', 'running'):
|
||||
payload = _serialize_job(latest_clean_job)
|
||||
payload['accepted'] = True
|
||||
payload['queue_result'] = 'already_queued'
|
||||
payload['message'] = latest_clean_job.message or '清洗任务已在处理中'
|
||||
return jsonify(payload), 202
|
||||
|
||||
version.status = 'uploaded'
|
||||
version.error_message = None
|
||||
if document.status == 'failed':
|
||||
document.status = 'uploaded'
|
||||
document.updated_by_id = getattr(current_user, 'id', None)
|
||||
|
||||
clean_job = KbJob(
|
||||
job_type='clean',
|
||||
status='queued',
|
||||
group_id=document.group_id,
|
||||
document_id=document.id,
|
||||
document_version_id=version.id,
|
||||
progress=0,
|
||||
message='等待清洗任务执行',
|
||||
payload_json={
|
||||
'document_version_id': version.id,
|
||||
'document_id': document.id,
|
||||
'source_file_name': version.source_file_name,
|
||||
'retry_mode': 'manual',
|
||||
},
|
||||
created_by_id=getattr(current_user, 'id', None),
|
||||
)
|
||||
db.session.add(clean_job)
|
||||
db.session.commit()
|
||||
|
||||
_enqueued, queue_result = enqueue_clean_job(clean_job.id)
|
||||
refreshed = db.session.get(KbJob, clean_job.id)
|
||||
payload = _serialize_job(refreshed) if refreshed else {'id': clean_job.id}
|
||||
payload['accepted'] = True
|
||||
payload['queue_result'] = queue_result
|
||||
payload['message'] = refreshed.message if refreshed else '清洗任务已提交,等待后台处理'
|
||||
return jsonify(payload), 202
|
||||
|
||||
@knowledge_base_bp.route('/documents/<int:document_id>/sync', methods=['POST'])
|
||||
@require_admin
|
||||
@@ -530,13 +942,13 @@ def sync_document(document_id: int):
|
||||
sync_job = KbJob(job_type='sync_dify', status='queued', group_id=document.group_id, document_id=document.id, document_version_id=version.id, progress=0, message='等待同步到 Dify', payload_json={'document_version_id': version.id, 'document_id': document.id}, created_by_id=getattr(current_user, 'id', None))
|
||||
db.session.add(sync_job)
|
||||
db.session.commit()
|
||||
success, message = run_sync_job(sync_job.id)
|
||||
_enqueued, queue_result = enqueue_kb_job(sync_job.id)
|
||||
refreshed = db.session.get(KbJob, sync_job.id)
|
||||
payload = _serialize_job(refreshed) if refreshed else {'id': sync_job.id}
|
||||
payload['run_result'] = message
|
||||
if not success:
|
||||
payload['error'] = (refreshed.error_message if refreshed else None) or message
|
||||
return (jsonify(payload), 200 if success else 400)
|
||||
payload['accepted'] = True
|
||||
payload['queue_result'] = queue_result
|
||||
payload['message'] = refreshed.message if refreshed else '同步任务已提交,等待后台处理'
|
||||
return (jsonify(payload), 202)
|
||||
|
||||
@knowledge_base_bp.route('/documents/<int:document_id>', methods=['PATCH'])
|
||||
def update_document(document_id: int):
|
||||
@@ -589,13 +1001,51 @@ def run_job(job_id: int):
|
||||
job = db.session.get(KbJob, job_id)
|
||||
if not job:
|
||||
raise NotFoundError('任务不存在')
|
||||
if job.job_type == 'clean':
|
||||
success, message = run_clean_job(job_id)
|
||||
elif job.job_type == 'sync_dify':
|
||||
success, message = run_sync_job(job_id)
|
||||
else:
|
||||
|
||||
if job.job_type not in ('clean', 'sync_dify'):
|
||||
raise ValidationError('当前仅支持手动执行 clean 或 sync_dify 任务')
|
||||
|
||||
if job.status in ('queued', 'running'):
|
||||
refreshed = db.session.get(KbJob, job_id)
|
||||
payload = _serialize_job(refreshed) if refreshed else {'id': job_id}
|
||||
payload['accepted'] = True
|
||||
payload['queue_result'] = 'already_queued'
|
||||
payload['run_result'] = '任务已在后台处理中'
|
||||
return jsonify(payload), 202
|
||||
|
||||
version = db.session.get(KbDocumentVersion, job.document_version_id) if job.document_version_id else None
|
||||
|
||||
if job.job_type == 'clean':
|
||||
if not version:
|
||||
raise NotFoundError('关联文档版本不存在')
|
||||
job.status = 'queued'
|
||||
job.progress = 0
|
||||
job.started_at = None
|
||||
job.finished_at = None
|
||||
job.error_message = None
|
||||
job.message = '等待清洗任务执行'
|
||||
version.status = 'uploaded'
|
||||
version.error_message = None
|
||||
if version.document:
|
||||
version.document.status = 'uploaded'
|
||||
else:
|
||||
if not version:
|
||||
raise NotFoundError('关联文档版本不存在')
|
||||
job.status = 'queued'
|
||||
job.progress = 0
|
||||
job.started_at = None
|
||||
job.finished_at = None
|
||||
job.error_message = None
|
||||
job.message = '等待同步到 Dify'
|
||||
if version.status in ('failed', 'ready', 'synced'):
|
||||
version.error_message = None
|
||||
|
||||
db.session.commit()
|
||||
|
||||
_enqueued, queue_result = enqueue_kb_job(job.id)
|
||||
refreshed = db.session.get(KbJob, job_id)
|
||||
payload = _serialize_job(refreshed) if refreshed else {'id': job_id}
|
||||
payload['run_result'] = message
|
||||
return (jsonify(payload), 200 if success else 400)
|
||||
payload['accepted'] = True
|
||||
payload['queue_result'] = queue_result
|
||||
payload['run_result'] = '任务已提交后台异步执行'
|
||||
return jsonify(payload), 202
|
||||
+87
-3
@@ -225,6 +225,78 @@ def _casdoor_password_login(username: str, password: str):
|
||||
raise RuntimeError(f'Casdoor password login failed: {data}')
|
||||
return data
|
||||
|
||||
def _is_casdoor_login_mode() -> bool:
|
||||
return (current_app.config.get('AUTH_LOGIN_MODE') or 'casdoor').lower() == 'casdoor'
|
||||
|
||||
def _is_casdoor_configured() -> bool:
|
||||
if not _clean_str(current_app.config.get('CASDOOR_ORGANIZATION')):
|
||||
return False
|
||||
base = (current_app.config.get('CASDOOR_BASE_URL') or '').rstrip('/')
|
||||
client_id = current_app.config.get('CASDOOR_CLIENT_ID') or ''
|
||||
client_secret = current_app.config.get('CASDOOR_CLIENT_SECRET') or ''
|
||||
return bool(base and client_id and client_secret)
|
||||
|
||||
def _casdoor_user_owner() -> str:
|
||||
owner = _clean_str(current_app.config.get('CASDOOR_ORGANIZATION'))
|
||||
if not owner:
|
||||
raise RuntimeError('CASDOOR_ORGANIZATION is not configured')
|
||||
return owner
|
||||
|
||||
def _verify_casdoor_password(username: str, password: str):
|
||||
_casdoor_password_login(username, password)
|
||||
|
||||
def _casdoor_set_password(user_owner: str, user_name: str, old_password: str, new_password: str):
|
||||
base = (current_app.config.get('CASDOOR_BASE_URL') or '').rstrip('/')
|
||||
client_id = current_app.config.get('CASDOOR_CLIENT_ID') or ''
|
||||
client_secret = current_app.config.get('CASDOOR_CLIENT_SECRET') or ''
|
||||
if not base or not client_id or not client_secret:
|
||||
raise RuntimeError('Casdoor is not configured')
|
||||
url = f'{base}/api/set-password'
|
||||
resp = requests.post(url, files={'userOwner': (None, user_owner), 'userName': (None, user_name), 'oldPassword': (None, old_password), 'newPassword': (None, new_password)}, auth=(client_id, client_secret), timeout=8)
|
||||
try:
|
||||
data = resp.json() or {}
|
||||
except ValueError:
|
||||
raise RuntimeError(f'Casdoor set-password failed: HTTP {resp.status_code} {resp.text[:200]}')
|
||||
if data.get('status') != 'ok':
|
||||
raise RuntimeError(data.get('msg') or f'Casdoor set-password failed: {data}')
|
||||
|
||||
def _is_casdoor_password_error(message: str) -> bool:
|
||||
lowered = (message or '').lower()
|
||||
return 'invalid_grant' in lowered or 'password login failed' in lowered or 'incorrect password' in lowered
|
||||
|
||||
def _raise_incorrect_current_password():
|
||||
raise AppError(
|
||||
code='AUTH.INCORRECT_CURRENT_PASSWORD',
|
||||
message='Incorrect current password',
|
||||
http_status=403,
|
||||
)
|
||||
|
||||
def _verify_current_password_for_change(user, current_password: str):
|
||||
if user.check_password(current_password):
|
||||
return
|
||||
if not _is_casdoor_configured():
|
||||
_raise_incorrect_current_password()
|
||||
try:
|
||||
_verify_casdoor_password(user.username, current_password)
|
||||
except RuntimeError as e:
|
||||
if _is_casdoor_password_error(str(e)):
|
||||
_raise_incorrect_current_password()
|
||||
raise
|
||||
|
||||
def _sync_casdoor_password(username: str, current_password: str, new_password: str):
|
||||
if not _is_casdoor_configured():
|
||||
return
|
||||
user_owner = _casdoor_user_owner()
|
||||
try:
|
||||
_casdoor_set_password(user_owner, username, current_password, new_password)
|
||||
except RuntimeError as first_error:
|
||||
if _is_casdoor_password_error(str(first_error)):
|
||||
_raise_incorrect_current_password()
|
||||
try:
|
||||
_casdoor_set_password(user_owner, username, '', new_password)
|
||||
except RuntimeError:
|
||||
raise first_error
|
||||
|
||||
def _cleanup_wecom_state_cache():
|
||||
now = datetime.utcnow()
|
||||
expired = [k for k, v in _WECOM_STATE_CACHE.items() if not v or v < now]
|
||||
@@ -1362,7 +1434,10 @@ def user_profile():
|
||||
@user_bp.route('/change-password', methods=['POST'])
|
||||
def change_password():
|
||||
"""
|
||||
Change password
|
||||
Change password for the current user.
|
||||
|
||||
Verify current password against local DB and/or Casdoor, then update both stores
|
||||
to keep them in sync regardless of AUTH_LOGIN_MODE or login method.
|
||||
"""
|
||||
user = _get_current_user()
|
||||
if not user:
|
||||
@@ -1372,12 +1447,21 @@ def change_password():
|
||||
new_password = data.get('new_password')
|
||||
if not current_password or not new_password:
|
||||
raise ValidationError('Current and new password are required')
|
||||
if not user.check_password(current_password):
|
||||
raise ForbiddenError('Incorrect current password')
|
||||
try:
|
||||
_verify_current_password_for_change(user, current_password)
|
||||
_sync_casdoor_password(user.username, current_password, new_password)
|
||||
user.set_password(new_password)
|
||||
db.session.commit()
|
||||
return jsonify({'message': 'Password changed successfully'})
|
||||
except AppError:
|
||||
raise
|
||||
except RuntimeError as e:
|
||||
db.session.rollback()
|
||||
message = str(e)
|
||||
if _is_casdoor_password_error(message):
|
||||
_raise_incorrect_current_password()
|
||||
current_app.logger.exception('[change_password] Casdoor failed user=%s', user.username)
|
||||
raise AppError(code='SYSTEM.HTTP_ERROR', message=f'Failed to change password: {message}', http_status=502, details={'error_code': 'CASDOOR_SET_PASSWORD_FAILED'})
|
||||
except Exception as e:
|
||||
db.session.rollback()
|
||||
raise AppError(code='SYSTEM.INTERNAL_ERROR', message=str(e), http_status=500)
|
||||
|
||||
@@ -69,10 +69,13 @@ class Config:
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
SECRET_KEY = os.getenv('SECRET_KEY')
|
||||
KB_STORAGE_ROOT = os.getenv('KB_STORAGE_ROOT', str(_BACKEND_DIR / 'data' / 'kb'))
|
||||
KB_TASK_EXECUTION_MODE = os.getenv('KB_TASK_EXECUTION_MODE', 'sync').strip().lower()
|
||||
KB_TASK_EXECUTION_MODE = os.getenv('KB_TASK_EXECUTION_MODE', 'worker').strip().lower()
|
||||
KB_WORKER_POLL_SECONDS = float(os.getenv('KB_WORKER_POLL_SECONDS', '2'))
|
||||
KB_WORKER_CONCURRENCY = int(os.getenv('KB_WORKER_CONCURRENCY', '3') or '3')
|
||||
# kb-worker 自动回收长时间 running 的任务(秒),默认 300,应大于单次清洗预期耗时
|
||||
KB_JOB_RUNNING_TIMEOUT_SECONDS = float(os.getenv('KB_JOB_RUNNING_TIMEOUT_SECONDS', '300'))
|
||||
# 单文件清洗总超时(秒);超时后终止当前文件处理,避免卡住整个 worker 队列
|
||||
EDKB_FILE_TIMEOUT_SEC = int(os.getenv('EDKB_FILE_TIMEOUT_SEC', '0') or '0')
|
||||
# 数据库连接池配置
|
||||
SQLALCHEMY_ENGINE_OPTIONS = {
|
||||
'pool_size': 20,
|
||||
@@ -83,7 +86,7 @@ class Config:
|
||||
PUBLIC_BASE_URL = os.getenv('PUBLIC_BASE_URL')
|
||||
DEFAULT_ADMIN_USERNAME = os.getenv('DEFAULT_ADMIN_USERNAME')
|
||||
DEFAULT_ADMIN_PASSWORD = os.getenv('DEFAULT_ADMIN_PASSWORD')
|
||||
TASK_EXECUTION_MODE = os.getenv('TASK_EXECUTION_MODE', 'sync').strip().lower()
|
||||
TASK_EXECUTION_MODE = os.getenv('TASK_EXECUTION_MODE', '').strip().lower()
|
||||
# Dify 网关配置
|
||||
DIFY_API_BASE = os.getenv('DIFY_API_BASE')
|
||||
DIFY_API_KEY = os.getenv('DIFY_API_KEY')
|
||||
@@ -205,6 +208,8 @@ class Config:
|
||||
# Casdoor Application must whitelist every origin users hit, e.g. IP and domain on port 8881.
|
||||
CASDOOR_REDIRECT_URI = os.getenv('CASDOOR_REDIRECT_URI')
|
||||
CASDOOR_SCOPE = os.getenv('CASDOOR_SCOPE')
|
||||
# Casdoor organization (userOwner) for set-password and other management APIs.
|
||||
CASDOOR_ORGANIZATION = (os.getenv('CASDOOR_ORGANIZATION') or 'organization_HX').strip()
|
||||
# WeCom as Casdoor IdP: provider Name from Casdoor Providers page (used with default_provider=wecom on authorize-url).
|
||||
CASDOOR_WECOM_PROVIDER_HINT = os.getenv('CASDOOR_WECOM_PROVIDER_HINT').strip()
|
||||
CASDOOR_WECOM_SILENT_SIGNIN = os.getenv('CASDOOR_WECOM_SILENT_SIGNIN', 'false').lower() == 'true'
|
||||
@@ -234,7 +239,7 @@ class Config:
|
||||
MINIO_ACCESS_KEY = os.getenv('MINIO_ACCESS_KEY', 'minioadmin')
|
||||
MINIO_SECRET_KEY = os.getenv('MINIO_SECRET_KEY', 'minioadmin')
|
||||
MINIO_SECURE = os.getenv('MINIO_SECURE', 'false').lower() == 'true'
|
||||
MINIO_BUCKET_NAME = os.getenv('MINIO_BUCKET_NAME', 'agent-guides')
|
||||
MINIO_AGENT_GUIDES_BUCKET = os.getenv('MINIO_AGENT_GUIDES_BUCKET', 'agent-guides')
|
||||
MINIO_PUBLIC_BASE_URL = os.getenv('MINIO_PUBLIC_BASE_URL', 'http://127.0.0.1:9000')
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ _BACKEND_DIR = Path(__file__).resolve().parents[1]
|
||||
_ROOT_DIR = _BACKEND_DIR.parent
|
||||
ROOT_ENV_LOCAL_PATH = _ROOT_DIR / '.env.local'
|
||||
LEGACY_BACKEND_ENV_PATH = _BACKEND_DIR / '.env'
|
||||
# Backward-compatible alias for tests and older callers that still patch/read
|
||||
# the historical backend/.env location directly.
|
||||
BACKEND_ENV_PATH = LEGACY_BACKEND_ENV_PATH
|
||||
WECOM_BOOL_KEYS = {
|
||||
'WECOM_ENABLED',
|
||||
'WECOM_AUTO_CREATE_USER',
|
||||
@@ -180,7 +183,7 @@ def _persist_to_env_file(values: dict[str, str]) -> bool:
|
||||
|
||||
def _load_from_env_file(prefixes: tuple[str, ...]) -> dict[str, str]:
|
||||
merged: dict[str, str] = {}
|
||||
for env_path in (LEGACY_BACKEND_ENV_PATH, ROOT_ENV_LOCAL_PATH):
|
||||
for env_path in (BACKEND_ENV_PATH, ROOT_ENV_LOCAL_PATH):
|
||||
if not env_path.exists():
|
||||
continue
|
||||
try:
|
||||
|
||||
@@ -152,6 +152,16 @@ def _is_remote_document_missing(error_text: str) -> bool:
|
||||
)
|
||||
|
||||
|
||||
def _resolve_upload_name(version: KbDocumentVersion) -> str:
|
||||
document_title = str(getattr(version.document, 'title', '') or '').strip()
|
||||
if document_title:
|
||||
return document_title
|
||||
source_file_name = str(version.source_file_name or '').strip()
|
||||
if source_file_name:
|
||||
return source_file_name
|
||||
return f'文档-{version.document_id}'
|
||||
|
||||
|
||||
def sync_document_version_to_dify(document_version_id: int, synced_by_id: int | None = None) -> dict:
|
||||
version = db.session.get(KbDocumentVersion, document_version_id)
|
||||
if not version or not version.document or not version.document.group:
|
||||
@@ -177,7 +187,7 @@ def sync_document_version_to_dify(document_version_id: int, synced_by_id: int |
|
||||
|
||||
remote_document_id = None
|
||||
remote_document_name = None
|
||||
upload_name = version.source_file_name or document.title
|
||||
upload_name = _resolve_upload_name(version)
|
||||
if existing_record and existing_record.dataset_id == dataset_id and existing_record.sync_hash == sync_hash:
|
||||
try:
|
||||
payload = service.get_document(
|
||||
|
||||
@@ -4,6 +4,7 @@ backend/app/services/knowledge_cleaning/edkb_adapter.py
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
@@ -12,6 +13,27 @@ from pathlib import Path
|
||||
TEXT_EXTS = {'.txt', '.md'}
|
||||
|
||||
|
||||
def _temporary_env(**overrides: str):
|
||||
saved: dict[str, str | None] = {}
|
||||
|
||||
class _EnvGuard:
|
||||
def __enter__(self):
|
||||
for key, value in overrides.items():
|
||||
saved[key] = os.environ.get(key)
|
||||
os.environ[key] = value
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc, tb):
|
||||
for key, old_value in saved.items():
|
||||
if old_value is None:
|
||||
os.environ.pop(key, None)
|
||||
else:
|
||||
os.environ[key] = old_value
|
||||
return False
|
||||
|
||||
return _EnvGuard()
|
||||
|
||||
|
||||
def _find_generated_markdown(output_root: Path) -> Path:
|
||||
# Look for md files directly inside output_root or inside any of its subdirectories
|
||||
# Note that edkb_system puts output inside a directory matching the parent dir name, which might be tmp_dir
|
||||
@@ -22,6 +44,28 @@ def _find_generated_markdown(output_root: Path) -> Path:
|
||||
return candidates[0]
|
||||
|
||||
|
||||
def _find_generated_preview_markdown(output_root: Path) -> Path | None:
|
||||
candidates = [path for path in output_root.rglob('03_clean_view.md') if path.is_file()]
|
||||
if not candidates:
|
||||
return None
|
||||
candidates.sort(key=lambda item: len(item.parts))
|
||||
return candidates[0]
|
||||
|
||||
|
||||
def _rewrite_preview_markdown_if_needed(preview_path: Path, target_dir: Path) -> None:
|
||||
content = preview_path.read_text(encoding='utf-8', errors='ignore')
|
||||
if 'data:image/' not in content:
|
||||
return
|
||||
|
||||
from edkb_system.skills.export import _LocalPreviewImageRewriter
|
||||
|
||||
images_dir = target_dir / 'images_view'
|
||||
if images_dir.exists():
|
||||
shutil.rmtree(images_dir)
|
||||
rewriter = _LocalPreviewImageRewriter(images_dir=images_dir)
|
||||
preview_path.write_text(rewriter.replace_text(content), encoding='utf-8')
|
||||
|
||||
|
||||
def _write_text_result(source_path: Path, target_dir: Path) -> dict:
|
||||
target_dir.mkdir(parents=True, exist_ok=True)
|
||||
cleaned_path = target_dir / 'document.md'
|
||||
@@ -70,19 +114,37 @@ def build_clean_result(source_path: Path, target_dir: Path) -> dict:
|
||||
shutil.copy2(source_path, tmp_source_path)
|
||||
|
||||
config = SystemConfig.load(None)
|
||||
result = build_knowledge(tmp_source_path, output_dir, config, cache_dir)
|
||||
# Align with the xx system: do not spend clean-time uploading images to MinIO.
|
||||
# Keep embedded-image fallback so Markdown can still be produced locally.
|
||||
with _temporary_env(
|
||||
MINIO_UPLOAD_ENABLED='false',
|
||||
MINIO_ALLOW_EMBED_FALLBACK='true',
|
||||
):
|
||||
result = build_knowledge(tmp_source_path, output_dir, config, cache_dir)
|
||||
failures = [item for item in result if item.get('status') == 'failed']
|
||||
if failures:
|
||||
raise RuntimeError(failures[0].get('error') or 'edkb_system failed.')
|
||||
|
||||
markdown_source = _find_generated_markdown(output_dir)
|
||||
preview_source = _find_generated_preview_markdown(output_dir)
|
||||
cleaned_path = target_dir / 'document.md'
|
||||
shutil.copy2(markdown_source, cleaned_path)
|
||||
preview_path = cleaned_path
|
||||
if preview_source and preview_source.exists():
|
||||
preview_path = target_dir / 'document_preview.md'
|
||||
shutil.copy2(preview_source, preview_path)
|
||||
preview_images_dir = preview_source.parent / 'images_view'
|
||||
target_preview_images_dir = target_dir / 'images_view'
|
||||
if target_preview_images_dir.exists():
|
||||
shutil.rmtree(target_preview_images_dir)
|
||||
if preview_images_dir.exists():
|
||||
shutil.copytree(preview_images_dir, target_preview_images_dir)
|
||||
_rewrite_preview_markdown_if_needed(preview_path, target_dir)
|
||||
content = cleaned_path.read_text(encoding='utf-8', errors='ignore')
|
||||
|
||||
return {
|
||||
'mode': 'edkb_system',
|
||||
'cleaned_file_path': str(cleaned_path),
|
||||
'cleaned_preview_path': str(cleaned_path),
|
||||
'cleaned_preview_path': str(preview_path),
|
||||
'word_count': len(content.split()),
|
||||
}
|
||||
@@ -12,11 +12,38 @@ import logging
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from flask import current_app
|
||||
from sqlalchemy.exc import OperationalError
|
||||
|
||||
from app import db
|
||||
from app.models import KbDocumentVersion, KbJob
|
||||
|
||||
logger = logging.getLogger('kb-worker')
|
||||
_WORD_EXTENSIONS = {'doc', 'docx'}
|
||||
|
||||
|
||||
def _normalize_source_ext(value: str | None) -> str:
|
||||
return str(value or '').strip().lower().lstrip('.')
|
||||
|
||||
|
||||
def _is_word_clean_job(job: KbJob | None) -> bool:
|
||||
if not job or job.job_type != 'clean' or not job.document_version:
|
||||
return False
|
||||
return _normalize_source_ext(job.document_version.source_file_ext) in _WORD_EXTENSIONS
|
||||
|
||||
|
||||
def _has_running_word_clean_job() -> bool:
|
||||
running_jobs = (
|
||||
db.session.query(KbJob)
|
||||
.join(KbDocumentVersion, KbDocumentVersion.id == KbJob.document_version_id)
|
||||
.filter(
|
||||
KbJob.job_type == 'clean',
|
||||
KbJob.status == 'running',
|
||||
KbDocumentVersion.source_file_ext.isnot(None),
|
||||
)
|
||||
.order_by(KbJob.started_at.asc(), KbJob.id.asc())
|
||||
.all()
|
||||
)
|
||||
return any(_is_word_clean_job(job) for job in running_jobs)
|
||||
|
||||
|
||||
def recover_stale_running_jobs() -> tuple[int, str]:
|
||||
@@ -79,8 +106,8 @@ def enqueue_kb_job(job_id: int) -> tuple[bool, str]:
|
||||
- manual: 保留 queued,等待管理台手动执行。
|
||||
"""
|
||||
mode = str(
|
||||
current_app.config.get('TASK_EXECUTION_MODE')
|
||||
or current_app.config.get('KB_TASK_EXECUTION_MODE', 'sync')
|
||||
current_app.config.get('KB_TASK_EXECUTION_MODE')
|
||||
or current_app.config.get('TASK_EXECUTION_MODE', 'worker')
|
||||
).strip().lower()
|
||||
|
||||
job = db.session.get(KbJob, job_id)
|
||||
@@ -88,12 +115,14 @@ def enqueue_kb_job(job_id: int) -> tuple[bool, str]:
|
||||
return False, 'job_not_found'
|
||||
|
||||
if mode == 'sync':
|
||||
from app.services.knowledge_cleaning.tasks import run_clean_job, run_path_upload_job
|
||||
from app.services.knowledge_cleaning.tasks import run_clean_job, run_path_upload_job, run_sync_job
|
||||
|
||||
if job.job_type == 'clean':
|
||||
return run_clean_job(job_id)
|
||||
if job.job_type == 'path_upload':
|
||||
return run_path_upload_job(job_id)
|
||||
if job.job_type == 'sync_dify':
|
||||
return run_sync_job(job_id)
|
||||
return False, f'unsupported_sync_job:{job.job_type}'
|
||||
|
||||
if mode in ('worker', 'rq'):
|
||||
@@ -106,23 +135,67 @@ def enqueue_clean_job(job_id: int) -> tuple[bool, str]:
|
||||
return enqueue_kb_job(job_id)
|
||||
|
||||
|
||||
def claim_next_kb_job() -> KbJob | None:
|
||||
"""
|
||||
原子领取下一条 queued 任务,避免并发 worker 重复消费同一条记录。
|
||||
|
||||
当前运行在 PostgreSQL,可安全使用 FOR UPDATE SKIP LOCKED。
|
||||
"""
|
||||
now = datetime.utcnow()
|
||||
try:
|
||||
has_running_word_job = _has_running_word_clean_job()
|
||||
candidates = (
|
||||
db.session.query(KbJob)
|
||||
.filter(KbJob.job_type.in_(('path_upload', 'clean', 'sync_dify')), KbJob.status == 'queued')
|
||||
.order_by(KbJob.created_at.asc(), KbJob.id.asc())
|
||||
.with_for_update(skip_locked=True)
|
||||
.limit(20)
|
||||
.all()
|
||||
)
|
||||
except OperationalError:
|
||||
db.session.rollback()
|
||||
logger.exception('failed to claim next kb job')
|
||||
return None
|
||||
|
||||
job = next(
|
||||
(
|
||||
item for item in candidates
|
||||
if not (has_running_word_job and _is_word_clean_job(item))
|
||||
),
|
||||
None,
|
||||
)
|
||||
|
||||
if not job:
|
||||
db.session.rollback()
|
||||
return None
|
||||
|
||||
job.status = 'running'
|
||||
job.started_at = job.started_at or now
|
||||
job.progress = max(int(job.progress or 0), 1)
|
||||
if job.job_type == 'clean':
|
||||
job.message = 'worker 已领取 Word 串行清洗任务' if _is_word_clean_job(job) else 'worker 已领取清洗任务'
|
||||
elif job.job_type == 'sync_dify':
|
||||
job.message = 'worker 已领取同步任务'
|
||||
else:
|
||||
job.message = 'worker 已领取路径上传任务'
|
||||
db.session.commit()
|
||||
return job
|
||||
|
||||
|
||||
def process_next_kb_job() -> tuple[bool, str]:
|
||||
# 先回收历史卡死的 running 任务,再领取下一条 queued 任务
|
||||
recover_stale_running_jobs()
|
||||
|
||||
job = (
|
||||
db.session.query(KbJob)
|
||||
.filter(KbJob.job_type.in_(('path_upload', 'clean')), KbJob.status == 'queued')
|
||||
.order_by(KbJob.created_at.asc(), KbJob.id.asc())
|
||||
.first()
|
||||
)
|
||||
job = claim_next_kb_job()
|
||||
if not job:
|
||||
return False, 'no_job'
|
||||
|
||||
from app.services.knowledge_cleaning.tasks import run_clean_job, run_path_upload_job
|
||||
from app.services.knowledge_cleaning.tasks import run_clean_job, run_path_upload_job, run_sync_job
|
||||
|
||||
if job.job_type == 'path_upload':
|
||||
return run_path_upload_job(job.id)
|
||||
if job.job_type == 'sync_dify':
|
||||
return run_sync_job(job.id)
|
||||
return run_clean_job(job.id)
|
||||
|
||||
|
||||
|
||||
@@ -85,12 +85,91 @@ def _safe_storage_filename(filename: str) -> str:
|
||||
return f'{safe_stem}{suffix}'
|
||||
|
||||
|
||||
def _safe_display_filename(filename: str) -> str:
|
||||
candidate = Path(filename or '').name.strip()
|
||||
if not candidate:
|
||||
return 'uploaded_file'
|
||||
invalid_chars = '\\/:*?"<>|'
|
||||
sanitized = ''.join('_' if ch in invalid_chars else ch for ch in candidate).strip()
|
||||
return sanitized or 'uploaded_file'
|
||||
|
||||
|
||||
def _kb_storage_root() -> Path:
|
||||
root = Path(current_app.config.get('KB_STORAGE_ROOT')).resolve()
|
||||
root.mkdir(parents=True, exist_ok=True)
|
||||
return root
|
||||
|
||||
|
||||
def _resolve_path_upload_display_name(relative_path: str, original_name: str) -> str:
|
||||
relative_name = Path(str(relative_path or '').replace('\\', '/')).name.strip()
|
||||
if relative_name:
|
||||
return relative_name
|
||||
original_leaf = Path(original_name or '').name.strip()
|
||||
if original_leaf:
|
||||
return original_leaf
|
||||
return 'uploaded_file'
|
||||
|
||||
|
||||
def _resolve_clean_display_filename(version: KbDocumentVersion, source_path: Path) -> str:
|
||||
document_title = _safe_display_filename(str(getattr(version.document, 'title', '') or ''))
|
||||
if document_title:
|
||||
title_path = Path(document_title)
|
||||
if title_path.suffix:
|
||||
return document_title
|
||||
normalized_source_name = _normalized_source_filename(version, source_path)
|
||||
source_suffix = Path(normalized_source_name).suffix
|
||||
return f'{document_title}{source_suffix}' if source_suffix else document_title
|
||||
return _safe_display_filename(_normalized_source_filename(version, source_path))
|
||||
|
||||
|
||||
def _normalize_markdown_title_candidate(value: str) -> str:
|
||||
text = str(value or '').strip()
|
||||
if not text:
|
||||
return ''
|
||||
if text.startswith('#'):
|
||||
text = text.lstrip('#').strip()
|
||||
return text
|
||||
|
||||
|
||||
def _rewrite_markdown_title(cleaned_file_path: str | None, *, preferred_title: str, fallback_source_name: str) -> None:
|
||||
if not cleaned_file_path:
|
||||
return
|
||||
cleaned_path = Path(cleaned_file_path)
|
||||
if cleaned_path.suffix.lower() != '.md' or not cleaned_path.exists():
|
||||
return
|
||||
|
||||
preferred_stem = Path(preferred_title or '').stem.strip()
|
||||
if not preferred_stem:
|
||||
return
|
||||
|
||||
fallback_candidates = {
|
||||
Path(fallback_source_name or '').stem.strip(),
|
||||
Path(cleaned_path.stem or '').stem.strip(),
|
||||
}
|
||||
fallback_candidates = {item for item in fallback_candidates if item}
|
||||
if not fallback_candidates:
|
||||
return
|
||||
|
||||
lines = cleaned_path.read_text(encoding='utf-8', errors='ignore').splitlines()
|
||||
for index, raw_line in enumerate(lines):
|
||||
stripped_line = raw_line.strip()
|
||||
if not stripped_line:
|
||||
continue
|
||||
normalized_line = _normalize_markdown_title_candidate(stripped_line)
|
||||
if normalized_line not in fallback_candidates or normalized_line == preferred_stem:
|
||||
return
|
||||
if stripped_line.startswith('#'):
|
||||
prefix = raw_line[: len(raw_line) - len(raw_line.lstrip())]
|
||||
heading_prefix = raw_line[len(prefix):].split(normalized_line, 1)[0]
|
||||
lines[index] = f'{prefix}{heading_prefix}{preferred_stem}'
|
||||
else:
|
||||
prefix = raw_line[: len(raw_line) - len(raw_line.lstrip())]
|
||||
lines[index] = f'{prefix}{preferred_stem}'
|
||||
cleaned_path.write_text('\n'.join(lines) + ('\n' if lines else ''), encoding='utf-8')
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
def _get_or_create_document(*, group_id: int, title: str, description: str | None, user_id: int | None) -> KbDocument:
|
||||
document = (
|
||||
db.session.query(KbDocument)
|
||||
@@ -145,7 +224,7 @@ def _register_document_version_from_staged_file(
|
||||
original_name: str,
|
||||
user_id: int | None,
|
||||
) -> tuple[KbDocument, KbDocumentVersion, KbJob]:
|
||||
display_name = Path(original_name or relative_path).name or Path(relative_path).name or 'uploaded_file'
|
||||
display_name = _resolve_path_upload_display_name(relative_path, original_name)
|
||||
if _find_existing_active_document(group_id=group_id, title=display_name):
|
||||
raise FileExistsError('上传失败,文件已存在')
|
||||
document = _get_or_create_document(
|
||||
@@ -155,11 +234,12 @@ def _register_document_version_from_staged_file(
|
||||
user_id=user_id,
|
||||
)
|
||||
version_no = _next_version_no(document)
|
||||
source_file_name = _safe_storage_filename(original_name)
|
||||
source_file_name = display_name
|
||||
stored_file_name = _safe_display_filename(display_name)
|
||||
ext = Path(source_file_name).suffix.lower().lstrip('.') or None
|
||||
version_dir = _kb_storage_root() / f'group_{group_id:04d}' / f'document_{document.id:06d}' / f'v{version_no:03d}'
|
||||
version_dir.mkdir(parents=True, exist_ok=True)
|
||||
target_path = version_dir / source_file_name
|
||||
target_path = version_dir / stored_file_name
|
||||
shutil.copy2(staged_path, target_path)
|
||||
sha256, file_size = _hash_file(target_path)
|
||||
|
||||
@@ -375,13 +455,18 @@ def run_clean_job(job_id: int) -> tuple[bool, str]:
|
||||
warnings = []
|
||||
|
||||
try:
|
||||
normalized_name = _normalized_source_filename(version, source_path)
|
||||
normalized_name = _resolve_clean_display_filename(version, source_path)
|
||||
staged_source = target_dir / normalized_name
|
||||
if staged_source != source_path:
|
||||
shutil.copy2(source_path, staged_source)
|
||||
source_path = staged_source
|
||||
|
||||
result = build_clean_result(source_path, target_dir)
|
||||
_rewrite_markdown_title(
|
||||
result.get('cleaned_file_path'),
|
||||
preferred_title=str(getattr(version.document, 'title', '') or ''),
|
||||
fallback_source_name=str(version.source_file_name or source_path.name),
|
||||
)
|
||||
job_message = '真实清洗结果已生成'
|
||||
except Exception as exc:
|
||||
# soffice 超时等不可恢复错误:直接失败,避免回退占位结果掩盖问题
|
||||
|
||||
@@ -16,7 +16,7 @@ class MinioService:
|
||||
secret_key=cfg.MINIO_SECRET_KEY,
|
||||
secure=cfg.MINIO_SECURE,
|
||||
)
|
||||
self.bucket_name = cfg.MINIO_BUCKET_NAME
|
||||
self.bucket_name = cfg.MINIO_AGENT_GUIDES_BUCKET
|
||||
self._ensure_bucket_exists()
|
||||
|
||||
def _ensure_bucket_exists(self):
|
||||
|
||||
@@ -7,6 +7,7 @@ from flask import current_app, has_app_context
|
||||
class Text2SQLService:
|
||||
_schema_text = None
|
||||
_oracle_client_initialized = False
|
||||
_oracle_dll_handles = []
|
||||
|
||||
@staticmethod
|
||||
def _backend_dir() -> str:
|
||||
@@ -86,6 +87,9 @@ class Text2SQLService:
|
||||
cls._prepend_env_path("DYLD_LIBRARY_PATH", target_lib_dir)
|
||||
elif system_name == "Windows":
|
||||
cls._prepend_env_path("PATH", target_lib_dir)
|
||||
if hasattr(os, "add_dll_directory"):
|
||||
handle = os.add_dll_directory(target_lib_dir)
|
||||
cls._oracle_dll_handles.append(handle)
|
||||
except Exception as exc:
|
||||
cls._log("warning", f"Failed to prepare Oracle runtime env: {exc}")
|
||||
|
||||
@@ -108,9 +112,9 @@ class Text2SQLService:
|
||||
if platform.system() == 'Windows' and target_lib_dir and not target_lib_dir.isascii():
|
||||
temp_dir = os.path.join(tempfile.gettempdir(), 'hxops_oracle_client')
|
||||
safe_lib_dir = os.path.join(temp_dir, os.path.basename(target_lib_dir))
|
||||
if not os.path.exists(safe_lib_dir) and os.path.exists(target_lib_dir):
|
||||
if os.path.exists(target_lib_dir):
|
||||
os.makedirs(temp_dir, exist_ok=True)
|
||||
shutil.copytree(target_lib_dir, safe_lib_dir)
|
||||
shutil.copytree(target_lib_dir, safe_lib_dir, dirs_exist_ok=True)
|
||||
target_lib_dir = safe_lib_dir
|
||||
|
||||
cls._prepare_oracle_runtime_env(target_lib_dir)
|
||||
@@ -185,16 +189,18 @@ class Text2SQLService:
|
||||
import tempfile
|
||||
|
||||
target_lib_dir = cls._get_oracle_client_dir()
|
||||
cls._prepare_oracle_runtime_env(target_lib_dir)
|
||||
|
||||
if platform.system() == 'Windows' and target_lib_dir:
|
||||
# OCI C-library fails to load if path contains non-ASCII.
|
||||
if not target_lib_dir.isascii():
|
||||
temp_dir = os.path.join(tempfile.gettempdir(), 'hxops_oracle_client')
|
||||
safe_lib_dir = os.path.join(temp_dir, os.path.basename(target_lib_dir))
|
||||
if not os.path.exists(safe_lib_dir) and os.path.exists(target_lib_dir):
|
||||
if os.path.exists(target_lib_dir):
|
||||
os.makedirs(temp_dir, exist_ok=True)
|
||||
shutil.copytree(target_lib_dir, safe_lib_dir)
|
||||
shutil.copytree(target_lib_dir, safe_lib_dir, dirs_exist_ok=True)
|
||||
target_lib_dir = safe_lib_dir
|
||||
cls._prepare_oracle_runtime_env(target_lib_dir)
|
||||
|
||||
if target_lib_dir:
|
||||
oracledb.init_oracle_client(lib_dir=target_lib_dir)
|
||||
@@ -379,7 +385,6 @@ class Text2SQLService:
|
||||
- 严禁生成任何 INSERT、UPDATE、DELETE、MERGE、ALTER、DROP、TRUNCATE、CREATE 语句。
|
||||
- 仅允许输出单条 SELECT 或 WITH 开头的查询。
|
||||
- 必须使用 Schema 中出现的精确表名,包含完整前缀,如 ERP_VIEW_USER.ERP_FAJ_FILE_V。
|
||||
- 如果用户查询的是列表明细而非聚合总数(如“列出...”、“有哪些...”),你必须强制在 SQL 结尾添加 FETCH FIRST 50 ROWS ONLY,避免一次性返回几十万条数据导致系统崩溃。
|
||||
- 必须只使用 Schema 中明确出现过的字段名,禁止臆造通用字段名,例如 FILE_TYPE、STATUS_NAME、AMOUNT 等。
|
||||
- 优先选择最相关字段,避免 SELECT *。
|
||||
- 当问题涉及“多少、总额、平均值、数量、占比、排名”时,请使用清晰的聚合逻辑与英文别名。
|
||||
@@ -459,7 +464,8 @@ class Text2SQLService:
|
||||
cursor.execute(sql)
|
||||
|
||||
columns = [col[0] for col in cursor.description]
|
||||
rows = cursor.fetchall()
|
||||
# Use fetchmany(50) instead of LLM-generated FETCH FIRST to support older Oracle versions
|
||||
rows = cursor.fetchmany(50)
|
||||
|
||||
cursor.close()
|
||||
connection.close()
|
||||
|
||||
@@ -212,12 +212,33 @@ def _derive_output_rel_md(file_path: Path, input_path: Path) -> Path:
|
||||
return rel.with_suffix(".md")
|
||||
|
||||
|
||||
def _strip_in_memory_images(blocks: list) -> list:
|
||||
out = []
|
||||
for b in blocks:
|
||||
meta = dict(getattr(b, "meta", {}) or {})
|
||||
if "image" in meta:
|
||||
meta.pop("image", None)
|
||||
b = type(b)(
|
||||
id=b.id,
|
||||
page=b.page,
|
||||
type=b.type,
|
||||
text=b.text,
|
||||
bbox=b.bbox,
|
||||
meta=meta,
|
||||
)
|
||||
out.append(b)
|
||||
return out
|
||||
|
||||
|
||||
def _normalize_path_for_match(p: Path | str) -> str:
|
||||
return str(p).replace("\\", "/")
|
||||
|
||||
|
||||
def _file_timeout_sec() -> int | None:
|
||||
raw = str(os.environ.get("EDKB_FILE_TIMEOUT_SEC", "0")).strip()
|
||||
_WORD_TIMEOUT_EXTS = {".doc", ".docx"}
|
||||
|
||||
|
||||
def _parse_timeout_env(name: str, default: str = "0") -> int | None:
|
||||
raw = str(os.environ.get(name, default)).strip()
|
||||
try:
|
||||
value = int(raw)
|
||||
except ValueError:
|
||||
@@ -225,6 +246,15 @@ def _file_timeout_sec() -> int | None:
|
||||
return value if value > 0 else None
|
||||
|
||||
|
||||
def _file_timeout_sec(file_path: Path | None = None) -> int | None:
|
||||
suffix = str(getattr(file_path, "suffix", "") or "").lower()
|
||||
if suffix in _WORD_TIMEOUT_EXTS:
|
||||
specific = _parse_timeout_env("EDKB_WORD_FILE_TIMEOUT_SEC")
|
||||
if specific:
|
||||
return specific
|
||||
return _parse_timeout_env("EDKB_FILE_TIMEOUT_SEC")
|
||||
|
||||
|
||||
def _cleanup_input_temp_files(input_path: Path) -> list[Path]:
|
||||
if input_path.is_file():
|
||||
candidates = [input_path]
|
||||
@@ -246,6 +276,28 @@ def _cleanup_input_temp_files(input_path: Path) -> list[Path]:
|
||||
return removed
|
||||
|
||||
|
||||
def _should_run_ocr(profile, cfg, blocks: list, context: Context | None = None) -> bool:
|
||||
if not blocks or not cfg.ocr.enable:
|
||||
return False
|
||||
if profile.file_type in {"ppt", "pptx"}:
|
||||
return False
|
||||
|
||||
pipeline_requests_ocr = "edkb-ocr" in profile.recommended_pipeline
|
||||
has_image_blocks = any(b.type == "image" for b in blocks)
|
||||
|
||||
# Word documents often contain decorative or embedded images. If intake
|
||||
# did not explicitly request OCR, do not force a slow OCR pass just because
|
||||
# image blocks exist.
|
||||
if profile.file_type in {"doc", "docx"} and not pipeline_requests_ocr:
|
||||
return False
|
||||
|
||||
if profile.file_type == "pdf" and not pipeline_requests_ocr:
|
||||
extras = getattr(context, "extras", {}) or {}
|
||||
return bool(extras.get("scan_likely") or extras.get("pdf_page_image_mode_pages"))
|
||||
|
||||
return pipeline_requests_ocr or has_image_blocks
|
||||
|
||||
|
||||
def _matches_pattern(candidates: list[str], patterns: list[str]) -> str | None:
|
||||
if not patterns:
|
||||
return None
|
||||
@@ -311,7 +363,7 @@ def _run_one_with_timeout(
|
||||
final_md_path: Path | None = None,
|
||||
progress_label: str | None = None,
|
||||
) -> dict:
|
||||
timeout = _file_timeout_sec()
|
||||
timeout = _file_timeout_sec(file_path)
|
||||
if not timeout:
|
||||
return _run_one(
|
||||
file_path,
|
||||
@@ -536,18 +588,14 @@ def _run_one(
|
||||
|
||||
if blocks:
|
||||
ctx.images = sum(1 for b in blocks if b.type == "image")
|
||||
should_ocr = cfg.ocr.enable and (
|
||||
"edkb-ocr" in profile.recommended_pipeline
|
||||
or any(b.type == "image" for b in blocks)
|
||||
)
|
||||
if profile.file_type in {"ppt", "pptx"}:
|
||||
should_ocr = False
|
||||
should_ocr = _should_run_ocr(profile, cfg, blocks, ctx)
|
||||
if should_ocr:
|
||||
_announce("ocr")
|
||||
t0 = time.perf_counter()
|
||||
blocks = ocr.run(blocks, ctx, min_confidence=cfg.ocr.min_confidence)
|
||||
_mark("edkb-ocr", t0)
|
||||
trace_steps.append("edkb-ocr")
|
||||
blocks = _strip_in_memory_images(blocks)
|
||||
|
||||
doc_kind = (ctx.extras.get("intake") or {}).get("doc_kind")
|
||||
policy_text = doc_kind == "policy_text"
|
||||
|
||||
@@ -163,6 +163,26 @@ def _page_image_structured_lines(payload: str) -> list[str]:
|
||||
|
||||
|
||||
def blocks_to_plain_markdown(blocks: list[Block]) -> str:
|
||||
def _is_meaningful_ocr_segment(text: str) -> bool:
|
||||
token = re.sub(r"\s+", "", text or "")
|
||||
if not token or re.fullmatch(r"[\W_]+", token):
|
||||
return False
|
||||
cjk_count = len(re.findall(r"[\u4e00-\u9fff]", token))
|
||||
alnum_count = len(re.findall(r"[A-Za-z0-9]", token))
|
||||
if cjk_count >= 2:
|
||||
return True
|
||||
if cjk_count >= 1 and len(token) >= 2:
|
||||
return True
|
||||
if alnum_count >= 5:
|
||||
return True
|
||||
return len(token) >= 4
|
||||
|
||||
def _is_rich_ocr_payload(payload: str) -> bool:
|
||||
token = re.sub(r"\s+", "", payload or "")
|
||||
cjk_count = len(re.findall(r"[\u4e00-\u9fff]", token))
|
||||
alnum_count = len(re.findall(r"[A-Za-z0-9]", token))
|
||||
return cjk_count >= 6 or alnum_count >= 12 or len(token) >= 20
|
||||
|
||||
def _ocr_payload(txt: str) -> str:
|
||||
payload = txt
|
||||
if payload.startswith("OCR_TEXT:"):
|
||||
@@ -170,8 +190,12 @@ def blocks_to_plain_markdown(blocks: list[Block]) -> str:
|
||||
if not payload or payload == "<empty>":
|
||||
return ""
|
||||
payload = re.sub(r"(?m)^\s*-\s*", "", payload)
|
||||
payload = ";".join(x.strip() for x in payload.splitlines() if x.strip())
|
||||
return payload
|
||||
segments = [
|
||||
x.strip()
|
||||
for x in payload.splitlines()
|
||||
if x.strip() and _is_meaningful_ocr_segment(x.strip())
|
||||
]
|
||||
return ";".join(segments)
|
||||
|
||||
ocr_by_image: dict[str, str] = {}
|
||||
for b in blocks:
|
||||
@@ -206,7 +230,22 @@ def blocks_to_plain_markdown(blocks: list[Block]) -> str:
|
||||
lines.append(f"## {txt}")
|
||||
elif b.type == "image":
|
||||
data_uri = b.meta.get("data_uri") if b.meta else None
|
||||
if data_uri:
|
||||
is_pdf_page_image = bool(
|
||||
b.meta
|
||||
and b.meta.get("page_image")
|
||||
and b.meta.get("page_image_source") == "pdf"
|
||||
)
|
||||
if is_pdf_page_image:
|
||||
ocr_text = ocr_by_image.get(b.id)
|
||||
suppress_pdf_page_image = (
|
||||
page_body_chars.get(b.page, 0) >= 80
|
||||
or page_text_chars.get(b.page, 0) >= 120
|
||||
) and not _is_rich_ocr_payload(ocr_text or "")
|
||||
if not suppress_pdf_page_image:
|
||||
lines.append(f"![page-image-{b.page}]")
|
||||
if ocr_text and not suppress_pdf_page_image:
|
||||
lines.append(f"图中文字:{ocr_text}")
|
||||
elif data_uri:
|
||||
image_idx += 1
|
||||
if b.meta and b.meta.get("page_image"):
|
||||
lines.append(f"")
|
||||
@@ -220,11 +259,7 @@ def blocks_to_plain_markdown(blocks: list[Block]) -> str:
|
||||
page_body_chars.get(b.page, 0) >= 15
|
||||
or page_text_chars.get(b.page, 0) >= 40
|
||||
)
|
||||
if (
|
||||
b.meta
|
||||
and b.meta.get("page_image")
|
||||
and b.meta.get("page_image_source") != "pptx"
|
||||
):
|
||||
if b.meta and b.meta.get("page_image"):
|
||||
lines.extend(_page_image_structured_lines(ocr_text))
|
||||
if not suppress_pptx_ocr:
|
||||
lines.append(f"图中文字:{ocr_text}")
|
||||
|
||||
@@ -263,7 +263,7 @@ class _RemoteImageRewriter:
|
||||
return None
|
||||
raise RuntimeError("image-hosting disabled: MINIO_ENDPOINT is empty")
|
||||
|
||||
bucket_name = os.getenv("MINIO_BUCKET", "image-hosting-service")
|
||||
bucket_name = os.getenv("MINIO_KB_IMAGE_BUCKET", "image-hosting-service")
|
||||
access_key = os.getenv("MINIO_ACCESS_KEY", "admin")
|
||||
secret_key = os.getenv("MINIO_SECRET_KEY", "difyai123456")
|
||||
public_base = _normalize_public_base(
|
||||
@@ -472,6 +472,67 @@ class _RemoteImageRewriter:
|
||||
)
|
||||
|
||||
|
||||
class _LocalPreviewImageRewriter:
|
||||
def __init__(self, *, images_dir: Path) -> None:
|
||||
self.images_dir = images_dir
|
||||
self.uri_cache: dict[str, str] = {}
|
||||
self.sha_cache: dict[str, str] = {}
|
||||
self._next_image_index = 1
|
||||
|
||||
def _store_embedded_uri(self, uri: str, fmt: str, b64_raw: str) -> str:
|
||||
cached = self.uri_cache.get(uri)
|
||||
if cached is not None:
|
||||
return cached
|
||||
|
||||
b64_clean = re.sub(r"\s+", "", b64_raw or "")
|
||||
try:
|
||||
blob = base64.b64decode(b64_clean, validate=False)
|
||||
except Exception:
|
||||
self.uri_cache[uri] = ""
|
||||
return ""
|
||||
|
||||
if not _is_valid_image_blob(blob):
|
||||
self.uri_cache[uri] = ""
|
||||
return ""
|
||||
|
||||
sha = hashlib.sha256(blob).hexdigest()
|
||||
cached_sha = self.sha_cache.get(sha)
|
||||
if cached_sha is not None:
|
||||
self.uri_cache[uri] = cached_sha
|
||||
return cached_sha
|
||||
|
||||
ext = _normalize_ext(fmt, blob)
|
||||
file_name = f"img_{self._next_image_index:03d}_{sha[:8]}.{ext}"
|
||||
self._next_image_index += 1
|
||||
self.images_dir.mkdir(parents=True, exist_ok=True)
|
||||
image_path = self.images_dir / file_name
|
||||
image_path.write_bytes(blob)
|
||||
rel_path = f"{self.images_dir.name}/{file_name}"
|
||||
self.sha_cache[sha] = rel_path
|
||||
self.uri_cache[uri] = rel_path
|
||||
return rel_path
|
||||
|
||||
def replace_text(self, text: str) -> str:
|
||||
if not text or "data:image/" not in text:
|
||||
return text
|
||||
|
||||
def repl(m: re.Match[str]) -> str:
|
||||
alt = m.group("alt") or "image"
|
||||
rel_path = self._store_embedded_uri(
|
||||
m.group("uri"),
|
||||
m.group("fmt") or "png",
|
||||
m.group("b64") or "",
|
||||
)
|
||||
if not rel_path:
|
||||
return f"![{alt}]"
|
||||
return f""
|
||||
|
||||
out = _EMBEDDED_IMG_RE.sub(repl, text)
|
||||
if "data:image/" in out:
|
||||
out = _EMBEDDED_IMG_ANY_RE.sub("![image]", out)
|
||||
return out
|
||||
|
||||
|
||||
def run(input_data: dict, context: Context) -> dict:
|
||||
out_dir = Path(input_data["out_dir"])
|
||||
out_dir.mkdir(parents=True, exist_ok=True)
|
||||
@@ -518,8 +579,16 @@ def run(input_data: dict, context: Context) -> dict:
|
||||
exported_chunks = [replace(c, text=rewriter.replace_text(c.text)) for c in chunks]
|
||||
rewriter.finalize()
|
||||
|
||||
preview_md = ""
|
||||
needs_preview_assets = "data:image/" in clean_md
|
||||
if needs_preview_assets:
|
||||
preview_rewriter = _LocalPreviewImageRewriter(images_dir=view_images_dir)
|
||||
preview_md = preview_rewriter.replace_text(clean_md)
|
||||
|
||||
_write(out_dir / "03_clean.md", clean_md)
|
||||
_write(flat_clean_path, clean_md)
|
||||
if needs_preview_assets:
|
||||
_write(view_clean_path, preview_md)
|
||||
|
||||
lines = [json.dumps(asdict(c), ensure_ascii=False) for c in exported_chunks]
|
||||
_write(out_dir / "04_chunks.jsonl", "\n".join(lines) + ("\n" if lines else ""))
|
||||
|
||||
@@ -17,6 +17,9 @@ from edkb_system.contracts import Block, Context
|
||||
from edkb_system.skills.soffice_util import convert_with_soffice, soffice_candidates
|
||||
from edkb_system.skills.word_bridge import convert_with_word
|
||||
|
||||
_IMAGE_URI_CACHE: dict[tuple[str, str], str] = {}
|
||||
_IMAGE_URI_CACHE_MAX = 512
|
||||
|
||||
|
||||
def _to_data_uri(blob: bytes, content_type: str | None = None) -> str:
|
||||
ct = content_type or "image/png"
|
||||
@@ -25,18 +28,64 @@ def _to_data_uri(blob: bytes, content_type: str | None = None) -> str:
|
||||
|
||||
|
||||
def _to_preferred_image_data_uri(blob: bytes, content_type: str | None = None) -> str:
|
||||
ct = str(content_type or "image/png").strip().lower() or "image/png"
|
||||
cache_key = (hashlib.sha1(blob).hexdigest(), ct)
|
||||
cached = _IMAGE_URI_CACHE.get(cache_key)
|
||||
if cached:
|
||||
return cached
|
||||
|
||||
if ct in {"image/jpeg", "image/jpg"}:
|
||||
uri = _to_data_uri(blob, "image/jpeg")
|
||||
if len(_IMAGE_URI_CACHE) >= _IMAGE_URI_CACHE_MAX:
|
||||
_IMAGE_URI_CACHE.clear()
|
||||
_IMAGE_URI_CACHE[cache_key] = uri
|
||||
return uri
|
||||
|
||||
try:
|
||||
from PIL import Image
|
||||
|
||||
with Image.open(io.BytesIO(blob)) as im:
|
||||
rgb = Image.new("RGB", im.size, (255, 255, 255))
|
||||
rgba = im.convert("RGBA")
|
||||
rgb.paste(rgba, mask=rgba.split()[3])
|
||||
out = io.BytesIO()
|
||||
rgb.save(out, format="JPEG", quality=90)
|
||||
return _to_data_uri(out.getvalue(), "image/jpeg")
|
||||
if im.mode in {"RGB", "L"} and ct in {"image/png", "image/bmp"}:
|
||||
uri = _to_data_uri(blob, ct)
|
||||
else:
|
||||
rgb = Image.new("RGB", im.size, (255, 255, 255))
|
||||
rgba = im.convert("RGBA")
|
||||
rgb.paste(rgba, mask=rgba.split()[3])
|
||||
out = io.BytesIO()
|
||||
rgb.save(out, format="JPEG", quality=90)
|
||||
uri = _to_data_uri(out.getvalue(), "image/jpeg")
|
||||
if len(_IMAGE_URI_CACHE) >= _IMAGE_URI_CACHE_MAX:
|
||||
_IMAGE_URI_CACHE.clear()
|
||||
_IMAGE_URI_CACHE[cache_key] = uri
|
||||
return uri
|
||||
except Exception:
|
||||
return _to_data_uri(blob, content_type)
|
||||
uri = _to_data_uri(blob, content_type)
|
||||
if len(_IMAGE_URI_CACHE) >= _IMAGE_URI_CACHE_MAX:
|
||||
_IMAGE_URI_CACHE.clear()
|
||||
_IMAGE_URI_CACHE[cache_key] = uri
|
||||
return uri
|
||||
|
||||
|
||||
def _build_image_uri_map(doc) -> dict[str, str]:
|
||||
image_uri_by_rid: dict[str, str] = {}
|
||||
rel_items = list(doc.part.rels.items())
|
||||
rel_items.sort(
|
||||
key=lambda kv: int((kv[0] or "rId0").replace("rId", "") or 0)
|
||||
if (kv[0] or "").startswith("rId")
|
||||
else 0
|
||||
)
|
||||
for rid, rel in rel_items:
|
||||
reltype = getattr(rel, "reltype", "") or ""
|
||||
if "image" not in reltype:
|
||||
continue
|
||||
try:
|
||||
part = rel.target_part
|
||||
blob = part.blob
|
||||
content_type = getattr(part, "content_type", None)
|
||||
image_uri_by_rid[str(rid)] = _to_preferred_image_data_uri(blob, content_type)
|
||||
except Exception:
|
||||
continue
|
||||
return image_uri_by_rid
|
||||
|
||||
|
||||
def _image_dimensions(blob: bytes, ext: str) -> tuple[int, int]:
|
||||
@@ -209,14 +258,24 @@ def _split_tall_image(blob: bytes, ext: str) -> list[bytes]:
|
||||
return [blob]
|
||||
|
||||
|
||||
def _extract_image_uris_from_paragraph(para, doc) -> list[str]:
|
||||
def _extract_image_uris_from_paragraph(
|
||||
para, doc, image_uri_by_rid: dict[str, str] | None = None
|
||||
) -> list[str]:
|
||||
uris: list[str] = []
|
||||
seen_rids: set[str] = set()
|
||||
try:
|
||||
rids = para._element.xpath(".//a:blip/@r:embed")
|
||||
except Exception:
|
||||
return uris
|
||||
for rid in rids:
|
||||
rid = str(rid)
|
||||
if rid in seen_rids:
|
||||
continue
|
||||
seen_rids.add(rid)
|
||||
try:
|
||||
if image_uri_by_rid and rid in image_uri_by_rid:
|
||||
uris.append(image_uri_by_rid[rid])
|
||||
continue
|
||||
part = doc.part.related_parts[rid]
|
||||
blob = part.blob
|
||||
content_type = getattr(part, "content_type", None)
|
||||
@@ -226,42 +285,34 @@ def _extract_image_uris_from_paragraph(para, doc) -> list[str]:
|
||||
return uris
|
||||
|
||||
|
||||
def _extract_all_image_uris_from_doc(doc) -> list[str]:
|
||||
def _extract_all_image_uris_from_doc(
|
||||
doc, image_uri_by_rid: dict[str, str] | None = None
|
||||
) -> list[str]:
|
||||
if image_uri_by_rid:
|
||||
return list(dict.fromkeys(image_uri_by_rid.values()))
|
||||
|
||||
uris: list[str] = []
|
||||
seen: set[str] = set()
|
||||
rel_items = list(doc.part.rels.items())
|
||||
rel_items.sort(
|
||||
key=lambda kv: int((kv[0] or "rId0").replace("rId", "") or 0)
|
||||
if (kv[0] or "").startswith("rId")
|
||||
else 0
|
||||
)
|
||||
for _, rel in rel_items:
|
||||
reltype = getattr(rel, "reltype", "") or ""
|
||||
if "image" not in reltype:
|
||||
continue
|
||||
try:
|
||||
part = rel.target_part
|
||||
blob = part.blob
|
||||
content_type = getattr(part, "content_type", None)
|
||||
uri = _to_preferred_image_data_uri(blob, content_type)
|
||||
key = hashlib.sha1(blob).hexdigest()
|
||||
if key in seen:
|
||||
continue
|
||||
seen.add(key)
|
||||
uris.append(uri)
|
||||
except Exception:
|
||||
for uri in _build_image_uri_map(doc).values():
|
||||
if uri in seen:
|
||||
continue
|
||||
seen.add(uri)
|
||||
uris.append(uri)
|
||||
return uris
|
||||
|
||||
|
||||
def _extract_image_uris_from_table(table, doc) -> list[str]:
|
||||
def _extract_image_uris_from_table(
|
||||
table, doc, image_uri_by_rid: dict[str, str] | None = None
|
||||
) -> list[str]:
|
||||
uris: list[str] = []
|
||||
seen: set[str] = set()
|
||||
try:
|
||||
for row in table.rows:
|
||||
for cell in row.cells:
|
||||
for para in cell.paragraphs:
|
||||
for uri in _extract_image_uris_from_paragraph(para, doc):
|
||||
for uri in _extract_image_uris_from_paragraph(
|
||||
para, doc, image_uri_by_rid
|
||||
):
|
||||
if uri in seen:
|
||||
continue
|
||||
seen.add(uri)
|
||||
@@ -1298,7 +1349,9 @@ def _extract_missing_634_badge_table_from_word_html(
|
||||
]
|
||||
|
||||
|
||||
def _table_to_markdown(table, doc) -> str:
|
||||
def _table_to_markdown(
|
||||
table, doc, image_uri_by_rid: dict[str, str] | None = None
|
||||
) -> str:
|
||||
rows: list[list[str]] = []
|
||||
seen_img_uri: set[str] = set()
|
||||
for r in table.rows:
|
||||
@@ -1308,7 +1361,9 @@ def _table_to_markdown(table, doc) -> str:
|
||||
img_uris: list[str] = []
|
||||
try:
|
||||
for para in c.paragraphs:
|
||||
for uri in _extract_image_uris_from_paragraph(para, doc):
|
||||
for uri in _extract_image_uris_from_paragraph(
|
||||
para, doc, image_uri_by_rid
|
||||
):
|
||||
if uri in seen_img_uri:
|
||||
continue
|
||||
seen_img_uri.add(uri)
|
||||
@@ -1664,6 +1719,7 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
|
||||
parsed: list[Block] = []
|
||||
doc = Document(str(docx_path))
|
||||
image_uri_by_rid = _build_image_uri_map(doc)
|
||||
num_to_abs, levels = _load_numbering_schema(docx_path)
|
||||
list_states: dict[str, dict[int, int]] = {}
|
||||
context.pages = 1
|
||||
@@ -1706,7 +1762,9 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
|
||||
if marker and text and not text.startswith(marker):
|
||||
text = f"{marker} {text}"
|
||||
image_uris = _extract_image_uris_from_paragraph(para, doc)
|
||||
image_uris = _extract_image_uris_from_paragraph(
|
||||
para, doc, image_uri_by_rid
|
||||
)
|
||||
if text:
|
||||
idx += 1
|
||||
typ = (
|
||||
@@ -1738,7 +1796,7 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
)
|
||||
elif isinstance(child, CT_Tbl):
|
||||
table = Table(child, doc)
|
||||
md = _table_to_markdown(table, doc)
|
||||
md = _table_to_markdown(table, doc, image_uri_by_rid)
|
||||
if md:
|
||||
if _looks_like_form_metadata_table(md):
|
||||
blocks = _form_table_to_blocks(table, idx)
|
||||
@@ -1760,7 +1818,7 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
# 表格内图片已并入表格 markdown 单元格,避免脱离原始位置。
|
||||
|
||||
if not any(b.type == "image" for b in parsed):
|
||||
for uri in _extract_all_image_uris_from_doc(doc):
|
||||
for uri in _extract_all_image_uris_from_doc(doc, image_uri_by_rid):
|
||||
idx += 1
|
||||
context.images += 1
|
||||
parsed.append(
|
||||
|
||||
@@ -6,11 +6,39 @@ from pathlib import Path
|
||||
|
||||
from edkb_system.contracts import Block, Context
|
||||
|
||||
_PAGE_IMAGE_RENDER_SCALE = 0.75
|
||||
_PAGE_IMAGE_JPEG_QUALITY = 82
|
||||
_TEXT_HEAVY_PAGE_TEXT_LIMIT = 40
|
||||
_DEFAULT_PAGE_TEXT_LIMIT = 120
|
||||
_MIN_SCAN_IMAGE_BYTES = 4 * 1024
|
||||
_MIN_DEFAULT_IMAGE_BYTES = 16 * 1024
|
||||
_MIN_TEXT_HEAVY_IMAGE_BYTES = 24 * 1024
|
||||
|
||||
|
||||
def _is_scanned(text_chars: int, pages: int) -> bool:
|
||||
return text_chars < int(300 * max(pages, 1) / 10)
|
||||
|
||||
|
||||
def _is_text_heavy_pdf(text_chars: int, pages: int) -> bool:
|
||||
return text_chars >= max(800, 180 * max(pages, 1))
|
||||
|
||||
|
||||
def _should_keep_embedded_image(
|
||||
*,
|
||||
data_size: int,
|
||||
page_text_chars: int,
|
||||
scan_likely: bool,
|
||||
text_heavy_pdf: bool,
|
||||
) -> bool:
|
||||
if data_size <= 0:
|
||||
return False
|
||||
if scan_likely:
|
||||
return data_size >= _MIN_SCAN_IMAGE_BYTES
|
||||
if text_heavy_pdf:
|
||||
return page_text_chars <= _TEXT_HEAVY_PAGE_TEXT_LIMIT and data_size >= _MIN_TEXT_HEAVY_IMAGE_BYTES
|
||||
return page_text_chars <= 80 or data_size >= _MIN_DEFAULT_IMAGE_BYTES
|
||||
|
||||
|
||||
def _to_data_uri(blob: bytes, content_type: str = "image/png") -> str:
|
||||
b64 = base64.b64encode(blob).decode("ascii")
|
||||
return f"data:{content_type};base64,{b64}"
|
||||
@@ -59,49 +87,88 @@ def _page_image_stats(
|
||||
def _should_use_page_image_mode(
|
||||
*,
|
||||
scan_likely: bool,
|
||||
text_heavy_pdf: bool,
|
||||
text_chars: int,
|
||||
image_count: int,
|
||||
largest_ratio: float,
|
||||
total_ratio: float,
|
||||
) -> bool:
|
||||
if text_heavy_pdf and text_chars > _TEXT_HEAVY_PAGE_TEXT_LIMIT:
|
||||
return False
|
||||
if scan_likely:
|
||||
if image_count == 0:
|
||||
return True
|
||||
if largest_ratio >= 0.55 or total_ratio >= 0.65 or image_count >= 3:
|
||||
return True
|
||||
if text_chars <= 120 and (
|
||||
if text_chars <= _DEFAULT_PAGE_TEXT_LIMIT and (
|
||||
largest_ratio >= 0.72 or (image_count >= 5 and total_ratio >= 0.45)
|
||||
):
|
||||
return True
|
||||
if text_heavy_pdf:
|
||||
return text_chars <= _TEXT_HEAVY_PAGE_TEXT_LIMIT and (
|
||||
largest_ratio >= 0.88 or total_ratio >= 0.95 or image_count >= 8
|
||||
)
|
||||
return False
|
||||
|
||||
|
||||
def _collect_image_boxes(
|
||||
file_path: Path, page_count: int
|
||||
def _analysis_candidate_pages(
|
||||
page_payloads: list[dict], scan_likely: bool, text_heavy_pdf: bool
|
||||
) -> list[int]:
|
||||
if scan_likely:
|
||||
return [int(payload["page"]) for payload in page_payloads]
|
||||
if text_heavy_pdf:
|
||||
return [
|
||||
int(payload["page"])
|
||||
for payload in page_payloads
|
||||
if len(str(payload.get("text") or "")) <= _TEXT_HEAVY_PAGE_TEXT_LIMIT
|
||||
]
|
||||
return [
|
||||
int(payload["page"])
|
||||
for payload in page_payloads
|
||||
if len(str(payload.get("text") or "")) <= _DEFAULT_PAGE_TEXT_LIMIT
|
||||
]
|
||||
|
||||
|
||||
def _collect_image_boxes_from_doc(
|
||||
doc, page_numbers: list[int]
|
||||
) -> dict[int, list[tuple[float, float, float, float]]]:
|
||||
try:
|
||||
import pypdfium2 as pdfium
|
||||
import pypdfium2.raw as pdfium_c
|
||||
except Exception:
|
||||
return {}
|
||||
|
||||
out: dict[int, list[tuple[float, float, float, float]]] = {}
|
||||
for page_number in page_numbers:
|
||||
try:
|
||||
page = doc[page_number - 1]
|
||||
except Exception:
|
||||
continue
|
||||
boxes: list[tuple[float, float, float, float]] = []
|
||||
try:
|
||||
for obj in page.get_objects(filter=[pdfium_c.FPDF_PAGEOBJ_IMAGE]):
|
||||
try:
|
||||
bounds = obj.get_bounds()
|
||||
except Exception:
|
||||
bounds = obj.get_pos()
|
||||
boxes.append(tuple(float(v) for v in bounds))
|
||||
except Exception:
|
||||
boxes = []
|
||||
out[page_number] = boxes
|
||||
return out
|
||||
|
||||
|
||||
def _collect_image_boxes(
|
||||
file_path: Path, page_numbers: list[int]
|
||||
) -> dict[int, list[tuple[float, float, float, float]]]:
|
||||
try:
|
||||
import pypdfium2 as pdfium
|
||||
except Exception:
|
||||
return {}
|
||||
|
||||
doc = None
|
||||
try:
|
||||
doc = pdfium.PdfDocument(str(file_path))
|
||||
for page_idx in range(page_count):
|
||||
page = doc[page_idx]
|
||||
boxes: list[tuple[float, float, float, float]] = []
|
||||
try:
|
||||
for obj in page.get_objects(filter=[pdfium_c.FPDF_PAGEOBJ_IMAGE]):
|
||||
try:
|
||||
bounds = obj.get_bounds()
|
||||
except Exception:
|
||||
bounds = obj.get_pos()
|
||||
boxes.append(tuple(float(v) for v in bounds))
|
||||
except Exception:
|
||||
boxes = []
|
||||
out[page_idx + 1] = boxes
|
||||
return _collect_image_boxes_from_doc(doc, page_numbers)
|
||||
except Exception:
|
||||
return {}
|
||||
finally:
|
||||
@@ -110,12 +177,25 @@ def _collect_image_boxes(
|
||||
doc.close()
|
||||
except Exception:
|
||||
pass
|
||||
return out
|
||||
|
||||
|
||||
def _render_page_image_from_doc(
|
||||
doc, page_number: int, scale: float = _PAGE_IMAGE_RENDER_SCALE
|
||||
) -> object | None:
|
||||
try:
|
||||
import numpy as np
|
||||
|
||||
page = doc[page_number - 1]
|
||||
bitmap = page.render(scale=scale)
|
||||
pil_image = bitmap.to_pil().convert("RGB")
|
||||
return np.asarray(pil_image)
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
|
||||
def _render_page_png(
|
||||
file_path: Path, page_number: int, scale: float = 2.0
|
||||
) -> bytes | None:
|
||||
file_path: Path, page_number: int, scale: float = _PAGE_IMAGE_RENDER_SCALE
|
||||
) -> object | None:
|
||||
try:
|
||||
import pypdfium2 as pdfium
|
||||
except Exception:
|
||||
@@ -124,12 +204,7 @@ def _render_page_png(
|
||||
doc = None
|
||||
try:
|
||||
doc = pdfium.PdfDocument(str(file_path))
|
||||
page = doc[page_number - 1]
|
||||
bitmap = page.render(scale=scale)
|
||||
pil_image = bitmap.to_pil()
|
||||
buf = io.BytesIO()
|
||||
pil_image.save(buf, format="PNG")
|
||||
return buf.getvalue()
|
||||
return _render_page_image_from_doc(doc, page_number, scale=scale)
|
||||
except Exception:
|
||||
return None
|
||||
finally:
|
||||
@@ -156,21 +231,68 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
images: list[dict] = []
|
||||
if text:
|
||||
text_chars += len(text)
|
||||
try:
|
||||
page_width = float(getattr(getattr(p, "mediabox", None), "width", 1000.0) or 1000.0)
|
||||
page_height = float(getattr(getattr(p, "mediabox", None), "height", 1000.0) or 1000.0)
|
||||
except Exception:
|
||||
page_width = 1000.0
|
||||
page_height = 1000.0
|
||||
|
||||
try:
|
||||
for img_idx, img in enumerate(getattr(p, "images", []) or [], start=1):
|
||||
data = getattr(img, "data", None)
|
||||
if not data:
|
||||
continue
|
||||
if not _should_keep_embedded_image(
|
||||
data_size=len(data),
|
||||
page_text_chars=len(text),
|
||||
scan_likely=False,
|
||||
text_heavy_pdf=False,
|
||||
):
|
||||
continue
|
||||
ext = (getattr(img, "image_format", "") or "").lower()
|
||||
ct = f"image/{ext}" if ext else "image/png"
|
||||
images.append({"id": img_idx, "data": data, "content_type": ct})
|
||||
except Exception:
|
||||
pass
|
||||
page_payloads.append({"page": page_idx, "text": text, "images": images})
|
||||
page_payloads.append(
|
||||
{
|
||||
"page": page_idx,
|
||||
"text": text,
|
||||
"images": images,
|
||||
"page_width": page_width,
|
||||
"page_height": page_height,
|
||||
}
|
||||
)
|
||||
|
||||
scan_likely = _is_scanned(text_chars, context.pages)
|
||||
image_boxes_by_page = _collect_image_boxes(file_path, context.pages)
|
||||
text_heavy_pdf = _is_text_heavy_pdf(text_chars, context.pages)
|
||||
for payload in page_payloads:
|
||||
payload["images"] = [
|
||||
item
|
||||
for item in payload["images"]
|
||||
if _should_keep_embedded_image(
|
||||
data_size=len(item.get("data") or b""),
|
||||
page_text_chars=len(str(payload.get("text") or "")),
|
||||
scan_likely=scan_likely,
|
||||
text_heavy_pdf=text_heavy_pdf,
|
||||
)
|
||||
]
|
||||
candidate_pages = _analysis_candidate_pages(
|
||||
page_payloads, scan_likely, text_heavy_pdf
|
||||
)
|
||||
image_boxes_by_page: dict[int, list[tuple[float, float, float, float]]] = {}
|
||||
pdfium_doc = None
|
||||
if candidate_pages:
|
||||
try:
|
||||
import pypdfium2 as pdfium
|
||||
|
||||
pdfium_doc = pdfium.PdfDocument(str(file_path))
|
||||
image_boxes_by_page = _collect_image_boxes_from_doc(
|
||||
pdfium_doc, candidate_pages
|
||||
)
|
||||
except Exception:
|
||||
image_boxes_by_page = _collect_image_boxes(file_path, candidate_pages)
|
||||
page_image_mode_pages: list[int] = []
|
||||
|
||||
for payload in page_payloads:
|
||||
@@ -178,9 +300,14 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
text = str(payload["text"] or "")
|
||||
page_images = list(payload["images"])
|
||||
image_boxes = image_boxes_by_page.get(page_idx, [])
|
||||
stats = _page_image_stats(1000.0, 1000.0, image_boxes)
|
||||
stats = _page_image_stats(
|
||||
float(payload.get("page_width") or 1000.0),
|
||||
float(payload.get("page_height") or 1000.0),
|
||||
image_boxes,
|
||||
)
|
||||
use_page_image_mode = _should_use_page_image_mode(
|
||||
scan_likely=scan_likely,
|
||||
text_heavy_pdf=text_heavy_pdf,
|
||||
text_chars=len(text),
|
||||
image_count=len(page_images) or int(stats["count"]),
|
||||
largest_ratio=float(stats["largest_ratio"]),
|
||||
@@ -199,8 +326,12 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
)
|
||||
|
||||
if use_page_image_mode:
|
||||
rendered = _render_page_png(file_path, page_idx)
|
||||
if rendered:
|
||||
rendered = (
|
||||
_render_page_image_from_doc(pdfium_doc, page_idx)
|
||||
if pdfium_doc is not None
|
||||
else _render_page_png(file_path, page_idx)
|
||||
)
|
||||
if rendered is not None:
|
||||
blocks.append(
|
||||
Block(
|
||||
id=f"pdf-page-{page_idx}",
|
||||
@@ -209,8 +340,9 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
text="",
|
||||
bbox=(0.0, 0.0, 1000.0, 1000.0),
|
||||
meta={
|
||||
"data_uri": _to_data_uri(rendered, "image/png"),
|
||||
"page_image": True,
|
||||
"page_image_source": "pdf",
|
||||
"image": rendered,
|
||||
},
|
||||
)
|
||||
)
|
||||
@@ -238,12 +370,19 @@ def run(input_data: dict, context: Context) -> list[Block]:
|
||||
if scan_likely:
|
||||
context.warnings.append("pdf likely scanned; OCR recommended")
|
||||
context.extras["scan_likely"] = True
|
||||
if text_heavy_pdf:
|
||||
context.extras["text_heavy_pdf"] = True
|
||||
if page_image_mode_pages:
|
||||
context.extras["pdf_page_image_mode_pages"] = page_image_mode_pages
|
||||
context.warnings.append(
|
||||
"pdf page-image mode pages: "
|
||||
+ ", ".join(str(x) for x in page_image_mode_pages)
|
||||
)
|
||||
try:
|
||||
if pdfium_doc is not None:
|
||||
pdfium_doc.close()
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as exc:
|
||||
context.warnings.append(f"PDF parse failed: {exc}")
|
||||
|
||||
|
||||
@@ -6,6 +6,24 @@ import re
|
||||
|
||||
from edkb_system.contracts import Block, Context
|
||||
|
||||
_RAPID_OCR_ENGINE = None
|
||||
_PDF_PAGE_IMAGE_MAX_EDGE = 1800
|
||||
|
||||
|
||||
def _is_meaningful_ocr_line(text: str) -> bool:
|
||||
token = re.sub(r"\s+", "", text or "")
|
||||
if not token or re.fullmatch(r"[\W_]+", token):
|
||||
return False
|
||||
cjk_count = len(re.findall(r"[\u4e00-\u9fff]", token))
|
||||
alnum_count = len(re.findall(r"[A-Za-z0-9]", token))
|
||||
if cjk_count >= 2:
|
||||
return True
|
||||
if cjk_count >= 1 and len(token) >= 2:
|
||||
return True
|
||||
if alnum_count >= 5:
|
||||
return True
|
||||
return len(token) >= 4
|
||||
|
||||
|
||||
def _decode_data_uri_image(data_uri: str):
|
||||
m = re.match(r"^data:image/[^;]+;base64,(.+)$", data_uri or "", re.DOTALL)
|
||||
@@ -26,17 +44,66 @@ def _decode_data_uri_image(data_uri: str):
|
||||
return None
|
||||
|
||||
|
||||
def _get_ocr_engine():
|
||||
global _RAPID_OCR_ENGINE
|
||||
if _RAPID_OCR_ENGINE is not None:
|
||||
return _RAPID_OCR_ENGINE
|
||||
|
||||
from rapidocr_onnxruntime import RapidOCR # type: ignore
|
||||
|
||||
_RAPID_OCR_ENGINE = RapidOCR()
|
||||
return _RAPID_OCR_ENGINE
|
||||
|
||||
|
||||
def _prepare_image_for_ocr(image_obj, block: Block):
|
||||
meta = getattr(block, "meta", {}) or {}
|
||||
if not (
|
||||
meta.get("page_image")
|
||||
and str(meta.get("page_image_source") or "").lower() == "pdf"
|
||||
):
|
||||
return image_obj
|
||||
|
||||
try:
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
if not hasattr(image_obj, "shape") or len(image_obj.shape) < 2:
|
||||
return image_obj
|
||||
height = int(image_obj.shape[0])
|
||||
width = int(image_obj.shape[1])
|
||||
max_edge = max(width, height)
|
||||
if max_edge <= _PDF_PAGE_IMAGE_MAX_EDGE:
|
||||
return image_obj
|
||||
|
||||
scale = _PDF_PAGE_IMAGE_MAX_EDGE / float(max_edge)
|
||||
target_size = (
|
||||
max(1, int(round(width * scale))),
|
||||
max(1, int(round(height * scale))),
|
||||
)
|
||||
pil_image = Image.fromarray(np.asarray(image_obj, dtype=np.uint8))
|
||||
resized = pil_image.resize(target_size, Image.Resampling.LANCZOS)
|
||||
return np.asarray(resized)
|
||||
except Exception:
|
||||
return image_obj
|
||||
|
||||
|
||||
def _ocr_call_kwargs(block: Block) -> dict:
|
||||
meta = getattr(block, "meta", {}) or {}
|
||||
if meta.get("page_image") and str(meta.get("page_image_source") or "").lower() == "pdf":
|
||||
return {"use_det": True, "use_cls": False, "use_rec": True}
|
||||
return {}
|
||||
|
||||
|
||||
def run(
|
||||
input_data: list[Block], context: Context, min_confidence: float = 0.3
|
||||
) -> list[Block]:
|
||||
blocks = input_data
|
||||
try:
|
||||
from rapidocr_onnxruntime import RapidOCR # type: ignore
|
||||
engine = _get_ocr_engine()
|
||||
except Exception:
|
||||
context.warnings.append("RapidOCR unavailable; skip OCR")
|
||||
return blocks
|
||||
|
||||
engine = RapidOCR()
|
||||
out: list[Block] = []
|
||||
for b in blocks:
|
||||
out.append(b)
|
||||
@@ -46,6 +113,8 @@ def run(
|
||||
image_obj = b.meta.get("image")
|
||||
if image_obj is None and b.meta and b.meta.get("data_uri"):
|
||||
image_obj = _decode_data_uri_image(str(b.meta.get("data_uri")))
|
||||
if image_obj is not None:
|
||||
image_obj = _prepare_image_for_ocr(image_obj, b)
|
||||
if image_obj is None:
|
||||
out.append(
|
||||
Block(
|
||||
@@ -59,14 +128,14 @@ def run(
|
||||
continue
|
||||
|
||||
try:
|
||||
result, _ = engine(image_obj)
|
||||
result, _ = engine(image_obj, **_ocr_call_kwargs(b))
|
||||
lines = []
|
||||
for it in result or []:
|
||||
if len(it) < 3:
|
||||
continue
|
||||
txt = str(it[1]).strip()
|
||||
conf = float(it[2])
|
||||
if txt and conf >= min_confidence:
|
||||
if txt and conf >= min_confidence and _is_meaningful_ocr_line(txt):
|
||||
lines.append(txt)
|
||||
if lines:
|
||||
text = "OCR_TEXT:\n" + "\n".join(f"- {x}" for x in lines)
|
||||
|
||||
@@ -0,0 +1,184 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Generate SQL to batch-grant agent permissions for users who lack them.
|
||||
|
||||
Default agents (from admin UI):
|
||||
- 通用入口
|
||||
- RoHS文件检核
|
||||
- MSDS文件检核
|
||||
|
||||
Two output modes:
|
||||
1. subquery (default): INSERT ... SELECT with NOT EXISTS, no DB connection needed
|
||||
2. explicit: connect to DATABASE_URL and emit concrete (user_id, agent_id) rows
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
DEFAULT_AGENT_NAMES = ("通用入口", "RoHS文件检核", "MSDS文件检核")
|
||||
|
||||
|
||||
def _quote_sql_string(value: str) -> str:
|
||||
return "'" + value.replace("'", "''") + "'"
|
||||
|
||||
|
||||
def build_subquery_sql(
|
||||
agent_names: list[str],
|
||||
user_status: str | None = "active",
|
||||
) -> str:
|
||||
lines = [
|
||||
"-- Auto-generated by generate_missing_agent_permissions_sql.py",
|
||||
"-- Skips users who already have the target agent permission.",
|
||||
"",
|
||||
"BEGIN;",
|
||||
"",
|
||||
]
|
||||
|
||||
for name in agent_names:
|
||||
quoted = _quote_sql_string(name)
|
||||
status_clause = f" AND u.status = {_quote_sql_string(user_status)}\n" if user_status else ""
|
||||
lines.extend(
|
||||
[
|
||||
f"-- Agent: {name}",
|
||||
"INSERT INTO user_agent_permissions (user_id, agent_id)",
|
||||
"SELECT u.id, a.id",
|
||||
"FROM users u",
|
||||
"CROSS JOIN agents a",
|
||||
f"WHERE a.name = {quoted}",
|
||||
status_clause.rstrip(),
|
||||
" AND NOT EXISTS (",
|
||||
" SELECT 1",
|
||||
" FROM user_agent_permissions uap",
|
||||
" WHERE uap.user_id = u.id",
|
||||
" AND uap.agent_id = a.id",
|
||||
" );",
|
||||
"",
|
||||
]
|
||||
)
|
||||
|
||||
lines.append("COMMIT;")
|
||||
lines.append("")
|
||||
return "\n".join(line for line in lines if line is not None)
|
||||
|
||||
|
||||
def build_explicit_sql(agent_names: list[str], user_status: str | None = "active") -> str:
|
||||
backend_dir = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(backend_dir))
|
||||
|
||||
from app import create_app, db
|
||||
from app.models import Agent, User
|
||||
|
||||
env = os.getenv("FLASK_ENV", "production")
|
||||
app = create_app(env)
|
||||
|
||||
with app.app_context():
|
||||
agents = (
|
||||
db.session.query(Agent)
|
||||
.filter(Agent.name.in_(agent_names))
|
||||
.order_by(Agent.id)
|
||||
.all()
|
||||
)
|
||||
found_names = {a.name for a in agents}
|
||||
missing_names = [n for n in agent_names if n not in found_names]
|
||||
if missing_names:
|
||||
raise SystemExit(f"Agents not found in database: {missing_names}")
|
||||
|
||||
user_query = db.session.query(User)
|
||||
if user_status:
|
||||
user_query = user_query.filter(User.status == user_status)
|
||||
users = user_query.order_by(User.id).all()
|
||||
|
||||
existing = {
|
||||
(row.user_id, row.agent_id)
|
||||
for row in db.session.execute(
|
||||
db.text("SELECT user_id, agent_id FROM user_agent_permissions")
|
||||
)
|
||||
}
|
||||
|
||||
values: list[str] = []
|
||||
for user in users:
|
||||
for agent in agents:
|
||||
pair = (user.id, agent.id)
|
||||
if pair not in existing:
|
||||
values.append(f"({user.id}, {agent.id})")
|
||||
|
||||
if not values:
|
||||
return (
|
||||
"-- No missing permissions found.\n"
|
||||
"-- All target users already have the requested agent permissions.\n"
|
||||
)
|
||||
|
||||
agent_summary = ", ".join(f"{a.name}(id={a.id})" for a in agents)
|
||||
lines = [
|
||||
"-- Auto-generated explicit INSERT rows from live database",
|
||||
f"-- Agents: {agent_summary}",
|
||||
f"-- Rows to insert: {len(values)}",
|
||||
"",
|
||||
"BEGIN;",
|
||||
"",
|
||||
"INSERT INTO user_agent_permissions (user_id, agent_id)",
|
||||
"VALUES",
|
||||
" " + ",\n ".join(values),
|
||||
"ON CONFLICT DO NOTHING;",
|
||||
"",
|
||||
"COMMIT;",
|
||||
"",
|
||||
]
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Generate SQL to grant missing user_agent_permissions."
|
||||
)
|
||||
parser.add_argument(
|
||||
"--agent-names",
|
||||
default=",".join(DEFAULT_AGENT_NAMES),
|
||||
help="Comma-separated agent names (default: three agents from admin UI).",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--user-status",
|
||||
default="active",
|
||||
help="Only include users with this status (default: active). Use empty string for all users.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--mode",
|
||||
choices=("subquery", "explicit"),
|
||||
default="subquery",
|
||||
help="subquery: name-based INSERT SELECT (no DB). explicit: query DB for concrete rows.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--output",
|
||||
default="backend/scripts/grant_three_agents_permissions.generated.sql",
|
||||
help="Output SQL file path.",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
agent_names = [part.strip() for part in args.agent_names.split(",") if part.strip()]
|
||||
if not agent_names:
|
||||
raise SystemExit("agent-names cannot be empty")
|
||||
|
||||
user_status = args.user_status.strip() or None
|
||||
|
||||
if args.mode == "explicit":
|
||||
sql = build_explicit_sql(agent_names, user_status=user_status)
|
||||
else:
|
||||
sql = build_subquery_sql(agent_names, user_status=user_status)
|
||||
|
||||
output_path = Path(args.output)
|
||||
output_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
output_path.write_text(sql, encoding="utf-8")
|
||||
|
||||
print(f"Generated SQL: {output_path}")
|
||||
print(f"Mode: {args.mode}")
|
||||
print(f"Agents: {agent_names}")
|
||||
print(f"User status filter: {user_status or '(all)'}")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -1,65 +0,0 @@
|
||||
BEGIN;
|
||||
|
||||
INSERT INTO departments (code, name, company)
|
||||
VALUES
|
||||
('301000', '总经理室', '苏州和信精密科技有限公司'),
|
||||
('305100', '业务部', '苏州和信精密科技有限公司'),
|
||||
('305110', '业一课', '苏州和信精密科技有限公司'),
|
||||
('305120', '业二课', '苏州和信精密科技有限公司'),
|
||||
('308000', '研发中心', '苏州和信精密科技有限公司'),
|
||||
('308500', '研发一部', '苏州和信精密科技有限公司'),
|
||||
('308510', 'PE课', '苏州和信精密科技有限公司'),
|
||||
('308520', '模具课', '苏州和信精密科技有限公司'),
|
||||
('308521', '模具设计', '苏州和信精密科技有限公司'),
|
||||
('308522', '加工组', '苏州和信精密科技有限公司'),
|
||||
('308523', '制模组', '苏州和信精密科技有限公司'),
|
||||
('308524', '维修A组', '苏州和信精密科技有限公司'),
|
||||
('308525', '维修B组', '苏州和信精密科技有限公司'),
|
||||
('308610', 'NCT工程课', '苏州和信精密科技有限公司'),
|
||||
('308800', '研发三部', '苏州和信精密科技有限公司'),
|
||||
('308810', 'IE工程课', '苏州和信精密科技有限公司'),
|
||||
('308850', '自动化组', '苏州和信精密科技有限公司'),
|
||||
('308901', '研发中心测试中心', '苏州和信精密科技有限公司'),
|
||||
('308902', '研发中心技术课', '苏州和信精密科技有限公司'),
|
||||
('310100', '生一冲压B车间', '苏州和信精密科技有限公司'),
|
||||
('311000', '生产一部', '苏州和信精密科技有限公司'),
|
||||
('311110', '生一冲压A车间', '苏州和信精密科技有限公司'),
|
||||
('311120', '生一加工', '苏州和信精密科技有限公司'),
|
||||
('311130', '生一组装B车间', '苏州和信精密科技有限公司'),
|
||||
('311150', '生一组装A车间', '苏州和信精密科技有限公司'),
|
||||
('311180', '生一组装C车间', '苏州和信精密科技有限公司'),
|
||||
('312000', '生产二部', '苏州和信精密科技有限公司'),
|
||||
('312110', '生二下料', '苏州和信精密科技有限公司'),
|
||||
('312120', '生二折弯', '苏州和信精密科技有限公司'),
|
||||
('312130', '生二加工', '苏州和信精密科技有限公司'),
|
||||
('312140', '生二焊接', '苏州和信精密科技有限公司'),
|
||||
('312150', '生二包装', '苏州和信精密科技有限公司'),
|
||||
('312180', '生二包装B车间', '苏州和信精密科技有限公司'),
|
||||
('312200', '生二包装C车间', '苏州和信精密科技有限公司'),
|
||||
('312230', '液冷组装', '苏州和信精密科技有限公司'),
|
||||
('313000', '生产三部', '苏州和信精密科技有限公司'),
|
||||
('313110', '生三补土/打磨', '苏州和信精密科技有限公司'),
|
||||
('313120', '生三粉体涂装', '苏州和信精密科技有限公司'),
|
||||
('313130', '生三液体涂装', '苏州和信精密科技有限公司'),
|
||||
('313160', '生三成型', '苏州和信精密科技有限公司'),
|
||||
('318000', '品保部', '苏州和信精密科技有限公司'),
|
||||
('318100', '品保课', '苏州和信精密科技有限公司'),
|
||||
('318200', '品管课', '苏州和信精密科技有限公司'),
|
||||
('318300', '文管课', '苏州和信精密科技有限公司'),
|
||||
('322300', '生管课', '苏州和信精密科技有限公司'),
|
||||
('322500', '供应链部', '苏州和信精密科技有限公司'),
|
||||
('322600', '仓储课', '苏州和信精密科技有限公司'),
|
||||
('326100', '公用课', '苏州和信精密科技有限公司'),
|
||||
('326200', '总务课', '苏州和信精密科技有限公司'),
|
||||
('326300', '人事课', '苏州和信精密科技有限公司'),
|
||||
('326400', '关务组', '苏州和信精密科技有限公司'),
|
||||
('330000', '财务部', '苏州和信精密科技有限公司'),
|
||||
('330100', '成本课', '苏州和信精密科技有限公司'),
|
||||
('330200', '总账课', '苏州和信精密科技有限公司'),
|
||||
('330300', '出纳课', '苏州和信精密科技有限公司'),
|
||||
('335000', '资讯组', '苏州和信精密科技有限公司')
|
||||
ON CONFLICT (code) DO UPDATE
|
||||
SET name = EXCLUDED.name,
|
||||
company = EXCLUDED.company;
|
||||
|
||||
COMMIT;
|
||||
@@ -1,924 +0,0 @@
|
||||
BEGIN;
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100001', '100001@example.com', '钟国松', '100001', '总经理室', 'scrypt:32768:8:1$UM3bQbCuI1oZYuRY$f669056233e35539d4fbeb51677674aa1a98a246d376a0e9fdf1411fb160fcc4ebb658f5a1933c6b8222f90e83ffb015ca60aa469e72009f042579b302b567bf', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100004', '100004@example.com', '钟淑惠', '100004', '总务课', 'scrypt:32768:8:1$45ouekaeyqHFI80i$2e3915ab013d7c23e1bc0804e5ce255f26e0dc3d262c56fdd4208d8baf59c2409a8f43804c66160f1c677556084a5b96cf8c662f4f22b4fa7293bea1e0a75191', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100006', '100006@example.com', '陈春兰', '100006', '总经理室', 'scrypt:32768:8:1$86YpRMP4paUsJHU9$1c045048abae902f86ad2c0d1744d05026bc72945ab78878143a37eb657fc1ab958c2ad9b38dde414e454127a1f35b790d25c941a29c3e0c8568bdd3807dca02', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100008', '100008@example.com', 'HOONG MING KOON', '100008', '总经理室', 'scrypt:32768:8:1$IwR2SjXknuIggZs5$b614b9d620074b2652bfc812e032a921b70e6fd57dbd44640617ecb141734f11251811f0aad80b54e6412c39e3782d8ec4f16c71693542088123b4baa024d3bd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100011', '100011@example.com', '廖启涵', '100011', '总经理室', 'scrypt:32768:8:1$FrcHOmR5JdwXl5K0$ed88ec175c62236c8c931642aec0c7f76527f15b15660623477588cd7370970d019a9702a76249a62e865eeb8d22930b1fab681f9a23d942c44a119e1a82060f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100048', '100048@example.com', '钟环阳', '100048', 'NCT工程课', 'scrypt:32768:8:1$HS2BUooRN895xMK5$9fdf96f617bb267ac80b7ae4b3dc5fd577c0d5ced5e096f5b5bc7259eaccf5114d35d095ad689cb30e01e53d213cbb99a034617fa7576b18853912124461b8ef', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100057', '100057@example.com', '谈勇', '100057', '研发三部', 'scrypt:32768:8:1$oRqYJtjZRc0K1Cuu$b9c87f93f7103df998c05ff60ee6b45df4c6a943d0610ad7dc8abc180bcf12846b9180b95c321004456f9ffae9f86536aeea95fb329fdbfb8c4c1c1d4812ab97', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100060', '100060@example.com', '廖韵淳', '100060', '总经理室', 'scrypt:32768:8:1$QiYfrNlXjis3P3su$d015bdb2bf3120c9f91513f396de230e894a406007fe0fa8b58f6386511e2b16b40fae7645397bbb6f3ae564305f95064d34d86d87ecf02e907203b1d4a2aa9d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100061', '100061@example.com', '钟政格', '100061', '总经理室', 'scrypt:32768:8:1$Lije0ywEcXdRj3gJ$384ace0ddcd736f7efe732faf97127667929f06446242bbe7572280347957a3d44b257a5698958f70f1a279cc5dbde20a75301e0bf00dee412ca893faa79b77c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('100062', '100062@example.com', '郭惠龄', '100062', '总经理室', 'scrypt:32768:8:1$wlv2iboIwQ1hFedW$e06a145637504eae426ef0d0ebb6f05708189bcd58bbb35a5cb190ea6247b862da97c8957713e05f4b5a0998c4f9f9003348febd8070aa1df1696395c00037e7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('107004', '107004@example.com', '徐雪红', '107004', '出纳课', 'scrypt:32768:8:1$xLJVgxgSyKgsFEaz$270e2b5d473882a40e79fd103f21d7904b85851a2fea530a67dc64fa6a97cc9d6e6bb0adc32c6cd808458914c7ee8becfb5b853eb55039ae48f834a48fef58fd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('107009', '107009@example.com', '王砚', '107009', '研发一部', 'scrypt:32768:8:1$ecYtFIFhSGzTzrnD$8cc8dce61353b345d8232210cf3e2995860b37aa32fc2cb5d47fb608b3f9e6adf8fe79386220e446080e1d9ac9847c1630815d6deddcb55f3d5aa0940f843d80', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('107010', '107010@example.com', '徐永', '107010', '公用课', 'scrypt:32768:8:1$ksVeKKeqaUHMTCfN$46d006cd599708b348cf15c10556a8ec77ddcc2bba69097bab49cdf301c3c5bdf9623b0ff91f569c358a09c16a1a940ae03deb283281a029506d7d869ee5e956', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('107023', '107023@example.com', '刘义万', '107023', '维修A组', 'scrypt:32768:8:1$HRvt4lHhOuzTU84i$a874e59bbce0e71fe19556526de9f0e68df946d3ca0bd4ff35bd9626f0fe590486701467624de1d3358a0dadc811563f8cd86ab1046f300da26a037cee996e94', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('108002', '108002@example.com', '朱纯美', '108002', '品管课', 'scrypt:32768:8:1$C0nAkZWdogUUIq0t$a389bc0fa83f30b60111e0604ba94d939aa9265528c389c63afd3116be90706b879465a2be76ea11ef0c5f9ca60ba704429b0c6328f6325f2828b4a007f2fa11', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('108004', '108004@example.com', '吴新升', '108004', '品保部', 'scrypt:32768:8:1$agXZlrwVN5WFyYVO$e4ecaae6b42090109dfe12e1bb75f83189c55460fe57060a822d1a24feacaa625fb00ea050db1dc16e3afaf096503e8bdfcc8bffbb6d48194c2368476baaeee0', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('203009', '203009@example.com', '施敬', '203009', '生一组装A车间', 'scrypt:32768:8:1$EBC5Y39SmrvxXX64$5fb869f82a12a371a7a7c7867fd31c643abb2072d229ccf7bf084210b55c6639ecb1f8af70b7fe8a3f4e5c924f415c1d16d29d93ee7c2564d4398317d719d19f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('203015', '203015@example.com', '赵辉', '203015', '制模组', 'scrypt:32768:8:1$sCcWvc8GAtfXjUGk$f059ae6dd0389c2a4dae917818c626f51a45b6a7115164c372e96af9b1a3fd3f638e5b739b75e4815889e7ef6b53593c9125aa740685a453d1812990569cffab', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('203036', '203036@example.com', '成秋兰', '203036', '供应链部', 'scrypt:32768:8:1$wP0YzdSRoex54KpE$9d47112cd18f242eca2225f404496aed0b46671dceb16cbcd441bfb1b8b2d1c65265592e2797f4c8b8630db95d61bb4c1aa5c1c909a5f864bc308f3672bbeba9', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('204008', '204008@example.com', '张莉莉', '204008', '品管课', 'scrypt:32768:8:1$4Klu7qW7eghQpNCU$643d52984a5ccf5acf0f32bac580aea46a072af3a25427f7f288f16069269f1344a199681af96b70d5cf9c3e0f99f16db6f78915d6838eec37dac139f055da1a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('204009', '204009@example.com', '任亚', '204009', '模具课', 'scrypt:32768:8:1$GYjHePSpEGpCCoV3$a319209a446c9aa543caad952055cb8abf690e771c37a6647f7e01194607706cfa8f27e3f55798ebd5ad821b86e9bf9d280ad662f65bffc7345f3d91636cecfe', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('204037', '204037@example.com', '吕珍荣', '204037', '生产一部', 'scrypt:32768:8:1$O6SfH3gEi5BDzTRh$9ea25ff94bb431ea7084befcc4bb52348ecc02fa05b066d7933e09c8263e08b6630a1fed5d84b1179200ba9aed2b5a4cdf17b584ce8325a407624af487a837a6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('204062', '204062@example.com', '蒋忠林', '204062', '研发中心技术课', 'scrypt:32768:8:1$K0AKLg573Di69mXn$1d49a415dd5f33e18c6ed93826f24a41154664fd13ee1a9909643f28bf32e5bcd3dcf22df11fd5b26b13bbc2c0fb6b0c74daba72904082d799a742c122677b51', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('204077', '204077@example.com', '唐开勇', '204077', '生二下料', 'scrypt:32768:8:1$2lKDQAEQso7bhLIH$6619c072e18d1fb866a50716e6ac9b584e0aeb1418d9c1f66559200b4033590645de802cb69534347ee515f823f9c49d91fa12291580d6bdc62c0a6dc75bbf1f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('205003', '205003@example.com', '陈先霞', '205003', '生管课', 'scrypt:32768:8:1$4hURNzxsuWn621bn$e8ad5dcfe0a2fdcef4a8c3fd20f538422a88b609d7faa0448ddd7c4e09ff218a27896249beb56b087594a28d42510729531ef3a6a34ad79f2a5d11988188a66b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('207002', '207002@example.com', '彭德国', '207002', '生二包装', 'scrypt:32768:8:1$cm9wpCWTnTpvcrSO$42fc91dc11615693cdb5140a9cd01955d8115dc20cfba5de6fe80aab9036040d99b1e8ce3edbdcfd4b3090b1b2bb56408a08722987e4cedff644b5cbb6ba8ce5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('209002', '209002@example.com', '李文', '209002', '加工组', 'scrypt:32768:8:1$TijLuXic6jTpYu14$22ebdd62c935f599558e86e376eec48cafc1781a1fce248a5b61fa3de6902d91ab31918b78a5e677df1899f648dffdbbbc937ecf2228e3db03809d677215f44c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('209008', '209008@example.com', '毕华忠', '209008', '自动化组', 'scrypt:32768:8:1$LeejzuuQSn0xYMI0$b3c9954a676a80703a3742a5376345a8cb64ddc89e1069fc59a0067915aa2fada074366d5cad7211eaf0ca5e7fd2cf51959a6047e8da34b2472a42b729031a5a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('210021', '210021@example.com', '吴军伟', '210021', '生一组装B车间', 'scrypt:32768:8:1$otmDt9tlZk674xYX$912b3cf86d1a6018413bfedaad31827b621d92ec032080a8b38114b17b935a6d33d6e8414bc1509dfda6fd2fcb38a72accae8bd95ca440c907e47ee43d172b56', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('212001', '212001@example.com', '郭建', '212001', 'PE课', 'scrypt:32768:8:1$QVRatwkoP1Q3Rgod$9d9c2b03d1c180fe71376669570033ba1d83b1558831af511115d8abb4a2093404a459d482738d60d6fd4a6707453f7d3d375a1225902af5df814d766c05b352', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('302027', '302027@example.com', '胡建林', '302027', '生一冲压B车间', 'scrypt:32768:8:1$tH7hR7JBtuDtPUJZ$3a392ca3611efbda900c0178c900f5426ad49599319217c9eef7d067611fd3203901dcb9ff5c36a32297d3e38e60d2bb7e82d3f91377116f3bb242db62f7898f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('302045', '302045@example.com', '夏广雷', '302045', '公用课', 'scrypt:32768:8:1$PmAbyOvxrA7Qwubc$840f5ae5018b0a991261571ffa8fa9ec53986a5e0246ef333172381b66c61b3a94428deb8b69980f26cf2f5e67b8ed7da0ee00d8ca966f3646f595c4c55d0762', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('303013', '303013@example.com', '赵登华', '303013', '研发中心', 'scrypt:32768:8:1$SDbnsDtIBrrZds5E$d7169734efea9f5c73d6a3b30d34beb2dc40484ed035dff699988d35d2cef707878f88202bf750f971ba6bfca4261655dfa4a7bea6ae81b146ef4ede262bf87e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('303037', '303037@example.com', '陈广香', '303037', '人事课', 'scrypt:32768:8:1$N8nQ5NsfIX1tzq9y$c130c5eb7305ddd753df7597e78af2513c89ca6ad3574df16b9cdf305f37455690d989fe1bde412c290f0b1f53122a099c21c9c004c5c62ba11dfea04336c9fc', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('303046', '303046@example.com', '张东湖', '303046', '总务课', 'scrypt:32768:8:1$osodyEfgnCqB8ZF6$22fbc30ba1ee503ab5f659b128d8e710feb420e5ca716983cd22fd613e1eb9c4157468e2cf43dd61a14b93500765ec1ab9304d411c4246843b3bccbd49f4ab77', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('304011', '304011@example.com', '任培中', '304011', '生一冲压B车间', 'scrypt:32768:8:1$nZI6VLtOzohNhv7G$e28d108c1e8d3f707bb80c1bd87e0eddc9fbae8e739c495bba78ec1a42bb5ee0e217bb09e1ab3d7690d66387826005db64a97387f4c4db76528d8bd21b38d1ba', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('304020', '304020@example.com', '任永标', '304020', '加工组', 'scrypt:32768:8:1$SIvKbSIAEGWb4nk5$b98f0b6d9ebe5f31c669dea559413c7a793df2c757588a45e851bf7922222705ba236bacedc53531e813463f7b49004c5a10377ecd4e92bcc641d659d0be3e05', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('304023', '304023@example.com', '张树芹', '304023', '品管课', 'scrypt:32768:8:1$OdDiGeRujzD1EkO7$bc870a80fed7a1d855d37678cb3f23d41b0f6b7acddbfb7e5aea8f697f9b3d9c684d0b9ce1c0c651e4a6d4beacd5682cafecda61d4cd18ddddac2a2575fbbe56', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('304028', '304028@example.com', '徐志江', '304028', '仓储课', 'scrypt:32768:8:1$Cs4xgc9baHGFRXtc$8e77ca594015d9da076ededf729e62475094347ea69a4538a9edd187e9865e325be61e3e721154fd939d69f69bc3117d842669e372381f453ce7437758340696', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('309016', '309016@example.com', '殷莲莲', '309016', '品管课', 'scrypt:32768:8:1$b5eXVnefiEMEhMvH$6ab7ee1fbcc0846e247b297ff1e2290f8a68331f5b4717173bb263a5ae621d88c36ee64f391939545d5152eca072a3b8164da20318c7b538b6d5e426041b8cdd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('402046', '402046@example.com', '赵琴', '402046', '供应链部', 'scrypt:32768:8:1$QDAHJOiqLUVAXy3c$cd27b0bbf06fcd99d76ed3695ca5a1b997ad5e1de05f7141c52ecd0627987eff367b29418bf25bb8b73a980d0406c0c6cbc4cfaf918fd0388820723e0fd2c33c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('402074', '402074@example.com', '雒贞', '402074', '品保课', 'scrypt:32768:8:1$q4tFOWrj7gF23iPL$6fda3fecc547b03cbd46dfc598f96dccb2fa86e0d55feb1f0f92d0a631402d8d803a1ceb53b9803ab1ed8b51cdd1169d7dd2699fe2f1ed7a6ef46aa19dcb2569', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('406006', '406006@example.com', '曹连波', '406006', '生一加工', 'scrypt:32768:8:1$nVWB6bwLg7aOHdwR$a3e6978e228f058cca28f7ac21e7fd25ef73d3003117fd940ba6ec46a5269b4673ab83499e7965c99225b82a66bc56b65180e22aa7d5aa71275a1508c1ad2a90', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('408117', '408117@example.com', '田胜超', '408117', '生一冲压B车间', 'scrypt:32768:8:1$8KDfcKg0VS8Fa5ju$859312ded3329d8c3eece99389bc6efac43252aa127a737a991b6696f597d1b5ae1ae5cecfd31530a292e1692697a24362be0e59aaae0b898bf22268b7f1779d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('408197', '408197@example.com', '柳光跃', '408197', '生产一部', 'scrypt:32768:8:1$99cHBq4iLtTnFqcl$83d75b17ef776a734c63ad4ea5aca860731220eed54b4afa464af8318b4aa1341cbdb59f3e77eb305fac910a38187d87d4559daddc4065c36d6f63e8543a9a87', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('502043', '502043@example.com', '翟胜超', '502043', '维修A组', 'scrypt:32768:8:1$NSw49SrbJSS7k6Bk$85db9f4577ab0e2b5c538274a3f59ca396a6d77a471a906f3266f46a7f759dc0cda2d91e193c75a082986db567040310cd65d18a5e23d5a2cdc893cd424229fe', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('506002', '506002@example.com', '李书奎', '506002', '公用课', 'scrypt:32768:8:1$lSXhcZQrEc8iY3fA$635b81db503493823d4179329dfcf6dd664e1518d1a2865a01dcb15b05a8d81153ebdb25a46f7b27ac85b9fd61e8f928b9f1e13c71fd8739efb9e7e2e698f9d6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('507128', '507128@example.com', '刘文猛', '507128', 'PE课', 'scrypt:32768:8:1$ydogZ4qpODJ5CIVi$caab497e8e68593501aac171b8204c4e99bc386740a4a86d25bfbcba6190b4707b03fc2a670b2766bea51bdbf0c0b2165161a069c103a1fd791bbaae46007405', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('507131', '507131@example.com', '崔雪', '507131', '业务部', 'scrypt:32768:8:1$WSYXBmLysb2ZFuFc$3c5cdd90780f271805b65f12adf7f2941fe7017e35d70bcb2c5af91d2a1b35ec6e51fb34a67a7f56cd3477bab9131e3b7551e1c2a42f2beec05547510b2cffdd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('507135', '507135@example.com', '潘建华', '507135', '生管课', 'scrypt:32768:8:1$E2LBzBivukGx7TGg$4ad43a8d13ae5f4064a3459b57458eac74a698dd9d3969aa2d1500ac0cc62ebb67c7bef50adb26eb495618af41f3d0e953a3f65a45f7749ded1a8c34dfd53ae1', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('507290', '507290@example.com', '刘兵迁', '507290', '总务课', 'scrypt:32768:8:1$siO9Vo9kSijuDJZH$aceb2733e245f52eed4b5ee3e4b3b8d4d9e127b5d0115d7490a3ec1ad6391107991358ea334cae79facfedd7b8a7d3660b35def461f5b029d78ad1be0faf57d7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('508019', '508019@example.com', '马恩阳', '508019', '公用课', 'scrypt:32768:8:1$96mka4XOrTQJUbcU$7363156dc66a66ad5f937e652a8ec01f6317c2ec51b1cef207ea4f37d6b6350ead42ef93c10701219d0e3ddfa6c8c9528c991104692e8ba36fd98e09503f7c26', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('509158', '509158@example.com', '刘曾瑞', '509158', '生二下料', 'scrypt:32768:8:1$hCayZJZ1oQutPbcP$27a40b2c91f84a5a2b8dd8edcac6cd7d5b969336ee128f51fc23a11cc9ad89cf92c038f58e7064b6c6e07fde63ecf5fd6486c9acad50d998f783a1ce31890f4e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('605002', '605002@example.com', '李新华', '605002', '仓储课', 'scrypt:32768:8:1$aE7h4cJey9ItT5su$719e12a8eb1b4105b95bda4e2e65bc1b0371c00c252a7aa2e9dd3fd1a5e1cc76e0af925a6ff33d91a6ea32d709ae99510f1677f830d0d266379d2d3a1dcd85d3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('606001', '606001@example.com', '张海林', '606001', '业一课', 'scrypt:32768:8:1$aXMaVTzYjMHWn4iP$911249a7ecda39e35ff38bf875f3aa9d4e207aa7def21462032097ddf7d3a4ddc1afd60e9afa2f7fa6e61f9f2971067d888ddd302f19533e409d4994ee5b4c57', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('607417', '607417@example.com', '常胜党', '607417', '维修B组', 'scrypt:32768:8:1$V6owN9nTRP61DWri$f71e0f8713758f99a68bba3cf43cdde9700ad3f21b585ae99df628201722083392845399d3b65572ecd30baf081ed66671923bd7192514b35106059216d1415f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('608220', '608220@example.com', '李忠华', '608220', '加工组', 'scrypt:32768:8:1$2Bv8Q7GhPXlohFdP$41590930061e87321524c88cdc8ce7f16deb05218ece82c4339e330491c0cb9bddc4b1d07d48f5e1e5826a180b7d42cedf0484e238171c980ac0eecc76125a4e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('703691', '703691@example.com', '杜松波', '703691', '仓储课', 'scrypt:32768:8:1$GBQIINZZlHBHWO6z$e7c2664e7a9f008c77a6f6ba7629903adf4953d0daee256e9dc31f340cea420f38c26ab5d744b27345b6929776a78d83e492e01f71f6afc02c98597b092b3a40', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('704099', '704099@example.com', '王家瑞', '704099', '研发中心技术课', 'scrypt:32768:8:1$0brpkc6FdWKN5y9J$1404c937726d5fbe578bf267658c26c2db3b1f8e883c4656dc4bca1d00cde8d6d51e2c96d956b305643e6e56262472cb8d934d78696ab677d492a2b85b94d1dc', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('705141', '705141@example.com', '徐超', '705141', '生二折弯', 'scrypt:32768:8:1$eX7ujwbwAsUamwzN$ef117b6b4cc7b1b77f35f03a1450fb033dd8d959cd27f921aeb71a38f7fe1332732a7ede53e75b8f990b37300d964d9d2af1b5849d37ac5bc86123e4a4634803', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('705352', '705352@example.com', '谢晓鹏', '705352', '生管课', 'scrypt:32768:8:1$rdtIcm5CeKcuQwxW$8618ccbcbc627c6ffaf5ed56708738dd9af38d321e8da7761fb1fdd3a2da6e93b5047ef0a625ee7532a308556f254b54ac9b94b28f5870d9697de2a63ab05f72', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('705353', '705353@example.com', '唐永礼', '705353', '生产二部', 'scrypt:32768:8:1$6uexyCRAJl4JYoUf$bfb82f7e12dbc9da9f5ca2a69724a5c5ee9e08d408d31bfce4a20daf201a5d5b5350d4854bb5be8291ed5e484ad1cf6284d1ff004a2d2acaa91fef4223499e1f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('706003', '706003@example.com', '魏宝平', '706003', '生二加工', 'scrypt:32768:8:1$iQwtjaGmipoRsdIB$424ace24e38eec50c7933e66d780490d6af07d01e20286214b71a86db92689c7dcd2704dfe81ec0b4eb906cb1a7a371eca7852350db4155451fd16815169ff50', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('708834', '708834@example.com', '陈杰', '708834', '生二折弯', 'scrypt:32768:8:1$ZWxLlfqe7HyRETz6$7cff6b2ca10486a04d3536e4fccad450f9d501c5ddb67ae1af5f8b06b1c972011097014de26dad1f315ac8eb8367bc971b049ce1b368d6e017b07b918ef883e8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7090745', '7090745@example.com', '刘江', '7090745', '供应链部', 'scrypt:32768:8:1$Zpu32VrB8tQyO7dD$513a98322b7f57356181e76049f89b725de7feb5e999c65f7d60d30c1bbf8adb7074c49e09fb9f316864f495d9f9b42b7d408e5a38f21eea1bbed3c9c4442a6b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7100278', '7100278@example.com', '刘本现', '7100278', '公用课', 'scrypt:32768:8:1$uvrTNQHpAygWEWBQ$62ccf5b440757fc1bdeba6bbc6085e195791cefcc6771babe2483799ed13a2c96539d88b3658db3e5af97f1d54d5d37112bf36701fc0ce6accc3993807de6991', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7100652', '7100652@example.com', '张小奇', '7100652', '生管课', 'scrypt:32768:8:1$8gS02djRSTMSFDVZ$362afddb114758c8e6b89688bb14f10c4943d159bc08eb6c864eba5f96746b4c69f336c22123a8a6923291c8e96ea65c8a77cefbc3679379e5b312c08bbc8e28', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7100757', '7100757@example.com', '李琳', '7100757', '生一冲压A车间', 'scrypt:32768:8:1$vRdjL2jTpXlQ3Fyl$1cf9254583e527d766ec7bd5ac317d5da1ec6127182a7f5d055e96f0509250e664f0aa171a057b04611112fee05846cb721f07ea34579f7c0b48785fdd6b8d54', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7110116', '7110116@example.com', '潘兵兵', '7110116', '生二包装', 'scrypt:32768:8:1$EXDoPZyxcps5xHyl$d06950d4caed8440fe5b73c426e4659e01bb402a8c3791ebfb8abaf29670ea9377913d028b6da92f120a2d7f97fe91a966f537e27a6e22e0a5a929c8911dc67f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7110227', '7110227@example.com', '刘秀', '7110227', '总务课', 'scrypt:32768:8:1$X5AuzHtmIo1K3OUi$ea2bae8fdfb8e2da5f025c7d6da502c7c025acd83bd1c90a376a6e7a782ab3d8bf4443cb4b34d5f0becb1e4f966b3a7b865a5d71ae955a485d33ed1a71287d1d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('7120283', '7120283@example.com', '全龙波', '7120283', '仓储课', 'scrypt:32768:8:1$nvg2JVhtaXmc6uQx$1c39b48339d538d8a198038bf3abbc204647434841a097ece355c9af3f16f3a1a151fdbd84557916fb0ed967738b023f19dc76f7cc5168ff908a52b40c46ed2c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8010177', '8010177@example.com', '李迎春', '8010177', '生一组装B车间', 'scrypt:32768:8:1$moDUZF1hTP4jA6v8$6bf54146e064d2b0f1103759f5e0aab5690000409eef639c0620d1b1cacfa02217cd20664d79391628c8678217145356b7451fccabf9a686515e0271a3549760', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8030177', '8030177@example.com', '宋委委', '8030177', '自动化组', 'scrypt:32768:8:1$1NwrN3SWUOVEA2P5$57836f0d30c86fce3362de1d97298046b15e5edadc2ba168b906779b1bb12fca64a0ced01881d849be58d8065a9546f652d4d5cacac84db1fdecb6b9b31aa2af', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8030183', '8030183@example.com', '李小丹', '8030183', '总经理室', 'scrypt:32768:8:1$HoWUcCNvrSNNo8Ay$22b026eb15704e8405382ae8121cf39e047a2d1a00390cc9fe3025920297969a8d0f2abe0a3a4971e1bfff44121096408b897057d056dd3e554dae619117ec51', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8040445', '8040445@example.com', '王磊', '8040445', '生一冲压B车间', 'scrypt:32768:8:1$zCjIXUmJLXQVXpTM$40aa7812cf28ec7a2334c8f94665e810c71bfcff43282438a154a7bc0512b285a3e25613e1a87e2b574cf65a596bc752a72de81ec1c389b75a54b38a0c4f46b4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8050039', '8050039@example.com', '文新峰', '8050039', '公用课', 'scrypt:32768:8:1$gJAAIfgxJflLOfF1$1b0cb19f1631087efeb7283bf1250e9aafc7d6a060825473480cb7965ba7a59bbb425fb8bf89de8e4b54ed21275c5705ad8397f709068ca1094f3e1aae8e4541', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8070467', '8070467@example.com', '朱丽芳', '8070467', '总账课', 'scrypt:32768:8:1$UNV6SiNmax1Dzqov$93d8baf8effa1283045883b34f23c1994a2bfe369cd222dda7e1df563fb44a1b9cbb0ab4b7de5e501f348e99a314db782f69db11ed210088dde746800c33b4e0', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('8090515', '8090515@example.com', '贾非贤', '8090515', '业二课', 'scrypt:32768:8:1$pWZHIFdOhghqfAAB$c43418a753ecc70d00e9e998de98af1a4ef5749f615dde3d23c333d6d315bccfafbbbd4266da855b1a11d41d974a6d2c451117f6b0fc0822c0b557af7657c768', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('9020190', '9020190@example.com', '武守庆', '9020190', '生一组装B车间', 'scrypt:32768:8:1$KD8afvjqe1vPq3gG$6fd2f8cb09359349c0a525cdf35f4973cf865976cd46f0662ca469cffd0b4a7a76dd17985919d522633f0a8e1dff79bfc99e906b0b6a66895ec5e208c5a58c44', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('9050447', '9050447@example.com', '徐雷', '9050447', '生一组装C车间', 'scrypt:32768:8:1$QHiCJD5G7bRoaV7y$6f2f7509e743b4122f8b06ae7526a12495b0a9bd6dabb14f635e8bbb3d52ed123147a83755c7624992eb5b005a7b45e2d912e96453c9b87bcbf3b7ac59893226', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('9060298', '9060298@example.com', '潘辉', '9060298', '生管课', 'scrypt:32768:8:1$bALUPsz4gDmsyxjY$8d02de5ddf7401b6d0f99fb4179e46d5d5ec273d76bf820f48c680f2e6cf55a51ddcdacfa9f4582cfed0ec87243d5660c6db95ef3babd0b69400dbbe2476cfd7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('9070040', '9070040@example.com', '吴志强', '9070040', '生一冲压A车间', 'scrypt:32768:8:1$I4lE6LF1Zq2mUwdp$a0db5c475e350caef062a0e6aa3875b5c7922a484071f3158139953cbf6ee9183eea957fe1827dae83ecc5f17502ee22fda4794423107ed05ed0b02ba537dcfc', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('9070234', '9070234@example.com', '赵祥文', '9070234', '仓储课', 'scrypt:32768:8:1$l1CvHS4e1Rhkb2mi$294e4093f22e7458a8b1eb1a72073429fac2c9fffd3d2d5f45134bd04d8f834de1cf945ff916ccb2aa5ef5762c84a28951d8e38a59a60a2d19d7b99d7a44ba06', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('9120197', '9120197@example.com', '卢强', '9120197', '生一加工', 'scrypt:32768:8:1$eXXY004LUuEBz3kL$ccb358ef06fe0675aa6acec96be6698fe90731b88d9960ebc2f80af369a597459a388811be4dc5f7a322c727602101d31141029ef17307cb2f1ef436c5214c55', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('10010337', '10010337@example.com', '周井兵', '10010337', '生一冲压B车间', 'scrypt:32768:8:1$icO8NEZ0CoUeW98I$e053d5a4506cf22137c313a63689b1ac48f6906603949c3d7e498e38bd5adfcd1bea68de37d702e92f068b92f3f60041b4fd2a0ae54d5ab14122e86203c28192', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('10080188', '10080188@example.com', '陶莉萍', '10080188', '业务部', 'scrypt:32768:8:1$zgDO6DTfyRwWtyhF$830e95063579c47d39406d0b7f97565423a52208c37c4443273490b139b10e5560de19b3fd2469cd4bf1d0fee071feda5147cbcf49518649f68892b5bcbff17a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('11010204', '11010204@example.com', '吴桂霞', '11010204', '生一组装B车间', 'scrypt:32768:8:1$J5MBf3vKsZx8x2YT$baac70e319e991611704c75a461be800c6b5c1f5a48458d3da46f113de177ac21c6b3cb433feb0a1772608081aeda12d4246716138ca26212885db8bf8a469c7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('11070381', '11070381@example.com', '韦荣富', '11070381', 'NCT工程课', 'scrypt:32768:8:1$zccyQ7SBvdeCSJ2i$aaf65993992a08496520044963f1cf3c18c7772dc3a044a9debfc2796fae385a84ca6e3c7a598d51f5b562d931c45078095d28c662e9bab1f8eca32d5ffdc6c0', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('11090752', '11090752@example.com', '张香丽', '11090752', '生管课', 'scrypt:32768:8:1$1khM7p2Idy5RI6Ys$9e1534495aad2e8fcb40fe9ef8b6a818465472a5c5823274227f013ec27015dfb43173770a23cfd5d86ff04ab02d24ceb28d1b279b005ed81cbd52705d32e586', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('11100690', '11100690@example.com', '李正阳', '11100690', '生一冲压B车间', 'scrypt:32768:8:1$dfgKolqJf0aC0LPY$7c5cc748a80afc83d6e86ea1373d83dfef99995de7a862f84133c75e5e38eb4fe7eaa5f7ce70cc9589ab859d525d7354d61cb50be745d74bd53a691667648fa8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('11100729', '11100729@example.com', '查培波', '11100729', '生产一部', 'scrypt:32768:8:1$HbzDLw0zkPLWk8SX$29ab16b1da32b34c37eb817379792327dcef9760bfd8ec6c4e4462580a04a2107d4bda42a2ce865928ad3ad6ed3cac1025a645dd14a6a7fb5d143b0d0d07d1f5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('11120432', '11120432@example.com', '刘勇', '11120432', '总务课', 'scrypt:32768:8:1$0zUk9qkTvFqlVkoI$6a7704edf78d57f727d6c60a16bcd4ba210f87701a9e63b2cec3d59d215c308856805e4ac53c65d90346b6c26a7a3f5113cafd59b9e163f77cc48d01ae876c26', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12020356', '12020356@example.com', '程盼盼', '12020356', '生产二部', 'scrypt:32768:8:1$f8dluYxhQnCIM9hX$e5d1549bd02fd569a2113d2d3ad155d1d1df665b4d4f4cb10a817e9ba6c8bcfc511a3516883986e63eca43ebb481d4ae104f751cc73ac88d84bf40a28b9dfc48', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12020399', '12020399@example.com', '苗海霞', '12020399', '生一加工', 'scrypt:32768:8:1$5QLRY6S76EZLmjQi$c1bc6d4e42b890c47c1c0488fb4132a2c00a57341f5c74bb40496eb44bc7bc2009e41988635794b2a1e26bbbd72a483a93dd7c1ffca3c179576bb09e56ce50a8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12021314', '12021314@example.com', '曹海周', '12021314', '生产二部', 'scrypt:32768:8:1$aGx68Zozr3ql02R4$4b4d0c62e45e9fff4c4435ab3840952948fe9ced75f2511e6eecd55401d6e48e047e4d770595f3fe3079a065fcbaeecf66e08c1dc6ab9922761f0eb631786199', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12030660', '12030660@example.com', '丁宇峰', '12030660', 'NCT工程课', 'scrypt:32768:8:1$JjQz4fPPdGZleYkV$2826a6bcd1601fb373534d2c6660e153fec0a43c16ce75c3f975774b7e8be121812da66521fbf8ebc14f87909c4e0217b96014b86d083184efee83488bf2ec2a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12040417', '12040417@example.com', '李东', '12040417', '仓储课', 'scrypt:32768:8:1$YYeh7HwSUlf8wcSs$a60a2d1999cf6337814b607a60667e460b734d4ce4f9a20989982eca4b06ad7a52f23ea6801d65fd7aaa5456b1d2ac63ba73a522faf3a8c115bd53aeeb97b961', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12070189', '12070189@example.com', '杨为强', '12070189', '生二加工', 'scrypt:32768:8:1$egiVTdmg3DycXa4v$139eca698ecb932241383847a2eddf244b5644bee19bd9106fecfe353db7c35a89c354f67cedc11ef0c2ac219fcf98015170cf8cf21b0b344b548f2d9c53caca', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12090453', '12090453@example.com', '马波涛', '12090453', '生二折弯', 'scrypt:32768:8:1$SJOjvBGWd9BmUGwV$a86d05fcddd7f9e78678678deeec14470c93bf68864b5bf20bdae8666753e696ceeb2d3728d6934af2258c15a7a9a7f1ab95d7432610dfd3ac61fef5ae53d3de', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('12090501', '12090501@example.com', '边伟亮', '12090501', '仓储课', 'scrypt:32768:8:1$WdTpxZRPUZVGxzml$bb8671c13099632baf9b11c2e8088686b4beae947d0cd8e6b907c5ee64a02ea7a96d2eb9af7b1924f255a3b81588e05b077f08f141084a903cf38a79feb041e2', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13040172', '13040172@example.com', '李磊', '13040172', '仓储课', 'scrypt:32768:8:1$7DERPzCO2AacgFjn$baab78ddcd0d39eea2090294c837e472f6d38dea8bb544de3e8263763aaaaef95f6d59efeaa8bab6654a92c9cceca01076d75237fcd54b7219dd2ae0b330cdb5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13070377', '13070377@example.com', '尚佳', '13070377', '成本课', 'scrypt:32768:8:1$T6o5KErASeWzbbD7$083bbdd583debc57c98e9c56618e14702fdd80c736252bd04e2b56d9e881420f63dcf162433e9161a9778aedf4c8c5fdb495e3420109fe839f2bcac53b646237', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13080115', '13080115@example.com', '张进喜', '13080115', '仓储课', 'scrypt:32768:8:1$UYKMXBfURJj6X2tr$ad1004a215ff278251c055be64ab94dd57e712b1fcd7814b789ea7271e8fbb033f6875760fe54507b927c1dc34d347ec2867844982a238754d28f9c358943dd3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13090195', '13090195@example.com', '李闯', '13090195', '生三液体涂装', 'scrypt:32768:8:1$SugNqM3nuSfPdOvr$0fd6501ba1f5ff3f37990cf151b741757b5a3e664d970e08fbee0629fe4775990a40d43ecfa0e97aa5ca4e3892576e8a5122d7a34a6a5bf551e6585564eb067d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13090494', '13090494@example.com', '沈来琼', '13090494', '生一组装A车间', 'scrypt:32768:8:1$zEeocZ7IA8Cn4WOi$9594a613a65b241a759de05e4ba7263081d2873212d4caa3fca01b4bf6a4b0ff9531a86a3fed98597d641f7a133af15bde0130f3cde78138a840479eddb8a92c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13100147', '13100147@example.com', '程心意', '13100147', '仓储课', 'scrypt:32768:8:1$3oFRWbZS4SzSzZBZ$a63084a036e8120b9569991868d15a20a3b1be656254156c2e32059870d587f9203f93c9ee31c8a4aace95fa194941b144bfe3a94a94faa5ec1a64a82ca2db7b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13110328', '13110328@example.com', '张强', '13110328', '生二包装B车间', 'scrypt:32768:8:1$UAUuBk1MVKYSmYvO$357ad5154751fb5e0e5ffcf68759df3bb7599eebc8893f347b0efe644e921325938445fb189ee4b1e4f40e4378b989738aae7acd7b3eed54b2a7ee6c36973f24', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13120147', '13120147@example.com', '夏云辉', '13120147', '液冷组装', 'scrypt:32768:8:1$C4LUm3wgFdJkoQrV$5c608ddecfdc565e1d8558e8c3cffa5f1249ff85c2b495016e59718a36ad71985e0c280ddec7c425438fa5840da06b11552f1b18c9ae696ed436a3c1b1e70a27', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13120327', '13120327@example.com', '杨艳', '13120327', '生产二部', 'scrypt:32768:8:1$dfbJsXHYQRBtED2B$e52251880c6f6489447501c0e697ae412b4cd10df8fa37e8d93e0d71db45cc753d66cb88a99fb7d98afcea55575654cd6a13424bc54e3b87397553e06430ef79', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13120357', '13120357@example.com', '谢正梅', '13120357', '研发中心测试中心', 'scrypt:32768:8:1$leFyA4qzqvuJHaom$28d3bf935ab2bc5654cc2e8e891149c0cf9ba352cd3100bc55f153ec052b2a90f7c7622bcc4714320dcf6c759cda934b745644221166747c4ca7e3c35ba5874d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('13120387', '13120387@example.com', '尤程程', '13120387', '生一冲压B车间', 'scrypt:32768:8:1$5BjQvMBQ2AosHF6W$7fcc14c6af2f2c9ac83f64b2568a5e5508d18c845b3e72ffedaa4c236c78ba8c859a142bfb6e3c917ded84455249025ed999351677ee3fbc8867706a4e3335a3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14020567', '14020567@example.com', '江三平', '14020567', '生一冲压B车间', 'scrypt:32768:8:1$J9NM71dT7cl8wvhi$a5e04ab1bec5c91838e2ed398abfeae3967c3887aae53cf3f04cabe2fe43ac380c5ff6f5c8c276ba32d0a3385adac959967ccb527511479f110aefd84b75dfb9', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14020868', '14020868@example.com', '吕伟', '14020868', '仓储课', 'scrypt:32768:8:1$I3NgyUTXdaUaEOAC$dd55830adc59b7cd78a648c0156430edf3b4618d929d3b9e156f8a74629e54de301dae7a897e656a4cb500b39605535b733066812272df7677283a4fb9cc900b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14020877', '14020877@example.com', '黄红文', '14020877', '品管课', 'scrypt:32768:8:1$NfEZEJdHm99JU49L$091dbb1e52cfa372c7e539a4222b1d428ebdd13cbefa1149941a0a396a77c084ccb5a1559df27f349f1bf40950ff32f10990673ef14331d5ea7e93261a672de8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14020892', '14020892@example.com', '干云', '14020892', '模具设计', 'scrypt:32768:8:1$KdUvCEZWdGn93UdX$6b330d603395d948fed090432210d41ccebb161ddfeff2982240f9b7b34f7bd550a9e80b8adef5890007dd759034edbc700dcb69a50f69338e2e22ec23b8e4fd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14020935', '14020935@example.com', '徐秦彬', '14020935', '生三液体涂装', 'scrypt:32768:8:1$tBJBi0QaXwV6uyX4$eca329848c7def91d6ebc30784133bc51ef7535e213173923596d614448abde4d3fc17c7f1df1c91867e6e20515783a0393f7f5c0ee112393060ce85ef7c8ea7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14030062', '14030062@example.com', '许允德', '14030062', '生三粉体涂装', 'scrypt:32768:8:1$91t1NFokGy8Htwvn$650672a5e0bf20d8ed01131d3dc0283bee47ff9a216b01e20f515f7bf69086f369a758d59424d53bd5f67854b217317bfffb6494ad0d9d522729a9432c1108b6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14040008', '14040008@example.com', '叶平杰', '14040008', 'PE课', 'scrypt:32768:8:1$7qWK8lRf5fPtm4BC$e6c3cdd005b9a8a4d88af352a6b20df66098bcccc960d387a51d8bde76b15d2f7e2a1b0835ae74b03cf986ef73b9ea5099571080c577623d75bc347a92a0f126', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14040017', '14040017@example.com', '范勇磊', '14040017', '生二下料', 'scrypt:32768:8:1$uvWbrdqDu6XmAF9E$370b00363973dbe0b0b9f2cb8d16a15e69f1092ee324dc6a5161493958d4f925cbd1ff238644d1bd66156ddf1e3979e04dcf5cb28527a3febbf0520b4676d64f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14050136', '14050136@example.com', '双荣', '14050136', '生一组装B车间', 'scrypt:32768:8:1$C9bThRMvyNThtOgi$41405c56836167b0c2986992ceb542ee5b754d101b34ee8ba210a1386ffa92ceb523d40ccfcbd48766bc87b295025331e48470662af77a05eea6c01f1b5ed757', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14050369', '14050369@example.com', '周永江', '14050369', '生三粉体涂装', 'scrypt:32768:8:1$eDJ3v4lAyOzmpuyN$545f4bed65fea0c8a6882ce3b0b2457cd1412898a5dcd8e51f35c2ea5eb3724948582e9741a703de29e494ff1c2120fcaac84b1dd8ba5ff5256238e157b60f33', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14050494', '14050494@example.com', '吴文君', '14050494', '生二折弯', 'scrypt:32768:8:1$VGWI7TX00WhMKjYX$d0bf51302f1298bf81d77cb50ab632f31d7598656c45d2e52bb06b7c4279be911f147b81f1d7f90a16f4b21027e2c6d9f1d079fdbfd8df0145502f9dc54d11a6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14060051', '14060051@example.com', '高超', '14060051', '生产三部', 'scrypt:32768:8:1$3abZcBygNL6UWlPm$97a22a7acd8885c6fb53a53f0057fca4bb6f682052d900e5582f343c19b65d6745ec846646b85f0648aa92759a10c15379cf623da7635af090bb226701a0a4bc', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14070571', '14070571@example.com', '胥付合', '14070571', '生一组装B车间', 'scrypt:32768:8:1$YGhSo9haZVMZmWtK$5b722ab2c943ed6a97d1fe37317bf55a9cd8549bef339573b5f373256423efe9c60b32d0034706e0a17b2c6fe9bc7bb923b70cf73708080d1ffd524e6194d60c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14070572', '14070572@example.com', '李素真', '14070572', '生一组装B车间', 'scrypt:32768:8:1$pkPCgti6w6Vriuhy$261b169785e031ab65257900b0df00b2f7f14127860a822d8e979c0d98c652622a9e08dbfd6a0a85728f4dbd1788d3a2f745261397fe81bcb714d5c2edf91afd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14070588', '14070588@example.com', '武模博', '14070588', '仓储课', 'scrypt:32768:8:1$xWoAerG4ldYff0uZ$96bf7fae6d24465dfb3696831251c7115082a141308bb67a78e847e61334cb306ae859ee735f92bd07ffb0bdef78617dbe93bc57e1444f0701bd46dbad03b077', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14080161', '14080161@example.com', '王婷婷', '14080161', '生产三部', 'scrypt:32768:8:1$z37qhQboF0sAn9Or$c6807ea0e73c11e3e753426527b696d8857d7aa2dc84d009e5295373cae6e2bfa8d0b18089b100645dab6114ff3de6ad025ef9bd0d6f029b59470236fb1f0534', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14080379', '14080379@example.com', '孙成欢', '14080379', 'IE工程课', 'scrypt:32768:8:1$k1Ybc39mMGfGd9BC$c052350b0430491537a8134413f399a7b7eb5e71e8556b226a34f6c88ad173c9220f525f0f1b373db1e092faf4cc1ed55452225978be8df6fff36a0d62401b6a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14100422', '14100422@example.com', '薛岳', '14100422', '生产三部', 'scrypt:32768:8:1$MvFGqpnXulJmO2LO$96f5493d6b86828fdfb23dab4bda60e847b7ce4506b8a0222782fa5369116dcc4e2d024d6cc58360709f90d6199b6241498345d8f4e61ac61619148ca3c71d90', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14100527', '14100527@example.com', '徐翔', '14100527', 'PE课', 'scrypt:32768:8:1$dsTvhArY1enDAXKN$fa1d96dffa09df86b9dd74dc4a478debf771be0a62493f42bb0d67340f35db3e17e5afc762a9bad33307d23c590bbe23b1e193ec48d44031b6273c6d1e888d2d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('14100793', '14100793@example.com', '李宁波', '14100793', '生二下料', 'scrypt:32768:8:1$1N39yMfbWfe9xU0W$1d04758fea70417b09ac676e050103d0476a91d4f24d1cdcbffa452528e5266a05972fe23a679f37793adbc97f1a585e0a6ae78c93dff8058bbffda723f66fdb', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15010408', '15010408@example.com', '占水明', '15010408', '维修A组', 'scrypt:32768:8:1$xGR4DYo5Xv2m0zF2$a9220dffc3a9e6da4c10cd478996c6b9fb5b98a6d4316a9d2f1180e350a92b933146236bd7c272d60ade668fae90ee659ad4eeadbb5890abb6c0902e533526f8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15010464', '15010464@example.com', '李娜', '15010464', '仓储课', 'scrypt:32768:8:1$e8a4cplUxDLIjN5h$1c63a871fce64e0cff17c5f7d3e68e57e6a24dc7f8295f2e92c12f572b1b8d163d021b9e99909a664f20faf2b70b2d16396ae82cc8c1aa4dcb043dd1c4a9095d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15020049', '15020049@example.com', '王申申', '15020049', '品管课', 'scrypt:32768:8:1$H3wPIZAMC7VC4l7K$f0330d2765c6f1639483811054542da55d502c535b62eb2f014833b2019f5faf97c9acb2d5633d4a06df7b5462375fafdd5867b38aafda756b911e452d34bc80', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15030018', '15030018@example.com', '郑彦红', '15030018', '生一组装A车间', 'scrypt:32768:8:1$Qb8XYBXkCOhzxGox$da42cf519935f586e043053214ca5a46b14e37be607e0275a2fb7ff2767bfb370b673b46e93896bfbd70a8741c5d1bb0326bfc04ceadb2a1d845688cef97cc10', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15030100', '15030100@example.com', '张起文', '15030100', '生一冲压A车间', 'scrypt:32768:8:1$HKjpjNK0uvTmcxHP$3136e645e9b2ffac5dec5882d6fccd6956437618d73f14dd1157adeb5e5de293a7ed8a2e02093412ad8df34d2f1d892dd5c5065c9d7f7905ccd2051314bd1185', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15030174', '15030174@example.com', '周亚斌', '15030174', 'PE课', 'scrypt:32768:8:1$B5sEoc3bR4M0p93F$1ea3da3fc2ae3443677d379ad9edd594ed89d2000c8fead85364784f54b938d42bbc67ec70cd15639b8252215e96311a6d2269e4aaef990f009701d9b45466fa', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15040016', '15040016@example.com', '姚倩倩', '15040016', '生管课', 'scrypt:32768:8:1$dn2aHKW0FdeVRHyW$ece48959f2110f7e92937ffe13ef978b0ca996449404acb8f3bb0e80ddf5b2c6534a3e290031a79d72e07cc29a158896577d5797159ebbfc1efa4d5e233afbcf', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15040094', '15040094@example.com', '毕桂兰', '15040094', '生二包装C车间', 'scrypt:32768:8:1$8jIkrIoH2yNO0gMw$36a41f6673978e23a7ffa0f61e091ae1e5af9c430f44e3e95ab5831681183db16c75fb5e45a58d16ca360181e997cf41f5b241ac97689ea16ccb5c3aa9f7018d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15040157', '15040157@example.com', '唐艳', '15040157', '业二课', 'scrypt:32768:8:1$H71eEeREckP4KIvP$55c4ff1a6dfd774e9938c2890055162e155cb74132ca8103e2a88e7b4873e873852f1a0ae0fcb658909bde34c3b7672f5167ed70c9a28672120089f1d43ed91e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15050006', '15050006@example.com', '刘斌', '15050006', '生一冲压A车间', 'scrypt:32768:8:1$BvZIR1ozCiV95W4D$e4de187c14f861c73fea4364a3dbe3d6afcdbae2327741039610f444f428a4b47f345df40c895ec811adcc6a4b4e6981898f607def490b2f640ef04213cda5a3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15050034', '15050034@example.com', '徐新生', '15050034', '维修B组', 'scrypt:32768:8:1$SakUloRDuA6AKzPR$933a80f7d833a8ce454cb02c2adf443ef22bb4d194f2a220de9691265f4a9e475ecd44c7ba478ccc48aabb430f91e208518e2b5ca79b8ff1c31bf31408565e26', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15050099', '15050099@example.com', '王素艳', '15050099', '生一组装A车间', 'scrypt:32768:8:1$FSEmKQit85yNKq8a$3a9992c6acaedfeb668f7c7995a5f778b288cb1d30bc5ad50f8af4b1ee63ae791a68019a3ba2defbe278cb80161c894252f8b4ff9f6e03c0f77bd834b87e680f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15060220', '15060220@example.com', '胡福才', '15060220', '维修B组', 'scrypt:32768:8:1$XFeYeROQS6DKQ6Lf$f4a7caec15d58615fdfeac25820d1c7e0f5584a5302023c905cbe81d748c3a464092c5ac098b10336ae1f72b8b8a27e280c6d4ab375d6918a5498528d759d598', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15070046', '15070046@example.com', '王晓辉', '15070046', '生一组装B车间', 'scrypt:32768:8:1$KGGvV4Umnv3AqcPo$ac8592006913b066ec1ca101f362552c831492c4518d8e945f620dcde3d05079c79cd03b725bcde4b67a175332f710491ce6a67eb8cf5fea27dffb34ff6bf8e9', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15070145', '15070145@example.com', '苟永红', '15070145', '生一冲压B车间', 'scrypt:32768:8:1$lMWGIEspx2fHYRyS$009d142af5de7c875b76b2254075ec9923cf1ed9364ab9c512e1c3c5d88f9d45d4147ab1642bbb1206c906e811420a6ad733afc3a3cd94c53014e077391d209d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15070211', '15070211@example.com', '吉文博', '15070211', '仓储课', 'scrypt:32768:8:1$Xa6PN4rnDmFUf0DW$d5a0685a6b9cd59e975a33b0f063872b9e0310c5da40e5debffc4476ec29d411b690219adb320154252bf27a7c2a501c0b1434d6515ac7a4c28adab71082d817', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15080327', '15080327@example.com', '常永贤', '15080327', '仓储课', 'scrypt:32768:8:1$TUaRMLmtSLKB4aBS$820ae4fdf117087288a447788beaaf1e370f6a3c2554afc28d4675d14e80d89d0f2daddc70fe951e167f86105380e983ca33fb36408445e7706b8ad323af6b3e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15080332', '15080332@example.com', '卫宜飞', '15080332', '生产一部', 'scrypt:32768:8:1$FbwkqAFkMdeioR4L$911c7691592b08547058b1508a0a98999a322e8164819cc65e7c4f650477379b0f2dbfc872ea8771ae6070af7dc740fb396875e9ed00077e2151bcc386bd3824', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15080338', '15080338@example.com', '韩嫚', '15080338', '生管课', 'scrypt:32768:8:1$4dZU1qk3VvLS8C2N$0a4eb16be1594de93d97eb4775df3a8b3914479ccadd5bb526afa8149020a7e692a48ab88c29e23eab513ff38b3304f8a6203705e515a0ad21dbbbd4cdaca770', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15090002', '15090002@example.com', '姜春雷', '15090002', '生一冲压B车间', 'scrypt:32768:8:1$JwXe8AS2xFmKlTQi$3826b79247203ec86524c9d903c2e0700e28fe0f6aa20eea0b62f9c61e1aa0ae454346c91dbe46e32c49d73b4c89cd4f60a2de45dcd81a4a476a1a91243058e8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15090009', '15090009@example.com', '李玉红', '15090009', '生一组装A车间', 'scrypt:32768:8:1$Jw5PeDXcqEIKgIEe$1580558e30feeca15e2b3d1f4483d0ae5250c1a6281fa7005b75b3e8cbcb76c546a2f87e699461aae61c473f1fb7ccb881cde52d43a333c863d8f9f2793daaf7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15090105', '15090105@example.com', '孙二涛', '15090105', '品管课', 'scrypt:32768:8:1$9GoOi91L6wQLNRlj$70478736749c548fb7861ae720aab8f25550903c4128ba80da478267cc8bed9a5d43bbaee0c5579b181c3814a2f20c15d3c6f5a3aa0914260e2d0563f842dadf', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15090106', '15090106@example.com', '丁艳芳', '15090106', '模具课', 'scrypt:32768:8:1$notXuCYjaJkfwbov$300be9309048c42b5da36d4d036b564759721fa1acda503a55b5fba6a413062b636789ae21bf73144a2fac98230e656d0943fc18c611795e68389888caff4567', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15110043', '15110043@example.com', '石航武', '15110043', '品管课', 'scrypt:32768:8:1$ZAh6YHYUWby8ZxVv$6ef6224e751980bb4a03db58af352b079b72f8b7858dee9775e6914562c7ce7b495eb7e64303cae05402d2b0e50110c84597116660a0c63548e15cd8981fbe0b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15120002', '15120002@example.com', '段涛', '15120002', '仓储课', 'scrypt:32768:8:1$hsuXi0tlmk6wFQxX$d8db4d75576949f84899071a00f1f0f975bba2eb6f1f0cdd392e015e935372fc6ad6181b1aad67756c7563bff79adc2ed5de68d647993c699175257d3ed8bfc2', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15120016', '15120016@example.com', '吴金林', '15120016', '品管课', 'scrypt:32768:8:1$mRrks3QnLyLxr4K6$e13a483fe1d593e93cfe9a8a719087c3d3f940b9a760739769bf8b3492370710a40a55e55f947b9c781e7eba96a5578b1336a89b0d28939979bb4427768702f8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15120056', '15120056@example.com', '曹艳辉', '15120056', '仓储课', 'scrypt:32768:8:1$IhBua8aV5WTaFQes$3f163f1afad8f5c318fc278066cee65953cc52ca561c09e218945ef93a75f74b85fee7a9b399bc695cffcd4f8c32313218e092d11ad1a0dcbada99a181e7310a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('15120168', '15120168@example.com', '赵雷', '15120168', '品管课', 'scrypt:32768:8:1$m12Ndvk79Uq93esL$2fd2286be1110d11e0ca1ab35f1802996c4ee1d84333b7cb2ad6ba4fe935b8adc9f66a07556dcc5bb6ac5cb6f27968443a426707e91dd11d61ede6bb64b9daf1', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16010058', '16010058@example.com', '李三卫', '16010058', '生三补土/打磨', 'scrypt:32768:8:1$dmsqGvBeM5bSqFCj$654db4b31d7bd17a6f5ab8db4af8aef38ed6e807df082b5d9b5cd63190d1a0fdfef708fd544df880d9404716fa320becabc3bebef6e6c831ca9d9fa43d09a750', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020081', '16020081@example.com', '张京', '16020081', '生二焊接', 'scrypt:32768:8:1$15mga5ARkZZ03wwW$97d75b6c612b38434b2680da7fc5640bbec4c8a96dde63e82523458179772c5f7d3eb49d60c548e4043ac01bbd42a598a70e688b51ca72187a921f3b680e6f23', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020130', '16020130@example.com', '杨贺龙', '16020130', '加工组', 'scrypt:32768:8:1$L4tcRsnCScJDuzxA$17a2b78ebfd22cdb08f7d1a0e0ceb513a705c37d877e8a77963a5997079ad5baaa2d65aac891b8dbfc04029846a646f35785743fa4fb327e209a480dd3e33ca7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020223', '16020223@example.com', '吁养峰', '16020223', '仓储课', 'scrypt:32768:8:1$rSWFW6F0FWzz3JgI$9bc7043b869249da8c152039cd986ab59783c83ce954b38cf384ad648942f25324b7e9b5b03d28e5dbbeffa92b069313198c76efed0c87a487ed81deaa893a3c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020229', '16020229@example.com', '周双侠', '16020229', '生二包装B车间', 'scrypt:32768:8:1$Y89QcLNAeoqJJo5F$65c0fe4c92b6f68af917f5cac66a3c1a0089dbb2fda826fc7b2281b48395a7d5a4206752407b92c742e2aa5504e829386c1dba845aa01b12d290cc0bdfdfe236', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020230', '16020230@example.com', '宁嫚', '16020230', '生二包装B车间', 'scrypt:32768:8:1$0hUvOOqtVaUQ5f0c$5930a79d3ef2d8da3e941a7a156fafc9fb1366d5069d875d72879f2a5fa7f9769d8091a2b89f26a785ecd77afb1d4626cf3e9bcf1c30b743489416be4d1c6bce', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020231', '16020231@example.com', '刘光强', '16020231', '生二包装C车间', 'scrypt:32768:8:1$LcXaTNrcsyobiAFs$17c0f04a92928550848bc900e7275cb7a499e83c9ebc4b89253569cfd9f76919bc905a35aab7319aafc6180675efbc36b8493970380798f20eeddbf9fbf46a6e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020251', '16020251@example.com', '张贵', '16020251', '生一冲压A车间', 'scrypt:32768:8:1$n8MNSjPxfQTBJb7B$13c11632560ed46687675d48fd72e7aa1c2fc07ba47af5e77adf350bacbcacfe3d17c6d45b12552982e81ebfd0ab4416eb86ac328d52806c8d0599c732b0925e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16020271', '16020271@example.com', '顾来民', '16020271', '生一冲压A车间', 'scrypt:32768:8:1$dMiYA5ZUudUVcZCz$d0a6587f2d0fac4dba18122bdee70de395cc064396aab4ae80aaac39a6ffb34da21906485312d43bedb05fe9b17c62fe726ed2b7953cb368b6c32e38189d836f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16030001', '16030001@example.com', '王伟', '16030001', '生一冲压B车间', 'scrypt:32768:8:1$TOQZfltWodEl5skm$00fc39fc87575d85136258413433aa99e79ae8f784e814b89d344cc5996c76c77f86e60c8fca02d52c1ace0f91ae95d7c39b0c38a6c84f2c8303ae39af7cc1ed', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16030100', '16030100@example.com', '苗继伟', '16030100', '生一冲压A车间', 'scrypt:32768:8:1$8XtC261YVN79TXKh$895eecacf33e8236d712a5111b0632f367ff2140783f506d75506766612948b2bff96acc8809e1b1e44d541eda3af6237911437e6fe557f9b15ef59871790160', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16030116', '16030116@example.com', '汪斯硕', '16030116', 'NCT工程课', 'scrypt:32768:8:1$okPX1Xzy1qiU6Mj9$435ac543842836aa594efb39635070d0fe6b764cd6d8a8615fa6e75a5926a2e324fe55e9e76d335c7119b6f4749e2b5965ca77027bd407c7473bdd6c52b0199f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16030117', '16030117@example.com', '王士文', '16030117', '生一组装A车间', 'scrypt:32768:8:1$v3w47BfeiIe0PwVa$9725d784e0b952551c6622fba6ea1e1ae3f6d91da3751290788d0b1e8b2fe156b287ead810d559459eb2720b0b1974bfcd6a9591f52fcdec1c1bb703094ee36f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16030164', '16030164@example.com', '梅佳佳', '16030164', '关务组', 'scrypt:32768:8:1$isAdRcu0e70iBuhK$5c19e1bfb31ebcdddfbf0fb8e7a5f0882e1b402eac176bb39bf69cdd3e1326552508b24c6d1c98cf17b4cb4cbdcffd040db85f87e84d6e6ba7ce75e1e6de4c66', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16040056', '16040056@example.com', '朱文炳', '16040056', '关务组', 'scrypt:32768:8:1$ds3TQjfNXuW8enDk$f8ecad7b764abcc28a3fac938b5ce5541535eb0e12dd2f408630a41edaf7fba97fbe5bcbbcde6f339333a60fb9cac4ec55d593bd9cb87ba9353826d9a2e15d42', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16050101', '16050101@example.com', '刘亮亮', '16050101', 'IE工程课', 'scrypt:32768:8:1$ydvxfuLPMig17QdP$01d0bcb3f785f4d4a3dde73c5fc4baf89869aa1d072dc74e6524c9d2d2eefd4574e0f6eccc571762e87b228c99eb29c8760bffc213dfde2876ab9360e1f57dae', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16060111', '16060111@example.com', '韩轩', '16060111', 'PE课', 'scrypt:32768:8:1$iRrYreDw99Njqtbl$9e800f76fa683c486dcf5469b395fce2c7b407ea2627c9a7eac65d009b7650640a3b6966c748eefe293968684cb6cde437351ecd6b53213a6c8f8790b226c19a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16070041', '16070041@example.com', '马海燕', '16070041', 'NCT工程课', 'scrypt:32768:8:1$fggRNEAwr1Tfp954$7a914dfe6d8946c32461e6614dbc8d931a669882697557a4b0f4a2f8a3a5fca08853d6f3bcdfe0da0cfc30a3bd8fb9bcdc26fd9bef55ee77682b2cac45778d14', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16080186', '16080186@example.com', '赵银琴', '16080186', '总经理室', 'scrypt:32768:8:1$YA1wKb86T8iYxyeo$e59bd272c43d37d831fc47e4f4b2e6578d7e8278423c21e2b3de8bcad43afd28458f5b429832f7bebd72de73231611d9c806189c9e031e747cac13e077a59eff', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16090033', '16090033@example.com', '李新威', '16090033', '品管课', 'scrypt:32768:8:1$CJaQPRO0pvGYCnJg$c9841044f22a396f953e6e2f7a16fc88302c9ddebb8d7b2da2c45e4c8359ee8b8aec6281e3871fff0329800a62b9c5cd9288cfbaad33d91633bc811bb0ca77f3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16090091', '16090091@example.com', '韩李娜', '16090091', '生管课', 'scrypt:32768:8:1$pnp13MOLYbCtofiw$45ba9a8ab70a0520774f7993be58dc57bfcceb7efd82c845bd79da3935cecda6ff5c2e9b55d76848a2e164ad8b7476c6eb0b125d7e509c51267f294660e8e85b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16090132', '16090132@example.com', '吉玉娟', '16090132', '研发中心测试中心', 'scrypt:32768:8:1$1DjYKmkqLeEAAbEB$eb088eaa07a3e12fd6d03512c311a7bc74bf1a1a581737af73e8ad6e8aa6d89c8b946e41934c503bf88f08271a25a181ae30f4da395644a0f842c5347965ac64', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16090159', '16090159@example.com', '李振甲', '16090159', '资讯组', 'scrypt:32768:8:1$91K7CwHTh1XrRydf$266da90858269dade5d53c5af621f159d7e8c77962804b7e7552f149bbc6e91d1a9f44c0561f287b33f53eb5f4d9c74d1e85c2f2bfa9a912b7b76bfc710f339f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16090226', '16090226@example.com', '王欢', '16090226', '文管课', 'scrypt:32768:8:1$vWAVL1B7aboRIXb4$e0cb15c03663f78e199251043365e5fd6e6a3054baa80bd16cfe4fdf6e80a9564b8cf266fd9afdf55add2c42b2d7fb9a9edb8dac303e2ce124c71415717a3366', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16090494', '16090494@example.com', '梁银玲', '16090494', '生一组装A车间', 'scrypt:32768:8:1$zzZwWXGkdZ6z9rcQ$ae8215c29aff2b5f5e52c23c12a18a560cc7471d6989df384a68401e7f0a4b64df8117f190d9936947510945b8340fd84c48d1a59a8cc0a85d33498ac8c2ebff', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16100199', '16100199@example.com', '牛秀芳', '16100199', '生一冲压B车间', 'scrypt:32768:8:1$QJ6c2gBIwRqPjebL$1cf869e5115edb07e7e68b18564768289e0a82f31e5c426f361459c161ed1fd7ba87e10392bf62dcd1fa53ce7b2ae10f6f6120c177f6536fd59d3918eaacbca8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16100200', '16100200@example.com', '秦保林', '16100200', '生一冲压B车间', 'scrypt:32768:8:1$WcdMt7XwAlD42h7w$894d7e2ea1bb5ab5333ae8f1a4e5e69d40e8fd5e13255d3aee6742ecae7f10c55be2729bbe3487ce04accf0fd698480284bf7d0efed380a7098bdb547a40ba78', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16100208', '16100208@example.com', '陈天亮', '16100208', '生三粉体涂装', 'scrypt:32768:8:1$uUMapoVjG7QV37Os$c5a005bee6b6b1afca5803a4c36d2bf2efc950a8c19871433f46575a409629f72e2508a831ba062077c9a3dcd924db2ab8d49e1b05eb9dd0c63e7be626cf6e02', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('16100401', '16100401@example.com', '胡秀云', '16100401', '文管课', 'scrypt:32768:8:1$PG0FFlISfewtH1Z0$70a0cc3b8d45fd46ec5eeb15d9163cbcd6b664ec81c5bb522e4c5d76589bdbcf8fa54ca21387b49ec9c1ce541d452e43eb1e68e61af1744530be916f03c9dc89', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17010193', '17010193@example.com', '胡庆云', '17010193', '生一冲压A车间', 'scrypt:32768:8:1$AXAFml3inmLA9dlW$fd23dcb31f9a2cad1dc22192dfeffa77f4c464fe7fdc4c928d8125c6c212b059811e255afbe318542c129cc4147a4c8130d8b5e4fac0c8455d8363f20975ee82', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17020063', '17020063@example.com', '赵艳丽', '17020063', '生二包装', 'scrypt:32768:8:1$kbVOMaMKPM4CrE8e$259460f1adbc3a110b8d680124f5c60d93660b9d937b5888a68a19ae6f40f9724102417b4ab50a7403e3a29bfa76f346ee14db2c262e7e3c6df26c307f95fce2', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17030003', '17030003@example.com', '陈飞', '17030003', '品管课', 'scrypt:32768:8:1$D7Xn2nGN5hMLuBD4$d1807982d94a7899cd9e923f150f4dba94728900d13f881e3911fcd6ca7040779c7dcd415ceaadbfaec6a2045c466e2cf0e37e760bdbaf906043ad0dc36d4842', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17040001', '17040001@example.com', '王蕊', '17040001', '品管课', 'scrypt:32768:8:1$Defy9C8YFiknBwgB$87c085066270d4d376d8ff589bf862f211a19a9ce39465db61ddafca3f666ab1fb0e6a9723dcca6c57c4fff9109499569d4c92e9e4903c7c8cac2383a2c43faa', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17040025', '17040025@example.com', '程志蕊', '17040025', '品管课', 'scrypt:32768:8:1$6pOkQOOLvnHkXsnc$a0e93ae0616272f6bc5e02aab567121c153097f275efcf2b5bf80d426ab0da3a3e69e5b4527275cf36e08b78bb7565b31a27b7be23e8957af72ce1322073b3ab', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17040038', '17040038@example.com', '郭琼琼', '17040038', '品保部', 'scrypt:32768:8:1$SMFDXO7k3lYDpzGH$c9bd9884c19ea6fabcf10e3e4ee852a0dd04024930a6ded7ac0421ac52ea76a607b114269b8af4b9a8ab06636b8ee1adb28ed13f5cbec53ff7fa7d4e3187328b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17040041', '17040041@example.com', '宋妙宇', '17040041', '自动化组', 'scrypt:32768:8:1$CbHseCmPfQq6FiSz$ff44fc09b519509283e1fa78dac2a7037efe65bab177a1cb9e86f2eb206961c6b2d9487ddf30da79054a8e129f639f2677999e14e4fce2cf1460e80aafab22a0', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17040156', '17040156@example.com', '王小东', '17040156', '生一组装A车间', 'scrypt:32768:8:1$64nBLik0MGy9B9tT$60f421ef4fd120616a26e8f0291f0d7bf6aedd212b1af0bd147fa220a18a9937f9563466a073c5c259ed0210abcf4ef10929d79be033b311cd87af9e1e8adad7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17040173', '17040173@example.com', '张见常', '17040173', '生二下料', 'scrypt:32768:8:1$5vMZejACiZpAcPiz$0caa8abb24aa45e06bf660f0278cc36e686768b2578a072d5c539408b5860c8f92e3b8c29c951fa79e0d3a4158e55c4476b0ac58f840ede53607af9e37f4abed', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17050183', '17050183@example.com', '文亮亮', '17050183', '文管课', 'scrypt:32768:8:1$wUI5VJ5AgrnffMNm$e7a429eb44d323842db825c8bdb21072442f349ff3f13c7c66ca369994ae0dee5037c740915e5e66461252eadc42aea57d8363d73bb68d62583178389fcf418c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17060022', '17060022@example.com', '李梦慧', '17060022', '液冷组装', 'scrypt:32768:8:1$kgYvolEs89ABWbIL$74b5a2f89fef47765f4e71bbc5bd859eb6d92404f2677b93eb041c53cec6b5ecc9b1cc7f85509298e99a20a4c65bf953c7e8ca3e10a754e4c60f10d7084db042', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17070002', '17070002@example.com', '洪阳', '17070002', '研发中心测试中心', 'scrypt:32768:8:1$zQ8393j6rRTQFB9p$64065eabb293e631cc1402c10e370c1151c863586ade92ddbf32880a2a9b6aa78a9b8e4c2a316409353b18458689517f20161e6ffda7cf067d6c5b44a623a581', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17070063', '17070063@example.com', '纵丰剑', '17070063', '仓储课', 'scrypt:32768:8:1$MYPWGCdRIk0YEK3S$f2b6557ddb41869f00a8d26ce9d8f2fee0868f0108af01df45885dbafaf0a87b29cbcee21cac1a9aa9a78c01c6371785e49adbf1b15577d5ad169a7ea96c7d19', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17070141', '17070141@example.com', '朱佩', '17070141', '公用课', 'scrypt:32768:8:1$wz0zGOiCMmYmjhW4$ee939455cb9b5687ba9ec3df09037326c4fe254bb48ee9244bffb95359ba7631334f3d347692a00c7f35e7c3b1e1e091429464ee3b696336b7e289549ec1f5b2', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17080014', '17080014@example.com', '贾春平', '17080014', '生二包装C车间', 'scrypt:32768:8:1$hVPBwX1lZrWnPXqD$780e89e961ead8fe0ece05313a9059cd104f6e40cfabfe64e09f2cc180f5f63bfc0875c9f4df73b5e26f0185aceb87d6cce366f93c087af7e6ae42e304465a42', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17080015', '17080015@example.com', '何曙光', '17080015', '生二焊接', 'scrypt:32768:8:1$BXHgYGZ8Rcjh7cnB$ff98d5d7eacfb966a224147dbfbf9e9dfa50e75530515c99d3d0658864386594595cd1ddf1cd0e253b2970b68597cc619b7ce7a9c3457d8950a37af7bb8002cd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17080223', '17080223@example.com', '吴明合', '17080223', '生一冲压B车间', 'scrypt:32768:8:1$ieyeQCMhjpkFUh7B$46ec1a406d29bfbc0f003202a3e2aba5a8dbded446ac393e29c2cda9339e34ccf980f81fb3f6c0488640d60b746a40c66a82d24d3cabcae141df817e92d47308', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17090058', '17090058@example.com', '图求云', '17090058', '生二加工', 'scrypt:32768:8:1$WGZ5jFS863485cSH$1ac81459da614289597a729cbc97c4626fbf588bce7d0db42e0a4c2e3b471c8e71a6acadbc10f36c63d7ad4e91a8b6e2e294c5e494e602f768b89c2d3a64da4a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17090117', '17090117@example.com', '唐军', '17090117', '生一加工', 'scrypt:32768:8:1$uupBBp1GcBwmYpv7$190857884c0eede283b21ac52ef98e51320872e2268d397ed7944449031b0c90fad895a1cd1398feb1f3b040992a0d0fb7cd1514aecdf6c540f14596dc5f7476', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17090146', '17090146@example.com', '严小兵', '17090146', '生一组装A车间', 'scrypt:32768:8:1$dneBzWTSDNb1X1Is$2fb89df4145a2eb3177b04e74b3b5d4a7ee3657a08904d3690ef3ccafaf4d1e14c209e487708b9383e099a649db61e7e33f48d1380efe9a20d7beb1c603b5055', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17090227', '17090227@example.com', '吴娟娟', '17090227', '生一组装B车间', 'scrypt:32768:8:1$qQN66ycZsugNo7X0$0f2b70b39a4fc1c881abe65bde7fbbb6160936073c34a3eeae38c94ff14b0cad07e2395c16ad98cdb35cec7e54336a3e0b4150ecee1632a56d5abf1fa4a47637', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17100009', '17100009@example.com', '谭莹', '17100009', '业一课', 'scrypt:32768:8:1$2J3yXTCrvbTzlPnH$32c9273b23a2bc9a10224a5c826344c81b0802b326fdf6f43d1272a08ae9fd0787e1683139891d1088bcd35f8ce8cf81e5941da0515819090af42861771c8ab7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17100019', '17100019@example.com', '李想', '17100019', '生二下料', 'scrypt:32768:8:1$Zkr3eQAcYO3JZKDW$a172536293e7abef557291c18886b867db334417f518e99aabbf91d558074e2ffe800fe0ffd8940f38f7b537e97acc4e6e3453633f53a8506a66a60f8a285074', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17120042', '17120042@example.com', '金连党', '17120042', '生二加工', 'scrypt:32768:8:1$tCR1CcwgbKqvtBvr$11426b41cd39ba0d42a72d079114285ba62890d6e0fde442edd84bc56d719b27514cfc7567145f89f87134c229d58e16d2b95e9c9067718f874192614b3a7e39', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17120043', '17120043@example.com', '陈新立', '17120043', '生二焊接', 'scrypt:32768:8:1$3apa5YbPEZFp6gnU$119e5f9a8dc5f6ef46e6f1331c441bc23c3ee60546df5076ea35e85cabe98d3d472e44cb05aafeaf1caf1a2d85053639e833ed486dd8f367cf6c549c89b424c5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17120099', '17120099@example.com', '赵坤', '17120099', '业二课', 'scrypt:32768:8:1$5T02JKhwkuDTtBr9$dedee59f2a0271d16d26829ba96fb1b2b92a3dc8ab9259f3c3661cf967572e156151b3a5bb1ee2b4c634926f11f0641aaf5b8644d4f1643c912e37fbc9032e92', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('17120232', '17120232@example.com', '李飞', '17120232', '仓储课', 'scrypt:32768:8:1$c5gosYXAlnuHL8u3$4ab400a1e64fc658ecebe66c186a0f17b5be3e3b58cdd12eeb4a9dabece4a8806d195bf0934b0a4110f6748c19763adf3c013f0ce3bd24c6f982c6c59941a56d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18030161', '18030161@example.com', '许红花', '18030161', '品保部', 'scrypt:32768:8:1$kgaoW65kQqP3IJcP$9558f42480b7558a773a081f8a731d6195a224bcbc6bc3d978557ab1c9db28a856e84ef2b49b910abf2ef8bf7b695f61b21d9042f6d26a126ad0b34494174d16', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18030216', '18030216@example.com', '朱美霞', '18030216', '品管课', 'scrypt:32768:8:1$6U6REh4oa9pwgqHE$602d0725b4dbaf33d83c22ce9909f8f17d527b67f1ed7886bb622c7756e3943a0d7f7b9eb31a9f744bef2d6c6869dd786dc040d0d0087cfb53e8080cc0b93579', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18030250', '18030250@example.com', '黄全芳', '18030250', '品管课', 'scrypt:32768:8:1$RymMbWh77gmTjI3a$b76fb0b4c23251e728ddda536516c051f029a5342568168caf02803df28378f29a930a4ed68df8134c73c84af97e668fb4df4f1f2fa62310e9f82fe969e11dbf', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18030465', '18030465@example.com', '刘风昌', '18030465', '生产一部', 'scrypt:32768:8:1$Bxjpvelw6VmYPKYs$1882986c97ffafafc311b9ba62d2df1abc7c0a1d4bf2bdcce761351c1504db44931beada41a93cc75ba2b3d58689cd9b9fe958f5ec96f75a9d2d088dfa89cb63', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18030534', '18030534@example.com', '王味', '18030534', '品管课', 'scrypt:32768:8:1$ItenoiUwRXd48i5e$9f78cd6617998583bc32ae35737d09d701ab6636731f6d2c0387672d9d60d9de27f8304c3913a3d36b560548e224b6fda2d5283ba20b4dd0db71167a64beeeab', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18040074', '18040074@example.com', '刘健谊', '18040074', '资讯组', 'scrypt:32768:8:1$cRqrhlHT7NKeqpFC$1f238422949815997507f395fddcea561f8888d309aa290755a833f70c354565a1f516a82f12753c6060a469f2c27fcd7550c073bfc34b5822a78b217b1f6eb5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18040126', '18040126@example.com', '宋亚茹', '18040126', '品管课', 'scrypt:32768:8:1$3TGS8G0KtEPu05S4$9d3dce3cb95f6971139e55adaeb76a5b928ff7859c7fa8bcc70be3f2fac041de39eac06c8c85a21fc3df9e07cc0517d4ef3d718ed88b81ed52c03c49511b4663', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18040139', '18040139@example.com', '王淑静', '18040139', '生三粉体涂装', 'scrypt:32768:8:1$d8z4dooOHQzSKTRu$f949f952088d6f7b9f69edd479570eacae26e5080713cb590fb2fd87e52716b61977a4b5a823378360df27166f4a35391407b180b0ab0ead123d88e5c357f0d4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18040166', '18040166@example.com', '庄娜', '18040166', '供应链部', 'scrypt:32768:8:1$JugoEv05UN2hlVrR$16379a7e6261383c6d3904711b2c96dab7d5ddbc24fc09f1b80c05e4ec0776f79c15664ff1798b287f99e7a6a972e68d1b873040d218ed5f9906b0372d94dfeb', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18050003', '18050003@example.com', '武少勃', '18050003', '品管课', 'scrypt:32768:8:1$ffz6JXOKRQU3C8dZ$b5432171e37513307937cf8dc66d8dc3c46ca4a0c38a1e095c3adac51cc286af7f96fa9655211262849818636a9424c43b7a1228c8e29c75d0df174c657193b3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18050051', '18050051@example.com', '曾智刚', '18050051', '液冷组装', 'scrypt:32768:8:1$gnTPUE4JZxBC7FWp$320be10800b619bf6c7da65ee3a5dde6befb2231f16638d812a0b9e028845e30bb581c47217706a85a2583a71633dc7aa5facb89bd1be3abfece107302037028', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18050094', '18050094@example.com', '周丹', '18050094', '生二包装C车间', 'scrypt:32768:8:1$zDdVQFq567R7uEKD$094745d9252b42f46c163aeabf87fd34a5f3148ab0c3b38bf810e329f464be8f4de0a53c3882557b0d8713a2019c1085ff7a25ed786bd99920a4d0947e470615', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18050141', '18050141@example.com', '吴云飞', '18050141', '总务课', 'scrypt:32768:8:1$aXUP518BYnq6zluK$90a7e382528fe10d51936cb5af30ce9671528cfe202f003c62797c4a9ab5a8f9df4b95e9452d3dbabbd2b3d32390f23e4366ecb71f247707be534c4cd9ddb55a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18060150', '18060150@example.com', '路晓阁', '18060150', '品管课', 'scrypt:32768:8:1$2hpp1nBLYgCGmR8P$22d6717664c45956ea49f438d7e3bea2527a240e3e28913f53af023718e20c732db85f4209c5eecfc19b7400a4db6a28ab730106b42734c910719ae12a3ce8a9', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18060336', '18060336@example.com', '周何源', '18060336', '资讯组', 'scrypt:32768:8:1$dtxn5sVLNKvDw1pH$196e8b4ded244990b3ddb99ecf6891d8319ff6ffd90fc09a12439036f4106dabeec9740ad3fa0651caecf32248e619e7484a96d55a1a26b04e7d19b67ea1da3d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18070120', '18070120@example.com', '齐丽娜', '18070120', 'PE课', 'scrypt:32768:8:1$n6zanWkmdXdLE6eK$52ddd2a9b07faa8827192d483b30485b32e69689bc56c1ba7b2a00fb604f6b8b8ea341e44f3e4c4519cb101a540b500108e744049906afad23806ef230dec9ca', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18070258', '18070258@example.com', '马利波', '18070258', 'NCT工程课', 'scrypt:32768:8:1$4po19E62n2f3PAbc$7fa9ce12d455ec6a1c59a9546706546f741d2143edfd9cc5e177d6b1f7dc5ba11602ae3e2ae7847d6bfa028b0f7f6a69b9c89f012906424545820763721de6b8', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18070259', '18070259@example.com', '姚俊亚', '18070259', 'PE课', 'scrypt:32768:8:1$AR3M5anCNzX6KNQU$72c73082b45d402ef8bb3db77ed0d20a13a2c2b372a7c71fadf7605ca780179d16a084e894f9775884f4165ed7ba269384fdc586e326c60e01cc579114f88723', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18080021', '18080021@example.com', '孙光江', '18080021', '仓储课', 'scrypt:32768:8:1$hDNNQZCtOGU19O4f$0f0b006e39a5d2d9b5f7631570c8ac64824a5a4063b49630093dae25c5a90144b4932b5d5b1c62b982ac95115d9b39cd3284551de1f5b23983c4b3c4a083bb4d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18080074', '18080074@example.com', '侯景宇', '18080074', 'NCT工程课', 'scrypt:32768:8:1$Rl89gVUu2tMRo9Pb$e7c7ba28f8bb7244b295b6d28b1e4cb177fcfaebda2df1f46fe2f4466dc6d17de5c847ebf86fc422b3d14f7907d97b581ce476dea107e2e18f47e7ed9a81aa7a', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18080190', '18080190@example.com', '朱利勤', '18080190', '业二课', 'scrypt:32768:8:1$zag59UU8SeqvJ2l7$6da7be8f9e5114fbd8d2ed7254327d146b1695030a64e1fd1cd202d9e76251813e5fa1b6a46227fa7977123c7da2d3b3c27c6dff25c80a112aa52058797e4e39', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18080242', '18080242@example.com', '周坤元', '18080242', '人事课', 'scrypt:32768:8:1$rtsc84G0qloIOBAM$73487c72eda24aacab7cf6d91126c628b8785b39b71190f2f44ad5d0199890c2dbcb81cb60d8266860791230f7553edc696996557ed6946e17faf35bb7f6dad0', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18080446', '18080446@example.com', '孙凤侠', '18080446', '生一组装B车间', 'scrypt:32768:8:1$lW3co8hqkXCWwGAl$dbd18bf6468069ba570a56bebd0635eff515abd0f309d138ef2704efdcbb917fef7a29be8ac0a7d4ac69b600be4a102473f32a8c576a825822de26c57a7dac22', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18100051', '18100051@example.com', '黄德文', '18100051', '生三成型', 'scrypt:32768:8:1$UHPLYbk7bVCelZYw$af18fdcdf49652a2506eec1e5a69947be3e5bf85d365f5eacc8d32a47bab03b01eb9df9804613d36daf5f48f0d28f9d2266f0ad5e0416fb51cf846805aff2b27', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18100114', '18100114@example.com', '耿美华', '18100114', '生一冲压A车间', 'scrypt:32768:8:1$mMCCcIcANTwpYJuA$18b1b6d64bc5e48a96c46cfa3a35583d037e8cf6c39c713d10d3cb9cf34d8b54f5c5c68e015311d8f6ea96ae81a0e17b23535b912734b411bf7c6a7539e5e39f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18100413', '18100413@example.com', '艾勋勤', '18100413', '生二折弯', 'scrypt:32768:8:1$WotlEZ7HbIOkMDYj$3750b38bc3cea505e9f5b567b44d39834e51aac1b99f0e97ac10a304ed66679da80ba60ecd47b168b11ad76b88960f41653869aa49594b43081f31ff6e9e4b83', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18110127', '18110127@example.com', '骆建晖', '18110127', '生管课', 'scrypt:32768:8:1$9HrKYIZoGS7h1agy$8f1e460bedf1df8f6f8d43468c2b327445752c960a71fd65ae9b5769bdb354a71c46bfb0fb65a24b78d2293154ac292461dd9180d51a780380754dca711b79fd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18110253', '18110253@example.com', '肖文龙', '18110253', '品管课', 'scrypt:32768:8:1$iBvthzXccYGzuoet$299fc2bcadf5450585f500003ed75e3eba78578e96923445183c6fca32985c6d32ef7d5a44ec85dd79ff37963499107cb6c211641933a56f9fa53ed69dfb7453', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('18110284', '18110284@example.com', '张弟', '18110284', '生一组装A车间', 'scrypt:32768:8:1$Ka0uuDSmyJ29TgcP$2b5f2510962e4c01fe703e1cda06a1d83a3defdd401c5184b27c9c7fb42fe00b25a804f8d0c7cda863b6d76f90d4e0cf3274ef552cd79732376544793f238435', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19020074', '19020074@example.com', '张照伟', '19020074', '生二包装C车间', 'scrypt:32768:8:1$etXhK8NxZ8Pevem9$69ab32ac5d1d450312ed8a7fe6bb153eac30cdcd846cfc387145f4e8cb08c8cd0f69dff561220a3aecce8d39ce281ea3a4b44ed0f58354740848e99d9d087fd0', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19020075', '19020075@example.com', '张军燕', '19020075', '生二包装C车间', 'scrypt:32768:8:1$AZa1xmGdH7ngIP8T$5eb39ae17036d092966400cb783a616f5f714e6833002c6f1aea15d41ed359212b3eda2e8b2e4e0367bf58ee73907bb9a2f3a20ba81bcf982f60d36307a2ad52', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19020192', '19020192@example.com', '徐永风', '19020192', '生二折弯', 'scrypt:32768:8:1$xRPFQYGTw2IghEYD$9494f500753586ea3da5ff4d4085d01846e993fc1bf0ec36644bd57ff8b7352c28efc7c2cdff6cf1ba689fc110f6ba7d9588d9aef37846780542661037879e2d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19020354', '19020354@example.com', '郑忠英', '19020354', '品保课', 'scrypt:32768:8:1$av9p8mOSmm7e5EdL$4ff69a2d710070b947e57f1133ff705972b5251b4b8b160b317a785850880dc265488448de4c1a956fb1a2a1c8a86952bb1c732d9e160ae8404eeb2a27f59699', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19030077', '19030077@example.com', '贾亚东', '19030077', '生产二部', 'scrypt:32768:8:1$WUAFBioSABPZvsxk$91d6ec8bb3096c9c65980085e773ecef42216980d0389b9264ca734f134f0a732c00473012eb8f497120937b5881ebde79e015682face9a169268951dde266a5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19030079', '19030079@example.com', '费锦龙', '19030079', 'NCT工程课', 'scrypt:32768:8:1$rjjWAVcF1Qb3JFaB$00ad3aee8eae5f099e025fcb58d4e7ca93bd19efe76df9b4397a85a6c8aebea98cf8484151f1d9dfb668dd0c1f63b84a9044ac02f55e9a81e4ba7618dc3838c5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19030089', '19030089@example.com', '沈梅芬', '19030089', '业一课', 'scrypt:32768:8:1$D9Bvqp2He6hzbZFs$d1edec78ba57c8a82703e97933262962f6ebee2d79c481d9b616fef8021087d35b2d744a031438aa9cea4e0361befd532fdbf61b03ce14b651defe833bb02804', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19030099', '19030099@example.com', '张志华', '19030099', '生二折弯', 'scrypt:32768:8:1$Iucs5V9uGILirqPv$b18162c10d89a869d3209581a681577ed2886450d78af624b3ccb1cbeb1330a522ceb92c12e13111bd698ae02e1eec1ccf0a1bea1467bf3a1dd8c158217d477c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19030100', '19030100@example.com', '张占立', '19030100', '生二折弯', 'scrypt:32768:8:1$XNlh1SMLPXE4W57a$310e2005b6ec6de22c5cdd63bfb0eee3c072821fad8bf1750626437375899de65ad9b008b9f5d9b0558a3f8a79da413e416d1b0958f14f9036ca8dd4f06296ad', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19030105', '19030105@example.com', '黄沙沙', '19030105', 'PE课', 'scrypt:32768:8:1$nM8gfLq8FCVS8bYc$00a354b4075d0da0f83e210f4017de67861d147fa2369c28dcb0130fd449e2ce9aa749eb3776d4c3c23f58fe86b37ba424a616f31c276845f091f9d5b87f3093', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19050186', '19050186@example.com', '潘荣付', '19050186', '生二焊接', 'scrypt:32768:8:1$AnBLLuQczJbkrA9t$2012eb17af586d359aa5dda5bc959fcb3fad73f2c4db121999be1a8dda6327791079adcaed57ef711dfd0ed0b8a71d74ec993a3b2ce7b139d84e533a0c3edd3c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19060111', '19060111@example.com', '李琳', '19060111', '总账课', 'scrypt:32768:8:1$Ps23XplI3DGloODn$a6aca3f4ace8129f8bd72a116a421529d9c4d92df31b23920445ff33cb01d7e18287fb888b04ea0502f9b7c4864018cc6d1ba82ab319e8ac3500ca416df629e6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19060124', '19060124@example.com', '王瑞超', '19060124', '品管课', 'scrypt:32768:8:1$14VKkzrWVOinHVUC$a401b01b1fa048827411a781cf2e2e1b059bc670901f90e0a306d7cf3702b343b396b23a40b9f9a815c8a1fdce3f9c596f4a80c730320d9defbca1203d420489', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19060126', '19060126@example.com', '曾露', '19060126', '品管课', 'scrypt:32768:8:1$KQ1OQpwQgFgy0fnH$f0f76539c923272e03f269bde70050d4227bc312023ce6ae2b99650a0c2270dfcd23169b3849bfc7585ceb84b84a0c6667b0f35f8dc8851984362c6ceed2bc91', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19060127', '19060127@example.com', '王扩', '19060127', '品管课', 'scrypt:32768:8:1$PIkF2XuyI9tufHJ5$5253b28612c1369ecb709df53b4de94a97ed53c2a597deca66caf2edfa7647ff2baf784567dbcb88ed07864b6a897ad116784b2f7adaa0fd2bc24e9faf3abab5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19070131', '19070131@example.com', '龚平', '19070131', 'IE工程课', 'scrypt:32768:8:1$HiZ9gsgkt2vU81O6$ade06111c68f83f4cffee4695eec783607b5bc3ede817cea407d33a41f25e9a913fe04a9f5e6533cb2782713268ea59f8549fcc2d7bbe8d13dbe93fdcd881741', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19070195', '19070195@example.com', '赵生俊', '19070195', '生二焊接', 'scrypt:32768:8:1$tHCGgdbaK9uy4eN0$358ea116a5429400ffee5b998a86302e9faeab49d1a753ceb062e031513e3eb21eddee3db256fa38de67c25edce1e7efc44d48a1fe3db6ba15c51221a3ebd0e4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080001', '19080001@example.com', '王越', '19080001', '业一课', 'scrypt:32768:8:1$FoJ35gGZ5zKV4BYT$8d07f4d31381c95e04c19ed68804ddf0a5f6df74d5ac01fb52bd6b2de31f53aad44ee2704bf2510a284060b24aeb210e8f5790ac46bbbf5e04282f0cadb317b6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080002', '19080002@example.com', '建华货运1', '19080002', '仓储课', 'scrypt:32768:8:1$rMkrQo87CBYDMR5B$4008c6c3702f78e8d8178639f23812d96eaf284d324ec4ab90805d5a66d9c24520d222b3aa81b57e7ca7a8c07bb82975d9015ff2a9674da1d1ae7edc18d1c5b4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080003', '19080003@example.com', '建华货运2', '19080003', '仓储课', 'scrypt:32768:8:1$v58yNVtSEODw4TTh$cc0a055da49100e2093d8efd79fdbdc5818ab9c155b3368ecb82433a56a1ccc1c6cd1d7d4b719dc1caa6923f1cf7683d8c7bc2dcaad8966ad44826f6dfb58a21', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080004', '19080004@example.com', '建华货运3', '19080004', '仓储课', 'scrypt:32768:8:1$V4kZeK14njXxJKKl$c4a6334a358c7e148c83cf7156a6354a0a47232fb8ad9107b36e11de6975f5b6177d7a484ebc25a285a7fe5f0b5be976fdc9bccc2fac83f78ee3ca42a65e84b4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080005', '19080005@example.com', '建华货运4', '19080005', '仓储课', 'scrypt:32768:8:1$g8daaKGbfqoKfhXQ$152a89210d89a777806b33517b3799c6af61f6cd58cff1d1357e1213c0853188d3b10365c3fd994158e0e5ef3fe56286d7ebc756780513e82847bbf63531ada2', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080008', '19080008@example.com', '申佩荣', '19080008', '仓储课', 'scrypt:32768:8:1$ZPLVyiaBT7f25ohw$9efa6a941ab2f9119ea7b12caead23cd71b186eebb1953a92330df50dcb7aecf8ed93efa78072fd52f53269ec8e271712299231fe1df806988e53a9b3353da12', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080009', '19080009@example.com', '谷二保', '19080009', '仓储课', 'scrypt:32768:8:1$ej30FVs6nScjWEO8$f099446f4c0d46a9d9a1f369dd85a6a2323c4ceeafab9b4eaadda4967973cfe32b639f7940c686fc14a21504b04094774acad18cd75733664e121627679b6844', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080010', '19080010@example.com', '古冬冬', '19080010', '仓储课', 'scrypt:32768:8:1$hJvdz9iHsKqX0jkb$fd537892a19db77bdfda686dd07a75ff82bcd54902dec389bce4041e1a790d8e2d5aac15b8cbca35d052a5cf13f85fe324d345a8ba91784aa3440aba6e3c3087', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080012', '19080012@example.com', '赵帆', '19080012', '仓储课', 'scrypt:32768:8:1$k4hywnA4RX7GkoYg$9bb1bccc4a0934e51ffba9d78f21dac550c2c7759e482e1899b51df48b67f1561321b36f391a7acbbc53a30fc28de58328e37e995a4fb662e7f70d063cec8372', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19080013', '19080013@example.com', '陆建华', '19080013', '仓储课', 'scrypt:32768:8:1$Phc1gnILcyLa9oQJ$234227d58427ca1804171e6f18ed8c851e4d52dd906d876d545fd4090360b104f2d9a731c7b2ef8931650eb0af8c9fa14402621f96830de08df3dbd2d24c1c85', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19090011', '19090011@example.com', '祝德', '19090011', '品保部', 'scrypt:32768:8:1$zAlI2kWnH921T1dc$cb9c7abda89be1e1a3c583c4dc29eeeeed9d0d6a81786de3ba5614250c9e38f70c52cecc50cbe5fc4e95232c8ec96dbd27f7e895977b8abe53b3f4d64bf48eee', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19110076', '19110076@example.com', '雷伟鸿', '19110076', '制模组', 'scrypt:32768:8:1$XF6htxdSAznOTbA7$c072c3f69ce32c8f97a8c3698ddbf2ae4b2988bb5e9cc8e5c0e7d1d98c7efa84c9df4d134810fb6c574e7f81a3589ed7950f3a9291f9f4555f4f366fe96e1ccf', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('19120014', '19120014@example.com', '史俊兰', '19120014', 'NCT工程课', 'scrypt:32768:8:1$YKb9EBoNcmxeJKXw$0cdfbe1f552ed8ed8397a632942c68497d547849795522e2c53def52c2fe6805d5c1afdd4be94059078e2ba657efbbcda884bda2504d57b83f22453c02761fd7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20010069', '20010069@example.com', '张国香', '20010069', '生一组装B车间', 'scrypt:32768:8:1$QLm3m77ePtWDmdN5$0ae648e8e7ee6dfd8bb21d72763706efe7332447de9c8eb13a8060731202f3ae0ae67d07505f2c63f94de85103038aa6211e05bcf3356f3d225ca6313f2239e4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20010071', '20010071@example.com', '史磊', '20010071', '生一冲压B车间', 'scrypt:32768:8:1$d8YfufqAwaTB3Dlw$d2e650340023e7adc9fb09c7cd31bd3bdafae91d8e594193413f9d3b9888195c829edc8a3a3effd568f3622ba57f8a1b6975c2e314108f8085dcf25da60442f4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20020002', '20020002@example.com', '王宫超', '20020002', '仓储课', 'scrypt:32768:8:1$erFHWQK4p8Ipof6z$23ccbfe261b99033088c54170d6523700660e8c97fdba1db94209567aefea03881e5315923f17662ee5350615a56aac1ae14c8e3e214a9b196edd3b1c902fb86', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20020210', '20020210@example.com', '宋园园', '20020210', '生一组装B车间', 'scrypt:32768:8:1$nGjjU7cRtBKSOXrp$c3f353aafb8929ebae916eaa915ad6d6532e1ee9b26e24c343cc31f79373b304884702fc2bb020649e2bc52a9973ccff80dd2ca4f8ebbec8be8f54dfa51dd8f3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20030063', '20030063@example.com', '姜凌波', '20030063', '生产一部', 'scrypt:32768:8:1$VlXDJYz0lXeAhT2m$78a0ed95c1a53bacecc9b62a883e6a90f87697fed9d4b95267892baade72e09b710d6a914ac788f512a9adb0831e20ae947770c8bff7b289cdfe4c66c36cd163', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20030065', '20030065@example.com', '宋倩云', '20030065', '生一加工', 'scrypt:32768:8:1$V0nZVl75tIenLlnX$8b169f7b3b08473c854c7520d4fd2586c7aa521b993c45b39fb3f2b9d02b098525c04c898999fa1832c12ce3bce475d51883cc6b36aa34411d6b5707e150c8c7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20030169', '20030169@example.com', '邢振国', '20030169', '仓储课', 'scrypt:32768:8:1$QNu3NTQfxPF6yBJg$0190bae69a407fa2da866e8a37b7d0221792b1658114dad4539fe5bdbda2324645a30b9283b5c3373e52d81e52eb9ed9e624d07c1d88c818ea141e5e2482f026', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20040109', '20040109@example.com', '丁艳玲', '20040109', '生一组装B车间', 'scrypt:32768:8:1$oCGB453RVXL2iejh$f7d8e617f91febb286c5b06b3c74636bc006f3a9f6dc0b4f00641c9cff7f00d2fa717718beeaa99ca98a7577d2f11de661ef8a8cdecf308bfd967bcc4ca09f9c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20050287', '20050287@example.com', '周军涛', '20050287', '生二包装C车间', 'scrypt:32768:8:1$hJvZ38LDB4Kn2Oge$6701f5cab170e0412518281d89676beea06d6c0930d1da03a92a456a47eeb62d413e40acc10504a3e390e6b83715d18129ae935d9bebe70aa78128a198d256b3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20070077', '20070077@example.com', '常冰冰', '20070077', '生一冲压A车间', 'scrypt:32768:8:1$rDnqWyZvIN4sHFfJ$19edd07d99d65cd3ffcccea5ef3ad57508e0663b75ae3a0046de25facc766ce59c1c258d3c36397f098f767237cdb9511e226bdcc869d0516a079226653fc16d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20090013', '20090013@example.com', '李丽霞', '20090013', '生一组装B车间', 'scrypt:32768:8:1$CQFhaGyT1pE4r3dt$6610951bad33505b0be5b10a39ec357e6c6fc10f9f7718b10f1e304744bf51d9140da1bc7754b9e03cc319dc5c6cd002772bfd972c589de1ebb2a10739bc61ad', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20090024', '20090024@example.com', '张小娟', '20090024', '总务课', 'scrypt:32768:8:1$gxDwGDP4kc9OVO3x$bb0fc6d7725989dd1705114748397c565a09d7241d9278cecb75495d1d9faa063af82c4eb3f93e47ea65e3cc6907649c303900a939c805d76ace7eaf25dfa01e', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20090033', '20090033@example.com', '徐稻香', '20090033', '总务课', 'scrypt:32768:8:1$cobgZxmMLaWRxa6G$dd1f7084997ce9a974e74f717f53ed5362118f5a5e904d3cb59ec66ebcb96ba2a0930b870ee3c67e0d67d91430a254df97de9fc5aba6bd4034f5b8b09cf8e0bb', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20090040', '20090040@example.com', '张健', '20090040', '制模组', 'scrypt:32768:8:1$XacedfnQuNbAJeTZ$623080b99346ed235801ecb4ce542278fe004faff3aada85ed1e3968b3720fd70f280107afc25eac787052cd6872dfebd878541b76e3248aed982e03569e31b6', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20100080', '20100080@example.com', '徐兰娣', '20100080', '生一组装B车间', 'scrypt:32768:8:1$J1Q9FmpunZ6V5bV8$6651f2eaf415e88c7b61cc9301c432f7aa36bbdd549059b9833a5d26e8e9ecd161e5b411627120a51bbd13cae00d462281b4d3835e1cb17af6a42f8ea6a5505b', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20100223', '20100223@example.com', 'Kittiyaporn Ar-sa', '20100223', '财务部', 'scrypt:32768:8:1$F52HCXe0N32jrMdu$3d69598b4120f6624488fcc93746f985159212374c140eaffac9fb97c495d6d2ed397996966ea7186fb412d899560eb3620201f971520a4a0a398d51691bb311', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20120023', '20120023@example.com', '包杰', '20120023', '生二焊接', 'scrypt:32768:8:1$WgkWxK8HOsdWQSqm$4af5932078806c43777222e4705556c932a87d95b61af5eb3d5c4b760ea7ac12266dc3ca4f57a66273b0e35e48ececcf8a155989d1fd5d8844812b792364f620', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20120026', '20120026@example.com', '秦素娟', '20120026', '品保课', 'scrypt:32768:8:1$oPvqT2dRCCfaV4hH$fcaed888c61190e42c41214b2aec22bf82387b8fb340c71054e745f4a155ec3d5207beac8d30609be09defeb27cfc60ac8175516966c0cfd3555d1a7c07b9815', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('20120032', '20120032@example.com', '岳亮亮', '20120032', '生一冲压A车间', 'scrypt:32768:8:1$JLdPFFvEdtCjbPCf$76da14fea52d3f039f6c2af04eba6be1a8584cc97231eff3f9293ba249a1c7134ee52c964c5967fc2389b6c0061c91339519f68101609104b430f8b62adc1182', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21010029', '21010029@example.com', '郭守红', '21010029', '生三粉体涂装', 'scrypt:32768:8:1$ALXE1rIEwmru2MCh$12b436c8077fe6effc40ac4b86442105fbddac9ed69944219a5064a16ed016c3618d9976eccd6736441b2e775ede4d58954bb4b3da90c2e985e12d178b0e60f3', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21020011', '21020011@example.com', '苌佩文', '21020011', '品保课', 'scrypt:32768:8:1$mbH1r7OaeS4Dr0so$9adfb5eceec4fd0c5ec8a52c929fc70176ec85f2f20e5cee712b913591b0941bc453f139b7c891ec4176ba3064f32445fa1f25a7e86621f2ee0a0caa8a16ed43', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21020041', '21020041@example.com', '龚卫平', '21020041', '生三粉体涂装', 'scrypt:32768:8:1$ADMJVkHlpyXlOChh$e1c006e76386c4b9170465b8714614fc6d762952ced42d8c20c244a4e81410d78f7b02300277706c9492198cce3ba183c1a15ef4d15d523557fb997c4c0bac9d', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21020065', '21020065@example.com', '陈福喜', '21020065', '生一冲压B车间', 'scrypt:32768:8:1$U0LdZ9NDAuOT4xRy$05e576606150eaad4757b6ee9ecba1f052c76c4427e466ffbfbe1f11e79b2b473b040921e4aaa3a69a082f1176ec8701bcf04425093d25b8b46b0eacd65529d7', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21030001', '21030001@example.com', '雷锐', '21030001', '自动化组', 'scrypt:32768:8:1$Pv1komXtngefo2z5$2da4eff70a928602ee1a2b82895d622240d53ba6108102f9fcc8cdb76b1b1ace6892fcaf6508ef688bab34030dea2990f189aa90a73c07d9d1ed4eefd01fe987', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21030097', '21030097@example.com', '宁江勃', '21030097', '生二包装C车间', 'scrypt:32768:8:1$XMQxOhIJCD5L4jYk$f39232d71f83d9d898828221309fef9df6cac0d7ad7c3a042ad4042c67b0f88d4fc810961de4710db304bff98d03d77293d6144c6699b9f0ad050c764b892db5', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21030117', '21030117@example.com', '李建', '21030117', '品管课', 'scrypt:32768:8:1$2juF4EAPgErvepYx$2ed05f970d3c4f497a427f69eb1e220dc0c19eccb5bcc486a558233aeeaeb995c8b2da08c7c5eaf16442a38c23cb8efdbc8655b7901c63ca93a85110ddc6a7dd', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21030157', '21030157@example.com', '蔡静', '21030157', '生管课', 'scrypt:32768:8:1$ANgwYXzJdI9fpMLQ$07214deefc1ad3fdbdfeb47a20adbe8cf866f9172c8e50f59d8f0519c553ea1a2568a4191dcba9f8ee925c9e69005230736e87f8bf678e81c8732c7a34d0f94c', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21030159', '21030159@example.com', '包久伦', '21030159', '总务课', 'scrypt:32768:8:1$6nbRXq5JjI6Q57ru$be5c61ece1f2cea6b602f94040b95d5ed8fd3fc5de11a8a599417a6d31ada90f387fe017d3fe41af7f22b23e7732ec66cbd07d37861a4d3c60ecff7bd3c0b9b4', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21030255', '21030255@example.com', '朱南南', '21030255', '生一组装B车间', 'scrypt:32768:8:1$L0mzNTENGMpafwnj$6d8dea0d2439b1cd7656659fb1d3264d9fa4d5481175a0caaabae2cbc9254031d747f6ad62abd116703d12d7b25b5d37bfbd2d61212c269e996246073ada5a6f', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21040291', '21040291@example.com', '姜亚楠', '21040291', '品保部', 'scrypt:32768:8:1$ekd7XwbZBdRBwE5V$28c41dec8401257438b8ce70e97c5ddce193057c91f1a4107e91328bb5e0bc1f23b8a7db14d13d6f6887dea74a41077706036a477ecf242e3a5f3962a512ab23', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21050012', '21050012@example.com', '王超奎', '21050012', '仓储课', 'scrypt:32768:8:1$qEMyXjUyDiZe2qZS$93fd59ac73cedc6b7d5b89a4ddeae8da2ce606a273a81603b5f6855d1debe5e5a1e49f948520f752e4dca4085c673558ce9366dd13be872325f384aae0e83a02', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21050067', '21050067@example.com', '雷晓旭', '21050067', '维修B组', 'scrypt:32768:8:1$sVb2LXT2JIZdoE7A$8b2345e4812aef60abaecc2be38e9febf2efd8778ddb46c307c1722b2a96fc2b1784b906ab5129bd9c3dd801ddb32244dcbd24f00782554cf1a15651de903204', 'user', 'active', 'zh-CN');
|
||||
|
||||
INSERT INTO users (username, email, real_name, employee_id, department, password_hash, role, status, language)
|
||||
VALUES ('21060015', '21060015@example.com', '王晨艳', '21060015', '人事课', 'scrypt:32768:8:1$RCF9e2brE0yFYrah$122e7effaf80023ed226d629696b9d94c47c3aa3ee61357c1459b98b97fb7b7291c3ca1b278c3207584554532cc890f7b47547957d1e1315a9a256cf7fd66424', 'user', 'active', 'zh-CN');
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,48 @@
|
||||
-- Auto-generated by generate_missing_agent_permissions_sql.py
|
||||
-- Skips users who already have the target agent permission.
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- Agent: 通用入口
|
||||
INSERT INTO user_agent_permissions (user_id, agent_id)
|
||||
SELECT u.id, a.id
|
||||
FROM users u
|
||||
CROSS JOIN agents a
|
||||
WHERE a.name = '通用入口'
|
||||
AND u.status = 'active'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM user_agent_permissions uap
|
||||
WHERE uap.user_id = u.id
|
||||
AND uap.agent_id = a.id
|
||||
);
|
||||
|
||||
-- Agent: RoHS文件检核
|
||||
INSERT INTO user_agent_permissions (user_id, agent_id)
|
||||
SELECT u.id, a.id
|
||||
FROM users u
|
||||
CROSS JOIN agents a
|
||||
WHERE a.name = 'RoHS文件检核'
|
||||
AND u.status = 'active'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM user_agent_permissions uap
|
||||
WHERE uap.user_id = u.id
|
||||
AND uap.agent_id = a.id
|
||||
);
|
||||
|
||||
-- Agent: MSDS文件检核
|
||||
INSERT INTO user_agent_permissions (user_id, agent_id)
|
||||
SELECT u.id, a.id
|
||||
FROM users u
|
||||
CROSS JOIN agents a
|
||||
WHERE a.name = 'MSDS文件检核'
|
||||
AND u.status = 'active'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM user_agent_permissions uap
|
||||
WHERE uap.user_id = u.id
|
||||
AND uap.agent_id = a.id
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,61 @@
|
||||
-- =============================================================================
|
||||
-- 批量补授 Agent 权限:通用入口 / RoHS文件检核 / MSDS文件检核
|
||||
--
|
||||
-- 【常见执行问题】
|
||||
-- 1. 只运行了文件末尾的「验证 SELECT」→ 不会写入任何数据
|
||||
-- 2. 用 Ctrl+Enter 只执行当前光标语句 → 需单独选中 INSERT 段执行
|
||||
-- 3. BEGIN/COMMIT 在部分客户端未提交 → 已改为单条 INSERT,自动提交
|
||||
--
|
||||
-- 【正确做法】在 DBeaver / pgAdmin 中:
|
||||
-- - 选中下方「★ 请只执行这一段 ★」到分号为止,单独执行
|
||||
-- - 执行后应看到 inserted_rows 约等于 346×3 减去已有权限数
|
||||
-- =============================================================================
|
||||
|
||||
-- -----------------------------------------------------------------------------(可选,预览,不写入)
|
||||
-- SELECT id, name FROM agents
|
||||
-- WHERE name IN ('通用入口', 'RoHS文件检核', 'MSDS文件检核');
|
||||
|
||||
-- SELECT a.name, COUNT(*) AS users_to_grant
|
||||
-- FROM users u
|
||||
-- CROSS JOIN agents a
|
||||
-- WHERE a.name IN ('通用入口', 'RoHS文件检核', 'MSDS文件检核')
|
||||
-- AND u.status = 'active'
|
||||
-- AND NOT EXISTS (
|
||||
-- SELECT 1 FROM user_agent_permissions uap
|
||||
-- WHERE uap.user_id = u.id AND uap.agent_id = a.id
|
||||
-- )
|
||||
-- GROUP BY a.id, a.name;
|
||||
|
||||
|
||||
-- ★ 请只执行这一段 ★
|
||||
WITH missing AS (
|
||||
SELECT u.id AS user_id, a.id AS agent_id, a.name AS agent_name
|
||||
FROM users u
|
||||
CROSS JOIN agents a
|
||||
WHERE a.name IN ('通用入口', 'RoHS文件检核', 'MSDS文件检核')
|
||||
AND u.status = 'active'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM user_agent_permissions uap
|
||||
WHERE uap.user_id = u.id
|
||||
AND uap.agent_id = a.id
|
||||
)
|
||||
),
|
||||
inserted AS (
|
||||
INSERT INTO user_agent_permissions (user_id, agent_id)
|
||||
SELECT user_id, agent_id FROM missing
|
||||
RETURNING user_id, agent_id
|
||||
)
|
||||
SELECT
|
||||
(SELECT COUNT(*) FROM inserted) AS inserted_rows,
|
||||
(SELECT COUNT(*) FROM missing) AS expected_rows;
|
||||
|
||||
-- ★ 执行完成后,再跑验证 ★
|
||||
SELECT a.name AS agent_name,
|
||||
COUNT(DISTINCT uap.user_id) AS users_with_permission,
|
||||
(SELECT COUNT(*) FROM users WHERE status = 'active') AS total_active_users
|
||||
FROM agents a
|
||||
LEFT JOIN user_agent_permissions uap ON uap.agent_id = a.id
|
||||
WHERE a.name IN ('通用入口', 'RoHS文件检核', 'MSDS文件检核')
|
||||
GROUP BY a.id, a.name
|
||||
ORDER BY a.id;
|
||||
+42
-5
@@ -117,7 +117,35 @@ def sql_quote(value: str) -> str:
|
||||
return "'" + value.replace("'", "''") + "'"
|
||||
|
||||
|
||||
def build_sql(rows: List[List[str]]) -> Tuple[str, int]:
|
||||
def _unique_department_name(name: str, company: str, *, max_len: int = 100) -> str:
|
||||
"""Append company when name would duplicate across companies (name is UNIQUE in DB)."""
|
||||
candidate = f"{name}({company})"
|
||||
if len(candidate) <= max_len:
|
||||
return candidate
|
||||
# Keep full name; trim company suffix to fit VARCHAR(100).
|
||||
suffix_budget = max_len - len(name) - 2 # parentheses
|
||||
if suffix_budget <= 0:
|
||||
return name[:max_len]
|
||||
trimmed_company = company[:suffix_budget]
|
||||
return f"{name}({trimmed_company})"
|
||||
|
||||
|
||||
def _resolve_department_names(
|
||||
by_code: Dict[str, Tuple[str, str]],
|
||||
) -> Dict[str, Tuple[str, str]]:
|
||||
name_to_codes: Dict[str, List[str]] = {}
|
||||
for code, (name, _company) in by_code.items():
|
||||
name_to_codes.setdefault(name, []).append(code)
|
||||
|
||||
resolved: Dict[str, Tuple[str, str]] = {}
|
||||
for code, (name, company) in by_code.items():
|
||||
if len(name_to_codes[name]) > 1:
|
||||
name = _unique_department_name(name, company)
|
||||
resolved[code] = (name, company)
|
||||
return resolved
|
||||
|
||||
|
||||
def build_sql(rows: List[List[str]]) -> Tuple[str, int, int]:
|
||||
if not rows:
|
||||
raise ValueError("Excel is empty.")
|
||||
|
||||
@@ -141,22 +169,30 @@ def build_sql(rows: List[List[str]]) -> Tuple[str, int]:
|
||||
if not by_code:
|
||||
raise ValueError("No valid department data found.")
|
||||
|
||||
resolved = _resolve_department_names(by_code)
|
||||
disambiguated_count = sum(
|
||||
1 for code in by_code if resolved[code][0] != by_code[code][0]
|
||||
)
|
||||
|
||||
values = []
|
||||
for code, (name, company) in sorted(by_code.items(), key=lambda x: x[0]):
|
||||
for code, (name, company) in sorted(resolved.items(), key=lambda x: x[0]):
|
||||
values.append(
|
||||
f"({sql_quote(code)}, {sql_quote(name)}, {sql_quote(company)})"
|
||||
)
|
||||
|
||||
values_sql = ",\n ".join(values)
|
||||
sql = (
|
||||
"-- departments.code / departments.name 均有 UNIQUE 约束\n"
|
||||
"-- 跨公司重名部门已自动加公司后缀,如:维修A组(和泰电子(吴江)有限公司)\n"
|
||||
"BEGIN;\n\n"
|
||||
"INSERT INTO departments (code, name, company)\nVALUES\n "
|
||||
+ ",\n ".join(values)
|
||||
+ values_sql
|
||||
+ "\nON CONFLICT (code) DO UPDATE\n"
|
||||
"SET name = EXCLUDED.name,\n"
|
||||
" company = EXCLUDED.company;\n\n"
|
||||
"COMMIT;\n"
|
||||
)
|
||||
return sql, len(by_code)
|
||||
return sql, len(resolved), disambiguated_count
|
||||
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
@@ -180,12 +216,13 @@ def main() -> int:
|
||||
return 1
|
||||
|
||||
rows = read_xlsx_rows(xlsx_path)
|
||||
sql, dept_count = build_sql(rows)
|
||||
sql, dept_count, disambiguated_count = build_sql(rows)
|
||||
|
||||
output_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
output_path.write_text(sql, encoding="utf-8")
|
||||
print(f"Generated SQL file: {output_path}")
|
||||
print(f"Departments generated: {dept_count}")
|
||||
print(f"Names disambiguated with company suffix: {disambiguated_count}")
|
||||
return 0
|
||||
|
||||
|
||||
File renamed without changes.
+83
-24
@@ -3,12 +3,14 @@
|
||||
Generate batch user INSERT SQL from an Excel (.xlsx) file.
|
||||
|
||||
Mapping (from first sheet):
|
||||
- 工号 -> username, employee_id
|
||||
- 工号 -> username, employee_id, phone_number
|
||||
- 姓名 -> real_name
|
||||
- 部门名称 -> department
|
||||
- email -> {工号}@example.com
|
||||
- password -> 123456 (werkzeug hash)
|
||||
|
||||
Password hashing follows backend logic:
|
||||
- werkzeug.security.generate_password_hash
|
||||
Also grants all active agents to newly inserted users.
|
||||
Skips users whose employee_id already exists.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -19,7 +21,7 @@ import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
from typing import Dict, Iterable, List
|
||||
from typing import Dict, Iterable, List, Tuple
|
||||
|
||||
from werkzeug.security import generate_password_hash
|
||||
|
||||
@@ -137,7 +139,8 @@ def build_insert_sql(
|
||||
role: str,
|
||||
status: str,
|
||||
language: str,
|
||||
) -> str:
|
||||
grant_all_agents: bool,
|
||||
) -> Tuple[str, int]:
|
||||
rows = list(rows)
|
||||
if not rows:
|
||||
raise ValueError("Excel has no rows.")
|
||||
@@ -149,8 +152,10 @@ def build_insert_sql(
|
||||
if missing:
|
||||
raise ValueError(f"Missing required columns: {', '.join(missing)}")
|
||||
|
||||
statements: List[str] = []
|
||||
seen_usernames = set()
|
||||
password_hash = generate_password_hash(default_password)
|
||||
|
||||
incoming_values: List[str] = []
|
||||
seen_employee_ids = set()
|
||||
|
||||
for row in rows[1:]:
|
||||
employee_id = row[header_idx["工号"]].strip() if header_idx["工号"] < len(row) else ""
|
||||
@@ -159,28 +164,76 @@ def build_insert_sql(
|
||||
|
||||
if not employee_id or not real_name:
|
||||
continue
|
||||
if employee_id in seen_employee_ids:
|
||||
continue
|
||||
seen_employee_ids.add(employee_id)
|
||||
|
||||
username = employee_id
|
||||
if username in seen_usernames:
|
||||
continue
|
||||
seen_usernames.add(username)
|
||||
|
||||
phone_number = employee_id
|
||||
email = f"{employee_id}@{email_domain}"
|
||||
password_hash = generate_password_hash(default_password)
|
||||
|
||||
stmt = (
|
||||
"INSERT INTO users "
|
||||
"(username, email, real_name, employee_id, department, password_hash, role, status, language)\n"
|
||||
f"VALUES ({sql_quote(username)}, {sql_quote(email)}, {sql_quote(real_name)}, "
|
||||
f"{sql_quote(employee_id)}, {sql_quote(department)}, {sql_quote(password_hash)}, "
|
||||
f"{sql_quote(role)}, {sql_quote(status)}, {sql_quote(language)});"
|
||||
incoming_values.append(
|
||||
"("
|
||||
f"{sql_quote(employee_id)}, {sql_quote(username)}, {sql_quote(email)}, "
|
||||
f"{sql_quote(real_name)}, {sql_quote(phone_number)}, {sql_quote(department)}, "
|
||||
f"{sql_quote(password_hash)}, {sql_quote(role)}, {sql_quote(status)}, {sql_quote(language)}"
|
||||
")"
|
||||
)
|
||||
statements.append(stmt)
|
||||
|
||||
if not statements:
|
||||
if not incoming_values:
|
||||
raise ValueError("No valid user rows parsed from Excel.")
|
||||
|
||||
return "BEGIN;\n\n" + "\n\n".join(statements) + "\n\nCOMMIT;\n"
|
||||
values_sql = ",\n ".join(incoming_values)
|
||||
|
||||
permissions_cte = ""
|
||||
result_select = "SELECT COUNT(*) AS inserted_users FROM inserted;"
|
||||
if grant_all_agents:
|
||||
permissions_cte = (
|
||||
",\n"
|
||||
"granted AS (\n"
|
||||
" INSERT INTO user_agent_permissions (user_id, agent_id)\n"
|
||||
" SELECT i.id, a.id\n"
|
||||
" FROM inserted i\n"
|
||||
" CROSS JOIN agents a\n"
|
||||
" WHERE COALESCE(a.is_active, TRUE) = TRUE\n"
|
||||
" ON CONFLICT DO NOTHING\n"
|
||||
" RETURNING user_id, agent_id\n"
|
||||
")\n"
|
||||
)
|
||||
result_select = (
|
||||
"SELECT\n"
|
||||
" (SELECT COUNT(*) FROM inserted) AS inserted_users,\n"
|
||||
" (SELECT COUNT(*) FROM granted) AS permission_rows;"
|
||||
)
|
||||
|
||||
sql = (
|
||||
"-- Batch create users from Excel; skip existing employee_id\n"
|
||||
f"-- Users in file: {len(incoming_values)}, default password: {default_password}\n"
|
||||
"BEGIN;\n\n"
|
||||
"WITH incoming (\n"
|
||||
" employee_id, username, email, real_name, phone_number,\n"
|
||||
" department, password_hash, role, status, language\n"
|
||||
") AS (\n"
|
||||
" VALUES\n "
|
||||
+ values_sql
|
||||
+ "\n),\n"
|
||||
"inserted AS (\n"
|
||||
" INSERT INTO users (\n"
|
||||
" username, email, real_name, employee_id, phone_number,\n"
|
||||
" department, password_hash, role, status, language\n"
|
||||
" )\n"
|
||||
" SELECT\n"
|
||||
" username, email, real_name, employee_id, phone_number,\n"
|
||||
" department, password_hash, role, status, language\n"
|
||||
" FROM incoming\n"
|
||||
" ON CONFLICT (employee_id) DO NOTHING\n"
|
||||
" RETURNING id, employee_id\n"
|
||||
")"
|
||||
+ permissions_cte
|
||||
+ result_select
|
||||
+ "\n\nCOMMIT;\n"
|
||||
)
|
||||
return sql, len(incoming_values)
|
||||
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
@@ -194,7 +247,7 @@ def parse_args() -> argparse.Namespace:
|
||||
)
|
||||
parser.add_argument(
|
||||
"--output",
|
||||
default="backend/scripts/generated_user_inserts.sql",
|
||||
default="backend/scripts/insert_user/generated_user_inserts.sql",
|
||||
help="Output SQL file path.",
|
||||
)
|
||||
parser.add_argument(
|
||||
@@ -222,6 +275,11 @@ def parse_args() -> argparse.Namespace:
|
||||
default="zh-CN",
|
||||
help="Default language.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--no-grant-all-agents",
|
||||
action="store_true",
|
||||
help="Do not append SQL to grant all active agents.",
|
||||
)
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
@@ -235,19 +293,20 @@ def main() -> int:
|
||||
return 1
|
||||
|
||||
rows = read_xlsx_first_sheet_rows(xlsx_path)
|
||||
sql = build_insert_sql(
|
||||
sql, user_count = build_insert_sql(
|
||||
rows=rows,
|
||||
default_password=args.default_password,
|
||||
email_domain=args.email_domain,
|
||||
role=args.role,
|
||||
status=args.status,
|
||||
language=args.language,
|
||||
grant_all_agents=not args.no_grant_all_agents,
|
||||
)
|
||||
|
||||
output_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
output_path.write_text(sql, encoding="utf-8")
|
||||
print(f"Generated SQL: {output_path}")
|
||||
print(f"Rows parsed (including header): {len(rows)}")
|
||||
print(f"Users in Excel (deduped by employee_id): {user_count}")
|
||||
return 0
|
||||
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
-- departments.code / departments.name 均有 UNIQUE 约束
|
||||
-- 跨公司重名部门已自动加公司后缀,如:维修A组(和泰电子(吴江)有限公司)
|
||||
BEGIN;
|
||||
|
||||
INSERT INTO departments (code, name, company)
|
||||
VALUES
|
||||
('108524', '维修A组(和泰电子(吴江)有限公司)', '和泰电子(吴江)有限公司'),
|
||||
('110110', '组合', '和泰电子(吴江)有限公司'),
|
||||
('126100', '公用课(和泰电子(吴江)有限公司)', '和泰电子(吴江)有限公司'),
|
||||
('130200', '总账课(和泰电子(吴江)有限公司)', '和泰电子(吴江)有限公司'),
|
||||
('130300', '出纳课(和泰电子(吴江)有限公司)', '和泰电子(吴江)有限公司'),
|
||||
('201000', '总经理室(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('208525', '维修B组(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('208850', '自动化组(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('2101J0', '生一冲压A车间(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('2101L0', '生一组装B车间(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('2101M0', '生一冲压B车间(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('222500', '供应链部(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('226100', '公用课(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('226300', '人事课(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('230100', '成本课(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('230200', '总账课(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('230300', '出纳课(和泰科技(吴江)有限公司)', '和泰科技(吴江)有限公司'),
|
||||
('301000', '总经理室(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('302000', '稽核组', '苏州和信精密科技有限公司'),
|
||||
('305100', '业务部(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('305110', '业一课', '苏州和信精密科技有限公司'),
|
||||
('305120', '业二课', '苏州和信精密科技有限公司'),
|
||||
('308000', '研发中心', '苏州和信精密科技有限公司'),
|
||||
('308500', '研发一部', '苏州和信精密科技有限公司'),
|
||||
('308510', 'PE课', '苏州和信精密科技有限公司'),
|
||||
('308520', '模具课', '苏州和信精密科技有限公司'),
|
||||
('308521', '模具设计', '苏州和信精密科技有限公司'),
|
||||
('308522', '加工组', '苏州和信精密科技有限公司'),
|
||||
('308523', '制模组', '苏州和信精密科技有限公司'),
|
||||
('308524', '维修A组(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('308525', '维修B组(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('308610', 'NCT工程课', '苏州和信精密科技有限公司'),
|
||||
('308800', '研发三部', '苏州和信精密科技有限公司'),
|
||||
('308810', 'IE工程课', '苏州和信精密科技有限公司'),
|
||||
('308850', '自动化组(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('308901', '研发中心测试中心', '苏州和信精密科技有限公司'),
|
||||
('308902', '研发中心技术课', '苏州和信精密科技有限公司'),
|
||||
('310100', '生一冲压B车间(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('311000', '生产一部', '苏州和信精密科技有限公司'),
|
||||
('311110', '生一冲压A车间(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('311120', '生一加工', '苏州和信精密科技有限公司'),
|
||||
('311130', '生一组装B车间(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('311150', '生一组装A车间', '苏州和信精密科技有限公司'),
|
||||
('311180', '生一组装C车间', '苏州和信精密科技有限公司'),
|
||||
('312000', '生产二部', '苏州和信精密科技有限公司'),
|
||||
('312110', '生二下料', '苏州和信精密科技有限公司'),
|
||||
('312120', '生二折弯', '苏州和信精密科技有限公司'),
|
||||
('312130', '生二加工', '苏州和信精密科技有限公司'),
|
||||
('312140', '生二焊接', '苏州和信精密科技有限公司'),
|
||||
('312150', '生二包装', '苏州和信精密科技有限公司'),
|
||||
('312180', '生二包装B车间', '苏州和信精密科技有限公司'),
|
||||
('312200', '生二包装C车间', '苏州和信精密科技有限公司'),
|
||||
('312210', '液冷焊接', '苏州和信精密科技有限公司'),
|
||||
('312230', '液冷组装', '苏州和信精密科技有限公司'),
|
||||
('313000', '生产三部', '苏州和信精密科技有限公司'),
|
||||
('313120', '生三粉体涂装', '苏州和信精密科技有限公司'),
|
||||
('313130', '生三液体涂装', '苏州和信精密科技有限公司'),
|
||||
('313160', '生三成型', '苏州和信精密科技有限公司'),
|
||||
('318000', '品保部(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('318100', '品保课', '苏州和信精密科技有限公司'),
|
||||
('318200', '品管课', '苏州和信精密科技有限公司'),
|
||||
('318300', '文管课', '苏州和信精密科技有限公司'),
|
||||
('322300', '生管课', '苏州和信精密科技有限公司'),
|
||||
('322500', '供应链部(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('322600', '仓储课(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('326100', '公用课(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('326200', '总务课', '苏州和信精密科技有限公司'),
|
||||
('326300', '人事课(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('326400', '关务组(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('330000', '财务部(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('330100', '成本课(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('330200', '总账课(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('330300', '出纳课(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('335000', '资讯组(苏州和信精密科技有限公司)', '苏州和信精密科技有限公司'),
|
||||
('401000', '总经理室(泰国合欣)', '泰国合欣'),
|
||||
('405100', '业务部(泰国合欣)', '泰国合欣'),
|
||||
('418200', '品保组', '泰国合欣'),
|
||||
('422500', '供应链部(泰国合欣)', '泰国合欣'),
|
||||
('422600', '仓储课(泰国合欣)', '泰国合欣'),
|
||||
('426300', '人事课(泰国合欣)', '泰国合欣'),
|
||||
('426400', '关务组(泰国合欣)', '泰国合欣'),
|
||||
('430000', '财务部(泰国合欣)', '泰国合欣'),
|
||||
('435000', '资讯组(泰国合欣)', '泰国合欣'),
|
||||
('436000', '总务', '泰国合欣'),
|
||||
('437000', '生产部(泰国合欣)', '泰国合欣'),
|
||||
('438000', '生管', '泰国合欣'),
|
||||
('440000', 'AR', '泰国合欣'),
|
||||
('440001', 'AP', '泰国合欣'),
|
||||
('440002', 'FN', '泰国合欣'),
|
||||
('501000', '总经理室(尊扬)', '尊扬'),
|
||||
('505100', '业务部(尊扬)', '尊扬'),
|
||||
('518000', '品保部(尊扬)', '尊扬'),
|
||||
('522100', '人事课(尊扬)', '尊扬'),
|
||||
('522500', '供应链部(尊扬)', '尊扬'),
|
||||
('526000', '管理部', '尊扬'),
|
||||
('526400', '关务组(尊扬)', '尊扬'),
|
||||
('530000', '生产部(尊扬)', '尊扬'),
|
||||
('532000', '财务部(尊扬)', '尊扬'),
|
||||
('601000', '总经理室(无锡和宏智散热科技有限公司)', '无锡和宏智散热科技有限公司'),
|
||||
('608000', '技术研发部', '无锡和宏智散热科技有限公司'),
|
||||
('610000', '生产部(无锡和宏智散热科技有限公司)', '无锡和宏智散热科技有限公司'),
|
||||
('610003', '沾锡', '无锡和宏智散热科技有限公司'),
|
||||
('618000', '品保部(无锡和宏智散热科技有限公司)', '无锡和宏智散热科技有限公司'),
|
||||
('622000', '物料部', '无锡和宏智散热科技有限公司'),
|
||||
('626100', '设备部', '无锡和宏智散热科技有限公司'),
|
||||
('626200', '安全部', '无锡和宏智散热科技有限公司'),
|
||||
('626300', '人事行政部', '无锡和宏智散热科技有限公司'),
|
||||
('630000', '财务部(无锡和宏智散热科技有限公司)', '无锡和宏智散热科技有限公司')
|
||||
ON CONFLICT (code) DO UPDATE
|
||||
SET name = EXCLUDED.name,
|
||||
company = EXCLUDED.company;
|
||||
|
||||
COMMIT;
|
||||
File renamed without changes.
@@ -0,0 +1,665 @@
|
||||
-- Batch create users from Excel; skip existing employee_id
|
||||
-- Users in file: 629, default password: 123456
|
||||
BEGIN;
|
||||
|
||||
WITH incoming (
|
||||
employee_id, username, email, real_name, phone_number,
|
||||
department, password_hash, role, status, language
|
||||
) AS (
|
||||
VALUES
|
||||
('0100001', '0100001', '0100001@example.com', '钟国松', '0100001', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100008', '0100008', '0100008@example.com', 'HOONG MING KOON', '0100008', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0107009', '0107009', '0107009@example.com', '王砚', '0107009', '研发一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0108004', '0108004', '0108004@example.com', '吴新升', '0108004', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0203009', '0203009', '0203009@example.com', '施敬', '0203009', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0205003', '0205003', '0205003@example.com', '陈先霞', '0205003', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0212001', '0212001', '0212001@example.com', '郭建', '0212001', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0303013', '0303013', '0303013@example.com', '赵登华', '0303013', '研发中心', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0303021', '0303021', '0303021@example.com', '李庆福', '0303021', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16050101', '16050101', '16050101@example.com', '刘亮亮', '16050101', 'IE工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15120002', '15120002', '15120002@example.com', '段涛', '15120002', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15120016', '15120016', '15120016@example.com', '吴金林', '15120016', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16020081', '16020081', '16020081@example.com', '张京', '16020081', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15070211', '15070211', '15070211@example.com', '吉文博', '15070211', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15060220', '15060220', '15060220@example.com', '胡福才', '15060220', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16020223', '16020223', '16020223@example.com', '吁养峰', '16020223', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0107004', '0107004', '0107004@example.com', '徐雪红', '0107004', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0108002', '0108002', '0108002@example.com', '朱纯美', '0108002', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0203015', '0203015', '0203015@example.com', '赵辉', '0203015', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0203036', '0203036', '0203036@example.com', '成秋兰', '0203036', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0204009', '0204009', '0204009@example.com', '任亚', '0204009', '模具课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0204043', '0204043', '0204043@example.com', '王克学', '0204043', '组合', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0207002', '0207002', '0207002@example.com', '彭德国', '0207002', '生二包装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0209002', '0209002', '0209002@example.com', '李文', '0209002', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0210021', '0210021', '0210021@example.com', '吴军伟', '0210021', '生一组装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0302027', '0302027', '0302027@example.com', '胡建林', '0302027', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0303037', '0303037', '0303037@example.com', '陈广香', '0303037', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0304011', '0304011', '0304011@example.com', '任培中', '0304011', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0309016', '0309016', '0309016@example.com', '殷莲莲', '0309016', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0310015', '0310015', '0310015@example.com', '刘博', '0310015', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0310026', '0310026', '0310026@example.com', '戴冲标', '0310026', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100002', '0100002', '0100002@example.com', '廖重义', '0100002', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100006', '0100006', '0100006@example.com', '陈春兰', '0100006', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0107010', '0107010', '0107010@example.com', '徐永', '0107010', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0204062', '0204062', '0204062@example.com', '蒋忠林', '0204062', '研发中心技术课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0209008', '0209008', '0209008@example.com', '毕华忠', '0209008', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0302045', '0302045', '0302045@example.com', '夏广雷', '0302045', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0303046', '0303046', '0303046@example.com', '张东湖', '0303046', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0304020', '0304020', '0304020@example.com', '任永标', '0304020', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0502043', '0502043', '0502043@example.com', '翟胜超', '0502043', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0507128', '0507128', '0507128@example.com', '刘文猛', '0507128', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0605002', '0605002', '0605002@example.com', '李新华', '0605002', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0609031', '0609031', '0609031@example.com', '王步俊', '0609031', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0704099', '0704099', '0704099@example.com', '王家瑞', '0704099', '研发中心技术课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0705141', '0705141', '0705141@example.com', '徐超', '0705141', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0705352', '0705352', '0705352@example.com', '谢晓鹏', '0705352', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07100278', '07100278', '07100278@example.com', '刘本现', '07100278', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07120283', '07120283', '07120283@example.com', '全龙波', '07120283', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('08050039', '08050039', '08050039@example.com', '文新峰', '08050039', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0506002', '0506002', '0506002@example.com', '李书奎', '0506002', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0507290', '0507290', '0507290@example.com', '刘兵迁', '0507290', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0508019', '0508019', '0508019@example.com', '马恩阳', '0508019', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0607417', '0607417', '0607417@example.com', '常胜党', '0607417', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0608220', '0608220', '0608220@example.com', '李忠华', '0608220', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0706003', '0706003', '0706003@example.com', '魏宝平', '0706003', '生二加工', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07100652', '07100652', '07100652@example.com', '张小奇', '07100652', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07100757', '07100757', '07100757@example.com', '李琳', '07100757', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07110116', '07110116', '07110116@example.com', '潘兵兵', '07110116', '生二包装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0402041', '0402041', '0402041@example.com', '柳付东', '0402041', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0402046', '0402046', '0402046@example.com', '赵琴', '0402046', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0408117', '0408117', '0408117@example.com', '田胜超', '0408117', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0509114', '0509114', '0509114@example.com', '闫伟强', '0509114', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0606001', '0606001', '0606001@example.com', '张海林', '0606001', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0708834', '0708834', '0708834@example.com', '陈杰', '0708834', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07100786', '07100786', '07100786@example.com', '贾江锋', '07100786', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('08040445', '08040445', '08040445@example.com', '王磊', '08040445', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('08070467', '08070467', '08070467@example.com', '朱丽芳', '08070467', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('11070381', '11070381', '11070381@example.com', '韦荣富', '11070381', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12030660', '12030660', '12030660@example.com', '丁宇峰', '12030660', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14040008', '14040008', '14040008@example.com', '叶平杰', '14040008', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12090453', '12090453', '12090453@example.com', '马波涛', '12090453', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12090501', '12090501', '12090501@example.com', '边伟亮', '12090501', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('08030177', '08030177', '08030177@example.com', '宋委委', '08030177', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('08090515', '08090515', '08090515@example.com', '贾非贤', '08090515', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('09020190', '09020190', '09020190@example.com', '武守庆', '09020190', '生一组装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('09060298', '09060298', '09060298@example.com', '潘辉', '09060298', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('09120197', '09120197', '09120197@example.com', '卢强', '09120197', '生一加工', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0304028', '0304028', '0304028@example.com', '徐志江', '0304028', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12020356', '12020356', '12020356@example.com', '程盼盼', '12020356', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14070588', '14070588', '14070588@example.com', '武模博', '14070588', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13070377', '13070377', '13070377@example.com', '尚佳', '13070377', '成本课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13080115', '13080115', '13080115@example.com', '张进喜', '13080115', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13090494', '13090494', '13090494@example.com', '沈来琼', '13090494', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13110328', '13110328', '13110328@example.com', '张强', '13110328', '生二包装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('10030424', '10030424', '10030424@example.com', '吴志彪', '10030424', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('10070059', '10070059', '10070059@example.com', '任钦朋', '10070059', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('10080188', '10080188', '10080188@example.com', '陶莉萍', '10080188', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14080379', '14080379', '14080379@example.com', '孙成欢', '14080379', 'IE工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16030116', '16030116', '16030116@example.com', '汪斯硕', '16030116', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100048', '0100048', '0100048@example.com', '钟环阳', '0100048', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14020877', '14020877', '14020877@example.com', '黄红文', '14020877', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14020892', '14020892', '14020892@example.com', '干云', '14020892', '模具设计', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12021314', '12021314', '12021314@example.com', '曹海周', '12021314', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15010408', '15010408', '15010408@example.com', '占水明', '15010408', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14050369', '14050369', '14050369@example.com', '周永江', '14050369', '生三粉体涂装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14050494', '14050494', '14050494@example.com', '吴文君', '14050494', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16030117', '16030117', '16030117@example.com', '王士文', '16030117', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15080332', '15080332', '15080332@example.com', '卫宜飞', '15080332', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15090106', '15090106', '15090106@example.com', '丁艳芳', '15090106', '模具课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14100527', '14100527', '14100527@example.com', '徐翔', '14100527', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14100793', '14100793', '14100793@example.com', '李宁波', '14100793', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15010464', '15010464', '15010464@example.com', '李娜', '15010464', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13120327', '13120327', '13120327@example.com', '杨艳', '13120327', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16060111', '16060111', '16060111@example.com', '韩轩', '16060111', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0107023', '0107023', '0107023@example.com', '刘义万', '0107023', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100004', '0100004', '0100004@example.com', '钟淑惠', '0100004', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100011', '0100011', '0100011@example.com', '廖启涵', '0100011', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100057', '0100057', '0100057@example.com', '谈勇', '0100057', '研发三部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13120357', '13120357', '13120357@example.com', '谢正梅', '13120357', '研发中心测试中心', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15040016', '15040016', '15040016@example.com', '姚倩倩', '15040016', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15040157', '15040157', '15040157@example.com', '唐艳', '15040157', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16040053', '16040053', '16040053@example.com', '冯晓晶', '16040053', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15020049', '15020049', '15020049@example.com', '王申申', '15020049', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15030174', '15030174', '15030174@example.com', '周亚斌', '15030174', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15090002', '15090002', '15090002@example.com', '姜春雷', '15090002', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15080327', '15080327', '15080327@example.com', '常永贤', '15080327', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15090105', '15090105', '15090105@example.com', '孙二涛', '15090105', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16020130', '16020130', '16020130@example.com', '杨贺龙', '16020130', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15050034', '15050034', '15050034@example.com', '徐新生', '15050034', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16090226', '16090226', '16090226@example.com', '王欢', '16090226', '文管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('07090745', '07090745', '07090745@example.com', '刘江', '07090745', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15120056', '15120056', '15120056@example.com', '曹艳辉', '15120056', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('09050447', '09050447', '09050447@example.com', '徐雷', '09050447', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0204037', '0204037', '0204037@example.com', '吕珍荣', '0204037', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0111012', '0111012', '0111012@example.com', '陈世雄', '0111012', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13120147', '13120147', '13120147@example.com', '夏云辉', '13120147', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('11090752', '11090752', '11090752@example.com', '张香丽', '11090752', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0507135', '0507135', '0507135@example.com', '潘建华', '0507135', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0703691', '0703691', '0703691@example.com', '杜松波', '0703691', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12030430', '12030430', '12030430@example.com', '王宗营', '12030430', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16070041', '16070041', '16070041@example.com', '马海燕', '16070041', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16060241', '16060241', '16060241@example.com', '韩艳青', '16060241', '成本课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16080186', '16080186', '16080186@example.com', '赵银琴', '16080186', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0507131', '0507131', '0507131@example.com', '崔雪', '0507131', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0204077', '0204077', '0204077@example.com', '唐开勇', '0204077', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0705353', '0705353', '0705353@example.com', '唐永礼', '0705353', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('08030183', '08030183', '08030183@example.com', '李小丹', '08030183', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13040172', '13040172', '13040172@example.com', '李磊', '13040172', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16090091', '16090091', '16090091@example.com', '韩李娜', '16090091', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16090033', '16090033', '16090033@example.com', '李新威', '16090033', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100060', '0100060', '0100060@example.com', '廖韵淳', '0100060', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14020868', '14020868', '14020868@example.com', '吕伟', '14020868', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0304023', '0304023', '0304023@example.com', '张树芹', '0304023', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16030164', '16030164', '16030164@example.com', '梅佳佳', '16030164', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14020935', '14020935', '14020935@example.com', '徐秦彬', '14020935', '生三液体涂装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14060051', '14060051', '14060051@example.com', '高超', '14060051', '生产三部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14080161', '14080161', '14080161@example.com', '王婷婷', '14080161', '生产三部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('14100422', '14100422', '14100422@example.com', '薛岳', '14100422', '生产三部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16020251', '16020251', '16020251@example.com', '张贵', '16020251', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('11100729', '11100729', '11100729@example.com', '查培波', '11100729', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16030100', '16030100', '16030100@example.com', '苗继伟', '16030100', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15050006', '15050006', '15050006@example.com', '刘斌', '15050006', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16040056', '16040056', '16040056@example.com', '朱文炳', '16040056', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16100183', '16100183', '16100183@example.com', '白秀荣', '16100183', '生一组装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16100401', '16100401', '16100401@example.com', '胡秀云', '16100401', '文管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15110043', '15110043', '15110043@example.com', '石航武', '15110043', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15120168', '15120168', '15120168@example.com', '赵雷', '15120168', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('09070234', '09070234', '09070234@example.com', '赵祥文', '09070234', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12070189', '12070189', '12070189@example.com', '杨为强', '12070189', '生二加工', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15070145', '15070145', '15070145@example.com', '苟永红', '15070145', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('15080338', '15080338', '15080338@example.com', '韩嫚', '15080338', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16030001', '16030001', '16030001@example.com', '王伟', '16030001', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0406006', '0406006', '0406006@example.com', '曹连波', '0406006', '生一加工', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16090159', '16090159', '16090159@example.com', '李振甲', '16090159', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('16090132', '16090132', '16090132@example.com', '吉玉娟', '16090132', '研发中心测试中心', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17040025', '17040025', '17040025@example.com', '程志蕊', '17040025', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17040041', '17040041', '17040041@example.com', '宋妙宇', '17040041', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17050183', '17050183', '17050183@example.com', '文亮亮', '17050183', '文管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0402074', '0402074', '0402074@example.com', '雒贞', '0402074', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0509158', '0509158', '0509158@example.com', '刘曾瑞', '0509158', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17040001', '17040001', '17040001@example.com', '王蕊', '17040001', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17040156', '17040156', '17040156@example.com', '王小东', '17040156', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17030003', '17030003', '17030003@example.com', '陈飞', '17030003', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17070002', '17070002', '17070002@example.com', '洪阳', '17070002', '研发中心测试中心', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17090117', '17090117', '17090117@example.com', '唐军', '17090117', '生一加工', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17040173', '17040173', '17040173@example.com', '张见常', '17040173', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17070063', '17070063', '17070063@example.com', '纵丰剑', '17070063', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17080212', '17080212', '17080212@example.com', '王睿睿', '17080212', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17100009', '17100009', '17100009@example.com', '谭莹', '17100009', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17070141', '17070141', '17070141@example.com', '朱佩', '17070141', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0408243', '0408243', '0408243@example.com', '晋县东', '0408243', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17120099', '17120099', '17120099@example.com', '赵坤', '17120099', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18040074', '18040074', '18040074@example.com', '刘健谊', '18040074', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18050141', '18050141', '18050141@example.com', '吴云飞', '18050141', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18040126', '18040126', '18040126@example.com', '宋亚茹', '18040126', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18030216', '18030216', '18030216@example.com', '朱美霞', '18030216', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18040139', '18040139', '18040139@example.com', '王淑静', '18040139', '生三粉体涂装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18040166', '18040166', '18040166@example.com', '庄娜', '18040166', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18050003', '18050003', '18050003@example.com', '武少勃', '18050003', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18030534', '18030534', '18030534@example.com', '王味', '18030534', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18030250', '18030250', '18030250@example.com', '黄全芳', '18030250', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18030465', '18030465', '18030465@example.com', '刘风昌', '18030465', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18070120', '18070120', '18070120@example.com', '齐丽娜', '18070120', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18080021', '18080021', '18080021@example.com', '孙光江', '18080021', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18060336', '18060336', '18060336@example.com', '周何源', '18060336', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18080242', '18080242', '18080242@example.com', '周坤元', '18080242', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18080190', '18080190', '18080190@example.com', '朱利勤', '18080190', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18070258', '18070258', '18070258@example.com', '马利波', '18070258', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18070259', '18070259', '18070259@example.com', '姚俊亚', '18070259', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18110284', '18110284', '18110284@example.com', '张弟', '18110284', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18110253', '18110253', '18110253@example.com', '肖文龙', '18110253', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18100051', '18100051', '18100051@example.com', '黄德文', '18100051', '生三成型', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18110127', '18110127', '18110127@example.com', '骆建晖', '18110127', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19030105', '19030105', '19030105@example.com', '黄沙沙', '19030105', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18100114', '18100114', '18100114@example.com', '耿美华', '18100114', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19030079', '19030079', '19030079@example.com', '费锦龙', '19030079', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19030089', '19030089', '19030089@example.com', '沈梅芬', '19030089', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19020354', '19020354', '19020354@example.com', '郑忠英', '19020354', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19030077', '19030077', '19030077@example.com', '贾亚东', '19030077', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100061', '0100061', '0100061@example.com', '钟政格', '0100061', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0100062', '0100062', '0100062@example.com', '郭惠龄', '0100062', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19110076', '19110076', '19110076@example.com', '雷伟鸿', '19110076', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19070195', '19070195', '19070195@example.com', '赵生俊', '19070195', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19110068', '19110068', '19110068@example.com', '廖彥鈞', '19110068', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19120014', '19120014', '19120014@example.com', '史俊兰', '19120014', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19080001', '19080001', '19080001@example.com', '王越', '19080001', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19080002', '19080002', '19080002@example.com', '建华货运1', '19080002', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19060128', '19060128', '19060128@example.com', '陆彦彤', '19060128', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('20030063', '20030063', '20030063@example.com', '姜凌波', '20030063', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('20030337', '20030337', '20030337@example.com', '王萍', '20030337', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19070131', '19070131', '19070131@example.com', '龚平', '19070131', 'IE工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('20090040', '20090040', '20090040@example.com', '张健', '20090040', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('20100223', '20100223', '20100223@example.com', 'Kittiyaporn Ar-sa', '20100223', '财务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('20120023', '20120023', '20120023@example.com', '包杰', '20120023', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('20120026', '20120026', '20120026@example.com', '秦素娟', '20120026', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21010016', '21010016', '21010016@example.com', 'Ketsaraporn_Ple', '21010016', '财务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21030157', '21030157', '21030157@example.com', '蔡静', '21030157', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21030001', '21030001', '21030001@example.com', '雷锐', '21030001', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21050012', '21050012', '21050012@example.com', '王超奎', '21050012', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21050067', '21050067', '21050067@example.com', '雷晓旭', '21050067', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21020011', '21020011', '21020011@example.com', '苌佩文', '21020011', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21060015', '21060015', '21060015@example.com', '王晨艳', '21060015', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21070302', '21070302', '21070302@example.com', '陈波', '21070302', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21070261', '21070261', '21070261@example.com', '朱磊', '21070261', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21080070', '21080070', '21080070@example.com', '梁洪建', '21080070', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21080047', '21080047', '21080047@example.com', '钱臻禹', '21080047', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21070300', '21070300', '21070300@example.com', 'MICHAEL JOSHUA/JOYCE', '21070300', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21080154', '21080154', '21080154@example.com', '郭陈西', '21080154', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22010067', '22010067', '22010067@example.com', '杨苑芳', '22010067', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('0204008', '0204008', '0204008@example.com', '张莉莉', '0204008', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('12040417', '12040417', '12040417@example.com', '李东', '12040417', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21120089', '21120089', '21120089@example.com', '陶志强', '21120089', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22040088', '22040088', '22040088@example.com', '李东东', '22040088', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21100237', '21100237', '21100237@example.com', '刘家章', '21100237', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21110044', '21110044', '21110044@example.com', '高建华', '21110044', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21090059', '21090059', '21090059@example.com', '杨文宇', '21090059', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22030056', '22030056', '22030056@example.com', '田梅翠', '22030056', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22030265', '22030265', '22030265@example.com', '蔡国梅', '22030265', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22040008', '22040008', '22040008@example.com', '马俊跃', '22040008', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22040014', '22040014', '22040014@example.com', '王广州', '22040014', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22040047', '22040047', '22040047@example.com', '杨丽', '22040047', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('13100147', '13100147', '13100147@example.com', '程心意', '13100147', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21110344', '21110344', '21110344@example.com', '时海涛', '21110344', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22050282', '22050282', '22050282@example.com', '张永生', '22050282', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22030077', '22030077', '22030077@example.com', '陈硕', '22030077', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21100087', '21100087', '21100087@example.com', '徐允媛', '21100087', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21120195', '21120195', '21120195@example.com', '周杰', '21120195', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21120198', '21120198', '21120198@example.com', '刘松杰', '21120198', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21120204', '21120204', '21120204@example.com', '徐凯通', '21120204', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22040092', '22040092', '22040092@example.com', '郭辉', '22040092', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22030341', '22030341', '22030341@example.com', '杨阳', '22030341', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21120094', '21120094', '21120094@example.com', '王传宝', '21120094', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('21100195', '21100195', '21100195@example.com', '梅竹', '21100195', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060089', '22060089', '22060089@example.com', '孙强', '22060089', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23020158', '23020158', '23020158@example.com', '张攀飞', '23020158', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22100112', '22100112', '22100112@example.com', '朱杰', '22100112', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22100026', '22100026', '22100026@example.com', '尹修甲', '22100026', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060171', '22060171', '22060171@example.com', '邬明', '22060171', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22110048', '22110048', '22110048@example.com', '闫伟奇', '22110048', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060151', '22060151', '22060151@example.com', '蒋海洋', '22060151', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060153', '22060153', '22060153@example.com', '张畅', '22060153', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23010023', '23010023', '23010023@example.com', '荣亚', '23010023', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23010061', '23010061', '23010061@example.com', '尹微微', '23010061', '生一组装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060240', '22060240', '22060240@example.com', '钱林芳', '22060240', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23070032', '23070032', '23070032@example.com', '沈诚', '23070032', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17120043', '17120043', '17120043@example.com', '陈新立', '17120043', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23020100', '23020100', '23020100@example.com', '王琴', '23020100', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22090318', '22090318', '22090318@example.com', '顾孝飞', '22090318', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23060129', '23060129', '23060129@example.com', '胡江涛', '23060129', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23060180', '23060180', '23060180@example.com', '占宇飞', '23060180', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23090075', '23090075', '23090075@example.com', '于霄', '23090075', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23090077', '23090077', '23090077@example.com', '刘然', '23090077', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060331', '22060331', '22060331@example.com', '何莲', '22060331', '成本课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('09070040', '09070040', '09070040@example.com', '吴志强', '09070040', '生一冲压A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22070004', '22070004', '22070004@example.com', '肖传升', '22070004', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22090174', '22090174', '22090174@example.com', '陆贵', '22090174', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23020069', '23020069', '23020069@example.com', '蔡正利', '23020069', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060425', '22060425', '22060425@example.com', '杨浩', '22060425', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23070054', '23070054', '23070054@example.com', '陈海波', '23070054', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060360', '22060360', '22060360@example.com', '孙朗', '22060360', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22080117', '22080117', '22080117@example.com', '闫艳', '22080117', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23030001', '23030001', '23030001@example.com', '何信昌', '23030001', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23060175', '23060175', '23060175@example.com', '庄召彦', '23060175', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23090166', '23090166', '23090166@example.com', '周倩', '23090166', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23090197', '23090197', '23090197@example.com', '王兆丰', '23090197', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060359', '22060359', '22060359@example.com', '朱孝垚', '22060359', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22060362', '22060362', '22060362@example.com', '王涵', '22060362', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23070053', '23070053', '23070053@example.com', '郭永琦', '23070053', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22090008', '22090008', '22090008@example.com', '刘果果', '22090008', '生一加工', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23080033', '23080033', '23080033@example.com', '江静秋', '23080033', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23090167', '23090167', '23090167@example.com', '常治国', '23090167', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('19060111', '19060111', '19060111@example.com', '李琳', '19060111', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('22070001', '22070001', '22070001@example.com', '周春兰', '22070001', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24060001', '24060001', '24060001@example.com', '王朴学', '24060001', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24060011', '24060011', '24060011@example.com', '董心蕊', '24060011', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('17080014', '17080014', '17080014@example.com', '贾春平', '17080014', '生二包装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030005', '24030005', '24030005@example.com', '张藤藤', '24030005', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24050002', '24050002', '24050002@example.com', '谢洋洋', '24050002', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24010004', '24010004', '24010004@example.com', '黄艳', '24010004', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24010005', '24010005', '24010005@example.com', '覃星梅', '24010005', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24010006', '24010006', '24010006@example.com', '玉洁莹', '24010006', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24020008', '24020008', '24020008@example.com', '吴佳静', '24020008', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24010011', '24010011', '24010011@example.com', '余萍', '24010011', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24050010', '24050010', '24050010@example.com', '王翠红', '24050010', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24050011', '24050011', '24050011@example.com', '杨晓丽', '24050011', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070020', '24070020', '24070020@example.com', '陆国航', '24070020', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24050012', '24050012', '24050012@example.com', '任志伟', '24050012', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24040007', '24040007', '24040007@example.com', '潘学兵', '24040007', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24060008', '24060008', '24060008@example.com', '郭哲哲', '24060008', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24040012', '24040012', '24040012@example.com', '赵茜', '24040012', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24050006', '24050006', '24050006@example.com', '邵文峰', '24050006', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24060013', '24060013', '24060013@example.com', '张思怡', '24060013', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110136', '23110136', '23110136@example.com', '叶艳军', '23110136', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110137', '23110137', '23110137@example.com', '杨小柳', '23110137', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110181', '23110181', '23110181@example.com', '柴晓红', '23110181', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110276', '23110276', '23110276@example.com', 'Sirinrat Thongbai', '23110276', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030015', '24030015', '24030015@example.com', '刘昀晟', '24030015', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030016', '24030016', '24030016@example.com', '刘汉艺', '24030016', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24080021', '24080021', '24080021@example.com', '傅湘文', '24080021', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070028', '24070028', '24070028@example.com', '袁宇豪', '24070028', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070033', '24070033', '24070033@example.com', '刘晨', '24070033', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070049', '24070049', '24070049@example.com', '吴七益', '24070049', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070053', '24070053', '24070053@example.com', '梁雅彤', '24070053', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030017', '24030017', '24030017@example.com', '杨明洲', '24030017', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('18080074', '18080074', '18080074@example.com', '侯景宇', '18080074', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24050004', '24050004', '24050004@example.com', '暴雨', '24050004', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24040001', '24040001', '24040001@example.com', '朱文康', '24040001', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24040004', '24040004', '24040004@example.com', '徐媛媛', '24040004', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23120103', '23120103', '23120103@example.com', '钱圣杰', '23120103', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070012', '24070012', '24070012@example.com', '張晶', '24070012', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110223', '23110223', '23110223@example.com', '陈信源', '23110223', '财务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24060005', '24060005', '24060005@example.com', '胡建建', '24060005', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070042', '24070042', '24070042@example.com', '李树普', '24070042', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070015', '24070015', '24070015@example.com', '蘇婉儀', '24070015', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070038', '24070038', '24070038@example.com', '孙嘉研', '24070038', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24070016', '24070016', '24070016@example.com', '黎定冬', '24070016', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110205', '23110205', '23110205@example.com', '赵绍康', '23110205', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24010002', '24010002', '24010002@example.com', '吴惠', '24010002', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030001', '24030001', '24030001@example.com', '张大春', '24030001', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030002', '24030002', '24030002@example.com', '郭京城', '24030002', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110118', '23110118', '23110118@example.com', '刘继宾', '23110118', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110238', '23110238', '23110238@example.com', '杨苏华', '23110238', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110277', '23110277', '23110277@example.com', 'Peerapan Tantanij', '23110277', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110279', '23110279', '23110279@example.com', 'Natchapat Thirach', '23110279', 'FN', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110280', '23110280', '23110280@example.com', 'Khanittha Sudchaliao', '23110280', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110283', '23110283', '23110283@example.com', 'SAKDINON SILAWAN', '23110283', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110284', '23110284', '23110284@example.com', 'JESSADA CHANGWISES', '23110284', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('23110285', '23110285', '23110285@example.com', 'Jirapat Sirsamut', '23110285', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030007', '24030007', '24030007@example.com', '景恩龙', '24030007', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24020003', '24020003', '24020003@example.com', '李翠英', '24020003', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24030009', '24030009', '24030009@example.com', '陈青和', '24030009', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110019', '24110019', '24110019@example.com', '邬家颖', '24110019', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110020', '24110020', '24110020@example.com', '张炜', '24110020', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110036', '24110036', '24110036@example.com', '王琪斌', '24110036', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110026', '24110026', '24110026@example.com', '汪丹丹', '24110026', '人事行政部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120045', '24120045', '24120045@example.com', '赵子瑞', '24120045', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120042', '24120042', '24120042@example.com', '张康康', '24120042', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24090009', '24090009', '24090009@example.com', '刘庆富', '24090009', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120053', '24120053', '24120053@example.com', '王杰', '24120053', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010011', '25010011', '25010011@example.com', '黄志强', '25010011', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010023', '25010023', '25010023@example.com', '张九', '25010023', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110045', '24110045', '24110045@example.com', '章卫国', '24110045', '设备部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020033', '25020033', '25020033@example.com', '倪江', '25020033', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110022', '24110022', '24110022@example.com', '姚莉娜', '24110022', '财务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010079', '25010079', '25010079@example.com', 'Jeerawat kornthong', '25010079', 'AP', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24090019', '24090019', '24090019@example.com', '李国冻', '24090019', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020010', '25020010', '25020010@example.com', '占文彬', '25020010', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120008', '24120008', '24120008@example.com', '庞哨峰', '24120008', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120009', '24120009', '24120009@example.com', '武光辉', '24120009', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120060', '24120060', '24120060@example.com', '石霖', '24120060', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24090011', '24090011', '24090011@example.com', '王思耀', '24090011', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24090001', '24090001', '24090001@example.com', '王晨飞', '24090001', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020029', '25020029', '25020029@example.com', 'Suwisa Mikhunprasoet', '25020029', 'AR', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020030', '25020030', '25020030@example.com', '李连斌', '25020030', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020031', '25020031', '25020031@example.com', '许友松', '25020031', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120051', '24120051', '24120051@example.com', '李镔汇', '24120051', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120049', '24120049', '24120049@example.com', '姚安妍', '24120049', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100009', '24100009', '24100009@example.com', '庞玉鹏', '24100009', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24090010', '24090010', '24090010@example.com', '孙灿', '24090010', '液冷焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100010', '24100010', '24100010@example.com', '肖彬', '24100010', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100011', '24100011', '24100011@example.com', '凌光', '24100011', '技术研发部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100012', '24100012', '24100012@example.com', '王大为', '24100012', '安全部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100013', '24100013', '24100013@example.com', '苏长坤', '24100013', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100014', '24100014', '24100014@example.com', '王义军', '24100014', '人事行政部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110003', '24110003', '24110003@example.com', '苗利军', '24110003', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110013', '24110013', '24110013@example.com', '黄佳伟', '24110013', '物料部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010048', '25010048', '25010048@example.com', '王煜', '25010048', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110043', '24110043', '24110043@example.com', '娄绪明', '24110043', '液冷焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020018', '25020018', '25020018@example.com', '蔡宇', '25020018', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020019', '25020019', '25020019@example.com', '朱睿', '25020019', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020024', '25020024', '25020024@example.com', '陈建伟', '25020024', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110005', '24110005', '24110005@example.com', '文壮', '24110005', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24110018', '24110018', '24110018@example.com', '高帅', '24110018', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24120005', '24120005', '24120005@example.com', '王大文', '24120005', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010027', '25010027', '25010027@example.com', '张彦霞', '25010027', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020020', '25020020', '25020020@example.com', '谭清薷', '25020020', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020021', '25020021', '25020021@example.com', '谢蔓', '25020021', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020037', '25020037', '25020037@example.com', '刘成锐', '25020037', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010015', '25010015', '25010015@example.com', '肖来廷', '25010015', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020035', '25020035', '25020035@example.com', '裴孟', '25020035', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020047', '25020047', '25020047@example.com', '牛伟亮', '25020047', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24100024', '24100024', '24100024@example.com', '王立新', '24100024', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010028', '25010028', '25010028@example.com', '赵玉泷', '25010028', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('24090003', '24090003', '24090003@example.com', '李明锋', '24090003', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25010080', '25010080', '25010080@example.com', 'kanmanee Masathum', '25010080', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030019', '25030019', '25030019@example.com', '周振国', '25030019', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030049', '25030049', '25030049@example.com', 'Suwakhon Charoenkhet', '25030049', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030050', '25030050', '25030050@example.com', 'Chalisa Yibklang', '25030050', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040014', '25040014', '25040014@example.com', '屈争兵', '25040014', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030044', '25030044', '25030044@example.com', 'ChudchawalSri-in', '25030044', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030046', '25030046', '25030046@example.com', 'Malinee Papong', '25030046', '品保组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030011', '25030011', '25030011@example.com', '刘江柏', '25030011', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030012', '25030012', '25030012@example.com', '陈平', '25030012', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050028', '25050028', '25050028@example.com', '胡静娴', '25050028', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050029', '25050029', '25050029@example.com', '张珂', '25050029', '成本课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030051', '25030051', '25030051@example.com', 'Apichaya Ratchana', '25030051', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030052', '25030052', '25030052@example.com', 'Paphatsara Luecha', '25030052', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030054', '25030054', '25030054@example.com', 'Pracha Minksink', '25030054', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030057', '25030057', '25030057@example.com', 'Seksan Rungrueangsi', '25030057', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040048', '25040048', '25040048@example.com', '赵芳恒', '25040048', '加工组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030020', '25030020', '25030020@example.com', '王秀英', '25030020', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030009', '25030009', '25030009@example.com', '林俊杰', '25030009', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050001', '25050001', '25050001@example.com', '吳重凉', '25050001', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030035', '25030035', '25030035@example.com', '张柳红', '25030035', '物料部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020067', '25020067', '25020067@example.com', '王艳', '25020067', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020068', '25020068', '25020068@example.com', '李会会', '25020068', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050004', '25050004', '25050004@example.com', '陈琳', '25050004', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030058', '25030058', '25030058@example.com', 'Kitsada Wisetwohan', '25030058', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030071', '25030071', '25030071@example.com', 'Suwannee Charoensuk', '25030071', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050010', '25050010', '25050010@example.com', '董安太', '25050010', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020060', '25020060', '25020060@example.com', '晁银博', '25020060', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020061', '25020061', '25020061@example.com', '程红光', '25020061', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020062', '25020062', '25020062@example.com', '刘筱路', '25020062', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030047', '25030047', '25030047@example.com', 'Rattana Hongkham', '25030047', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030048', '25030048', '25030048@example.com', 'Ploychompoo Sosaweng', '25030048', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030005', '25030005', '25030005@example.com', '黄芝洁', '25030005', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030036', '25030036', '25030036@example.com', '庞俊庆', '25030036', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050031', '25050031', '25050031@example.com', '闵菁', '25050031', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050033', '25050033', '25050033@example.com', '吳禮盛', '25050033', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030001', '25030001', '25030001@example.com', '朱元昊', '25030001', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030029', '25030029', '25030029@example.com', '王辉华', '25030029', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040025', '25040025', '25040025@example.com', '易珍梅', '25040025', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040026', '25040026', '25040026@example.com', '武丽丽', '25040026', '生一冲压B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040038', '25040038', '25040038@example.com', '王临风', '25040038', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050025', '25050025', '25050025@example.com', '周世阳', '25050025', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050037', '25050037', '25050037@example.com', '夏骏宇', '25050037', '生二折弯', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030043', '25030043', '25030043@example.com', '刘守奥', '25030043', 'IE工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030004', '25030004', '25030004@example.com', '赵军伟', '25030004', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25050018', '25050018', '25050018@example.com', '成鑫', '25050018', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030014', '25030014', '25030014@example.com', '张浩文', '25030014', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040007', '25040007', '25040007@example.com', '张蕊', '25040007', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040018', '25040018', '25040018@example.com', 'LIM MENG HOE', '25040018', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040051', '25040051', '25040051@example.com', '孟一帆', '25040051', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020065', '25020065', '25020065@example.com', '尚茹燕', '25020065', '业二课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030034', '25030034', '25030034@example.com', '李莹霞', '25030034', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020073', '25020073', '25020073@example.com', '余波波', '25020073', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040036', '25040036', '25040036@example.com', '王宝红', '25040036', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030013', '25030013', '25030013@example.com', '高健', '25030013', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040011', '25040011', '25040011@example.com', '李硕', '25040011', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25040032', '25040032', '25040032@example.com', '李垚娟', '25040032', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030063', '25030063', '25030063@example.com', 'Jirasak Srirahang', '25030063', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030065', '25030065', '25030065@example.com', 'Chonticha Jampawong', '25030065', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25030069', '25030069', '25030069@example.com', 'Wilailak Srisamai', '25030069', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080015', '25080015', '25080015@example.com', '葉芯華', '25080015', '品保部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060045', '25060045', '25060045@example.com', '温德佳', '25060045', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060077', '25060077', '25060077@example.com', '黎炜贤', '25060077', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060010', '25060010', '25060010@example.com', 'Piyawan Rodsakul', '25060010', 'AR', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060011', '25060011', '25060011@example.com', 'Supawadee', '25060011', 'FN', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070011', '25070011', '25070011@example.com', '冷传金', '25070011', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070019', '25070019', '25070019@example.com', '吳蕙萍', '25070019', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060002', '25060002', '25060002@example.com', '廖益賢', '25060002', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060003', '25060003', '25060003@example.com', '黄康', '25060003', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060004', '25060004', '25060004@example.com', '徐依茜', '25060004', '文管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060006', '25060006', '25060006@example.com', '廖秋琪', '25060006', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070113', '25070113', '25070113@example.com', '罗文涛', '25070113', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070067', '25070067', '25070067@example.com', '魏宗光', '25070067', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060034', '25060034', '25060034@example.com', '李怡靜', '25060034', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060053', '25060053', '25060053@example.com', '褚志毅', '25060053', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060074', '25060074', '25060074@example.com', '罗韦福', '25060074', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080005', '25080005', '25080005@example.com', '李先荣', '25080005', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080017', '25080017', '25080017@example.com', '钱智坤', '25080017', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070089', '25070089', '25070089@example.com', '李瑞南', '25070089', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070099', '25070099', '25070099@example.com', '卢彬昊', '25070099', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070116', '25070116', '25070116@example.com', '魏振宇', '25070116', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060014', '25060014', '25060014@example.com', 'Thitirat Nathakunlanan', '25060014', '总务', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080022', '25080022', '25080022@example.com', '章万松', '25080022', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070101', '25070101', '25070101@example.com', '赵晓宇', '25070101', '液冷焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060081', '25060081', '25060081@example.com', '盛阳', '25060081', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070018', '25070018', '25070018@example.com', '吴松骏', '25070018', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070052', '25070052', '25070052@example.com', '赵举彪', '25070052', '生二包装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080021', '25080021', '25080021@example.com', 'ARISA INSAMRAN', '25080021', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080049', '25080049', '25080049@example.com', '张林娜', '25080049', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080050', '25080050', '25080050@example.com', '朱芳芳', '25080050', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080056', '25080056', '25080056@example.com', '任娜娜', '25080056', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080058', '25080058', '25080058@example.com', '盛潇', '25080058', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070059', '25070059', '25070059@example.com', '李紫月', '25070059', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25060040', '25060040', '25060040@example.com', '李倩', '25060040', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080036', '25080036', '25080036@example.com', '蔡明明', '25080036', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070007', '25070007', '25070007@example.com', '李明杨', '25070007', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070008', '25070008', '25070008@example.com', '杨佳睿', '25070008', '生产一部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080018', '25080018', '25080018@example.com', '陆翔', '25080018', '生二包装B车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080029', '25080029', '25080029@example.com', 'Phunyarat Phumgnam', '25080029', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080039', '25080039', '25080039@example.com', '黎俊', '25080039', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080045', '25080045', '25080045@example.com', 'Khatthareeya Seelao', '25080045', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070044', '25070044', '25070044@example.com', '沈文祺', '25070044', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070095', '25070095', '25070095@example.com', '张君', '25070095', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070054', '25070054', '25070054@example.com', '范子杰', '25070054', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25070088', '25070088', '25070088@example.com', '张鑫', '25070088', 'IE工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100011', '25100011', '25100011@example.com', '凌逸飞', '25100011', '液冷组装', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25110026', '25110026', '25110026@example.com', '蒋祖洪', '25110026', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('1016', '1016', '1016@example.com', '刘安良', '1016', '沾锡', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010002', '26010002', '26010002@example.com', '姜梦园', '26010002', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010003', '26010003', '26010003@example.com', '屈武智', '26010003', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010005', '26010005', '26010005@example.com', '李吉瑞', '26010005', '维修B组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010006', '26010006', '26010006@example.com', '于亚鹏', '26010006', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25080073', '25080073', '25080073@example.com', '毕宏斌', '25080073', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010008', '26010008', '26010008@example.com', '丁贵磊', '26010008', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010009', '26010009', '26010009@example.com', '刘帆', '26010009', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010010', '26010010', '26010010@example.com', '张龙', '26010010', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010011', '26010011', '26010011@example.com', '周海文', '26010011', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010013', '26010013', '26010013@example.com', '王林祥', '26010013', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090011', '25090011', '25090011@example.com', '杨广玉', '25090011', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010014', '26010014', '26010014@example.com', '马鑫鑫', '26010014', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100005', '25100005', '25100005@example.com', '滕鹏', '25100005', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100006', '25100006', '25100006@example.com', '蒋璐莎', '25100006', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090021', '25090021', '25090021@example.com', 'Piyawan Nanchana', '25090021', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100030', '25100030', '25100030@example.com', '翟晓雨', '25100030', '人事行政部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090028', '25090028', '25090028@example.com', '谢旭升', '25090028', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090056', '25090056', '25090056@example.com', '张文杰', '25090056', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100001', '25100001', '25100001@example.com', '王益如', '25100001', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100038', '25100038', '25100038@example.com', '陈洁', '25100038', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510021', 'H2510021', 'H2510021@example.com', 'Narisara Sonphakdee', 'H2510021', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510022', 'H2510022', 'H2510022@example.com', 'Thidara tPhilaakun', 'H2510022', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510033', 'H2510033', 'H2510033@example.com', 'Nattawut Hwangchuen', 'H2510033', '生产部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510038', 'H2510038', 'H2510038@example.com', 'Anamai Thopila', 'H2510038', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510040', 'H2510040', 'H2510040@example.com', 'Kiartichai Hngonkai', 'H2510040', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510041', 'H2510041', 'H2510041@example.com', 'Pannita jadkhong', 'H2510041', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510019', 'H2510019', 'H2510019@example.com', 'Nattaya Tao-anon', 'H2510019', 'AP', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600002', 'H2600002', 'H2600002@example.com', 'Paramaporn Krajangchit', 'H2600002', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25120001', '25120001', '25120001@example.com', '陈睿', '25120001', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090006', '25090006', '25090006@example.com', '董艳', '25090006', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090022', '25090022', '25090022@example.com', '钱元元', '25090022', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090023', '25090023', '25090023@example.com', '彭涛', '25090023', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010021', '26010021', '26010021@example.com', 'KAEWCHAISOON KHWANPEEMAI', '26010021', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010023', '26010023', '26010023@example.com', 'PHUENGSAARD TANAWUT', '26010023', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010026', '26010026', '26010026@example.com', 'SRINAROT NATHIPHAT', '26010026', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010029', '26010029', '26010029@example.com', 'KANNGAM NIRAT', '26010029', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010031', '26010031', '26010031@example.com', 'AONDEE NATTHAMON', '26010031', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010032', '26010032', '26010032@example.com', 'SAWADDEPAB NUTTHAPHONG', '26010032', '自动化组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010033', '26010033', '26010033@example.com', 'JIRAPATTANATAD POJANAKORN', '26010033', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090019', '25090019', '25090019@example.com', '任婷', '25090019', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100008', '25100008', '25100008@example.com', '王艳艳', '25100008', '稽核组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100039', '25100039', '25100039@example.com', '梁宇', '25100039', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25110001', '25110001', '25110001@example.com', '吴岩松', '25110001', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090060', '25090060', '25090060@example.com', '王佩', '25090060', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090062', '25090062', '25090062@example.com', '任窑', '25090062', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25120004', '25120004', '25120004@example.com', '沈友国', '25120004', '维修A组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25120012', '25120012', '25120012@example.com', '黃淑沂', '25120012', '财务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010049', '26010049', '26010049@example.com', '蒯飞宇', '26010049', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100022', '25100022', '25100022@example.com', '李莎莎', '25100022', '成本课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25110011', '25110011', '25110011@example.com', '高武举', '25110011', '制模组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600001', 'H2600001', 'H2600001@example.com', 'Sumol Jiraprapawat', 'H2600001', 'AP', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25020045', '25020045', '25020045@example.com', '杨琰', '25020045', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25120007', '25120007', '25120007@example.com', '鄭帷駖', '25120007', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25100036', '25100036', '25100036@example.com', '胡艳芳', '25100036', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010001', '26010001', '26010001@example.com', '李浩', '26010001', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25120011', '25120011', '25120011@example.com', '林欣泰', '25120011', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510012', 'H2510012', 'H2510012@example.com', 'Kanokpat Tawanchokekul', 'H2510012', '生管', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2510013', 'H2510013', 'H2510013@example.com', 'Jeranant Thanmajaroenrach', 'H2510013', 'AR', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010063', '26010063', '26010063@example.com', '林翠萍', '26010063', '管理部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25090009', '25090009', '25090009@example.com', '孔骏', '25090009', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25110002', '25110002', '25110002@example.com', '曹锦烨', '25110002', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('25120015', '25120015', '25120015@example.com', '潘璟熹', '25120015', 'NCT工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600025', 'H2600025', 'H2600025@example.com', 'BOONJAROEN NUEANGNIL', 'H2600025', '关务组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050030', '26050030', '26050030@example.com', '翁孝婷', '26050030', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030017', '26030017', '26030017@example.com', '黃煜珊', '26030017', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600036', 'H2600036', 'H2600036@example.com', 'HUANG, CHIAO-CHEN', 'H2600036', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030016', '26030016', '26030016@example.com', '苏家泼', '26030016', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26040017', '26040017', '26040017@example.com', '张方方', '26040017', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26040019', '26040019', '26040019@example.com', '李明岗', '26040019', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050002', '26050002', '26050002@example.com', '孟恺宇', '26050002', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600028', 'H2600028', 'H2600028@example.com', 'Auentip Promyong', 'H2600028', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030023', '26030023', '26030023@example.com', '任国浩', '26030023', '公用课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030026', '26030026', '26030026@example.com', '卢炜程', '26030026', '生二焊接', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030019', '26030019', '26030019@example.com', '李焕冉', '26030019', '出纳课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050001', '26050001', '26050001@example.com', '李少奇', '26050001', '总经理室', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010071', '26010071', '26010071@example.com', '马源伯', '26010071', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600022', 'H2600022', 'H2600022@example.com', 'Saowarak Hinphila', 'H2600022', '业务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600037', 'H2600037', 'H2600037@example.com', 'Kanokporn Rungthong', 'H2600037', '人事课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600039', 'H2600039', 'H2600039@example.com', 'Itthirat Chaiya', 'H2600039', '生管', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030009', '26030009', '26030009@example.com', '何永俊', '26030009', '品保课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600034', 'H2600034', 'H2600034@example.com', '姜岳廷', 'H2600034', '财务部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050003', '26050003', '26050003@example.com', '曹惠鹏', '26050003', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050005', '26050005', '26050005@example.com', '周新虎', '26050005', 'IE工程课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050006', '26050006', '26050006@example.com', '许银亮', '26050006', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600029', 'H2600029', 'H2600029@example.com', 'Kawita Sangsai', 'H2600029', 'FN', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030025', '26030025', '26030025@example.com', '梁春艳', '26030025', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26020002', '26020002', '26020002@example.com', '任雪灵', '26020002', '稽核组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600031', 'H2600031', 'H2600031@example.com', 'Pattamanun Rhitsuk', 'H2600031', '品保组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050010', '26050010', '26050010@example.com', '吴思彤', '26050010', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030014', '26030014', '26030014@example.com', '高一鸣', '26030014', '生二下料', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26010067', '26010067', '26010067@example.com', '冯潭龙', '26010067', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26040006', '26040006', '26040006@example.com', '刘义亮', '26040006', '资讯组', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030004', '26030004', '26030004@example.com', '周婷婷', '26030004', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26030005', '26030005', '26030005@example.com', '农彩雪', '26030005', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600027', 'H2600027', 'H2600027@example.com', 'NOPPARIT JANKASEAM', 'H2600027', '仓储课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050015', '26050015', '26050015@example.com', '曹智程', '26050015', 'PE课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050004', '26050004', '26050004@example.com', '王清波', '26050004', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600020', 'H2600020', 'H2600020@example.com', 'Patchanisa Boonthiam', 'H2600020', '供应链部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('H2600035', 'H2600035', 'H2600035@example.com', 'Thitiya Aiamsuksai', 'H2600035', 'AP', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26040014', '26040014', '26040014@example.com', '张胜男', '26040014', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26040013', '26040013', '26040013@example.com', '李丽', '26040013', '生一组装C车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26040005', '26040005', '26040005@example.com', '金徽', '26040005', '品管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050046', '26050046', '26050046@example.com', '刘娟', '26050046', '总账课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050047', '26050047', '26050047@example.com', '马文轩', '26050047', '生管课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050049', '26050049', '26050049@example.com', '陈旭', '26050049', '总务课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050052', '26050052', '26050052@example.com', '李思瑶', '26050052', '生产二部', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050039', '26050039', '26050039@example.com', '林双荣', '26050039', '生一组装A车间', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN'),
|
||||
('26050037', '26050037', '26050037@example.com', '苟俊贤', '26050037', '业一课', 'scrypt:32768:8:1$rV1tamkdcuqlEX2t$60c343d04a01802c3ae4842a4aa7144e72bcd94a66072adb48b5213d3427566ff506f492b4fae5d7a4f8a8671e44cb98fac91a84e47f61ed71c4188ea4716221', 'user', 'active', 'zh-CN')
|
||||
),
|
||||
inserted AS (
|
||||
INSERT INTO users (
|
||||
username, email, real_name, employee_id, phone_number,
|
||||
department, password_hash, role, status, language
|
||||
)
|
||||
SELECT
|
||||
username, email, real_name, employee_id, phone_number,
|
||||
department, password_hash, role, status, language
|
||||
FROM incoming
|
||||
ON CONFLICT (employee_id) DO NOTHING
|
||||
RETURNING id, employee_id
|
||||
),
|
||||
granted AS (
|
||||
INSERT INTO user_agent_permissions (user_id, agent_id)
|
||||
SELECT i.id, a.id
|
||||
FROM inserted i
|
||||
CROSS JOIN agents a
|
||||
WHERE COALESCE(a.is_active, TRUE) = TRUE
|
||||
ON CONFLICT DO NOTHING
|
||||
RETURNING user_id, agent_id
|
||||
)
|
||||
SELECT
|
||||
(SELECT COUNT(*) FROM inserted) AS inserted_users,
|
||||
(SELECT COUNT(*) FROM granted) AS permission_rows;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,374 @@
|
||||
import pytest
|
||||
|
||||
from app import create_app, db
|
||||
|
||||
from app.models import User
|
||||
|
||||
from app.api import user as user_api
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
def client():
|
||||
|
||||
app = create_app('testing')
|
||||
|
||||
app.config['AUTH_LOGIN_MODE'] = 'password'
|
||||
|
||||
|
||||
|
||||
with app.test_client() as client:
|
||||
|
||||
with app.app_context():
|
||||
|
||||
db.create_all()
|
||||
|
||||
user = User(username='testuser', role='user', email='test@example.com')
|
||||
|
||||
user.set_password('old-password')
|
||||
|
||||
db.session.add(user)
|
||||
|
||||
db.session.commit()
|
||||
|
||||
yield client
|
||||
|
||||
db.session.remove()
|
||||
|
||||
db.drop_all()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def _auth_headers(client):
|
||||
|
||||
res = client.post('/api/user/login', json={'username': 'testuser', 'password': 'old-password'})
|
||||
|
||||
data = res.get_json()
|
||||
|
||||
return {
|
||||
|
||||
'X-User-Id': str(data['id']),
|
||||
|
||||
'X-Username': data['username'],
|
||||
|
||||
'X-Role': data['role'],
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_local_mode(client):
|
||||
|
||||
headers = _auth_headers(client)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'old-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 200
|
||||
|
||||
|
||||
|
||||
user = db.session.query(User).filter_by(username='testuser').first()
|
||||
|
||||
assert user.check_password('new-password')
|
||||
|
||||
assert not user.check_password('old-password')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_local_mode_syncs_casdoor(client, monkeypatch):
|
||||
|
||||
client.application.config['CASDOOR_BASE_URL'] = 'http://casdoor.test'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_ID'] = 'client-id'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_SECRET'] = 'client-secret'
|
||||
|
||||
client.application.config['CASDOOR_ORGANIZATION'] = 'organization_HX'
|
||||
|
||||
casdoor_calls = {'set_password': 0}
|
||||
|
||||
|
||||
|
||||
def fake_set_password(user_owner, user_name, old_password, new_password):
|
||||
|
||||
casdoor_calls['set_password'] += 1
|
||||
|
||||
assert user_owner == 'organization_HX'
|
||||
|
||||
assert user_name == 'testuser'
|
||||
|
||||
assert old_password == 'old-password'
|
||||
|
||||
assert new_password == 'new-password'
|
||||
|
||||
|
||||
|
||||
monkeypatch.setattr(user_api, '_casdoor_set_password', fake_set_password)
|
||||
|
||||
|
||||
|
||||
headers = _auth_headers(client)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'old-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 200
|
||||
|
||||
assert casdoor_calls == {'set_password': 1}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_local_mode_wrong_current(client):
|
||||
|
||||
headers = _auth_headers(client)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'wrong-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 403
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_casdoor_mode(client, monkeypatch):
|
||||
|
||||
client.application.config['AUTH_LOGIN_MODE'] = 'casdoor'
|
||||
|
||||
client.application.config['CASDOOR_BASE_URL'] = 'http://casdoor.test'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_ID'] = 'client-id'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_SECRET'] = 'client-secret'
|
||||
|
||||
client.application.config['CASDOOR_ORGANIZATION'] = 'organization_HX'
|
||||
|
||||
casdoor_calls = {'set_password': 0}
|
||||
|
||||
|
||||
|
||||
def fake_set_password(user_owner, user_name, old_password, new_password):
|
||||
|
||||
casdoor_calls['set_password'] += 1
|
||||
|
||||
assert user_owner == 'organization_HX'
|
||||
|
||||
assert user_name == 'testuser'
|
||||
|
||||
assert old_password == 'old-password'
|
||||
|
||||
assert new_password == 'new-password'
|
||||
|
||||
|
||||
|
||||
monkeypatch.setattr(user_api, '_casdoor_set_password', fake_set_password)
|
||||
|
||||
|
||||
|
||||
headers = _auth_headers(client)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'old-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 200
|
||||
|
||||
assert casdoor_calls == {'set_password': 1}
|
||||
|
||||
|
||||
|
||||
user = db.session.query(User).filter_by(username='testuser').first()
|
||||
|
||||
assert user.check_password('new-password')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_accepts_casdoor_password_when_local_out_of_sync(client, monkeypatch):
|
||||
|
||||
client.application.config['CASDOOR_BASE_URL'] = 'http://casdoor.test'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_ID'] = 'client-id'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_SECRET'] = 'client-secret'
|
||||
|
||||
client.application.config['CASDOOR_ORGANIZATION'] = 'organization_HX'
|
||||
|
||||
|
||||
|
||||
user = db.session.query(User).filter_by(username='testuser').first()
|
||||
user.set_password('stale-local-password')
|
||||
db.session.commit()
|
||||
headers = {
|
||||
'X-User-Id': str(user.id),
|
||||
'X-Username': user.username,
|
||||
'X-Role': user.role,
|
||||
}
|
||||
|
||||
def fake_verify(username, password):
|
||||
|
||||
assert username == 'testuser'
|
||||
|
||||
assert password == 'casdoor-password'
|
||||
|
||||
|
||||
|
||||
def fake_set_password(user_owner, user_name, old_password, new_password):
|
||||
|
||||
assert old_password == 'casdoor-password'
|
||||
|
||||
assert new_password == 'new-password'
|
||||
|
||||
|
||||
|
||||
monkeypatch.setattr(user_api, '_verify_casdoor_password', fake_verify)
|
||||
monkeypatch.setattr(user_api, '_casdoor_set_password', fake_set_password)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'casdoor-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 200
|
||||
|
||||
|
||||
|
||||
user = db.session.query(User).filter_by(username='testuser').first()
|
||||
|
||||
assert user.check_password('new-password')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_casdoor_mode_wrong_current(client, monkeypatch):
|
||||
|
||||
client.application.config['AUTH_LOGIN_MODE'] = 'casdoor'
|
||||
|
||||
client.application.config['CASDOOR_BASE_URL'] = 'http://casdoor.test'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_ID'] = 'client-id'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_SECRET'] = 'client-secret'
|
||||
|
||||
client.application.config['CASDOOR_ORGANIZATION'] = 'organization_HX'
|
||||
|
||||
|
||||
|
||||
def fake_verify(username, password):
|
||||
|
||||
raise RuntimeError('Casdoor password login failed: invalid_grant')
|
||||
|
||||
|
||||
|
||||
monkeypatch.setattr(user_api, '_verify_casdoor_password', fake_verify)
|
||||
|
||||
|
||||
|
||||
headers = _auth_headers(client)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'wrong-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 403
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def test_change_password_casdoor_admin_override_when_old_password_mismatch(client, monkeypatch):
|
||||
|
||||
client.application.config['CASDOOR_BASE_URL'] = 'http://casdoor.test'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_ID'] = 'client-id'
|
||||
|
||||
client.application.config['CASDOOR_CLIENT_SECRET'] = 'client-secret'
|
||||
|
||||
client.application.config['CASDOOR_ORGANIZATION'] = 'organization_HX'
|
||||
|
||||
casdoor_calls = []
|
||||
|
||||
|
||||
|
||||
def fake_set_password(user_owner, user_name, old_password, new_password):
|
||||
|
||||
casdoor_calls.append((old_password, new_password))
|
||||
|
||||
if old_password:
|
||||
|
||||
raise RuntimeError('Casdoor set-password failed: old password is incorrect')
|
||||
|
||||
|
||||
|
||||
monkeypatch.setattr(user_api, '_casdoor_set_password', fake_set_password)
|
||||
|
||||
|
||||
|
||||
headers = _auth_headers(client)
|
||||
|
||||
res = client.post(
|
||||
|
||||
'/api/user/change-password',
|
||||
|
||||
headers=headers,
|
||||
|
||||
json={'current_password': 'old-password', 'new_password': 'new-password'},
|
||||
|
||||
)
|
||||
|
||||
assert res.status_code == 200
|
||||
|
||||
assert casdoor_calls == [('old-password', 'new-password'), ('', 'new-password')]
|
||||
|
||||
+36
-5
@@ -5,6 +5,7 @@ backend/worker_kb.py
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
import multiprocessing as mp
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
@@ -16,12 +17,12 @@ _LOG_FORMAT = '%(asctime)s %(levelname)s [kb-worker] %(message)s'
|
||||
_LOG_DATEFMT = '%Y-%m-%d %H:%M:%S'
|
||||
|
||||
|
||||
def _configure_logging() -> logging.Logger:
|
||||
logger = logging.getLogger('kb-worker')
|
||||
def _configure_logging(worker_label: str = 'main') -> logging.Logger:
|
||||
logger = logging.getLogger(f'kb-worker.{worker_label}')
|
||||
if logger.handlers:
|
||||
return logger
|
||||
handler = logging.StreamHandler(sys.stdout)
|
||||
handler.setFormatter(logging.Formatter(_LOG_FORMAT, datefmt=_LOG_DATEFMT))
|
||||
handler.setFormatter(logging.Formatter(f'{_LOG_FORMAT} [worker={worker_label}]', datefmt=_LOG_DATEFMT))
|
||||
logger.addHandler(handler)
|
||||
logger.setLevel(logging.INFO)
|
||||
logger.propagate = False
|
||||
@@ -58,8 +59,9 @@ def _resolve_config_name() -> str:
|
||||
return mapping.get(env_name, 'production')
|
||||
|
||||
|
||||
def main():
|
||||
log = _configure_logging()
|
||||
def _worker_loop(worker_index: int):
|
||||
worker_label = str(worker_index)
|
||||
log = _configure_logging(worker_label)
|
||||
app = create_app(_resolve_config_name())
|
||||
poll_seconds = float(app.config.get('KB_WORKER_POLL_SECONDS', 2))
|
||||
|
||||
@@ -73,5 +75,34 @@ def main():
|
||||
log.info('processed job: %s', message)
|
||||
|
||||
|
||||
def main():
|
||||
bootstrap_app = create_app(_resolve_config_name())
|
||||
concurrency = max(int(bootstrap_app.config.get('KB_WORKER_CONCURRENCY', 1) or 1), 1)
|
||||
|
||||
if concurrency == 1:
|
||||
_worker_loop(1)
|
||||
return
|
||||
|
||||
log = _configure_logging('master')
|
||||
log.info('starting %s worker processes', concurrency)
|
||||
workers: list[mp.Process] = []
|
||||
for index in range(concurrency):
|
||||
proc = mp.Process(target=_worker_loop, args=(index + 1,), name=f'kb-worker-{index + 1}')
|
||||
proc.start()
|
||||
workers.append(proc)
|
||||
|
||||
try:
|
||||
for proc in workers:
|
||||
proc.join()
|
||||
except KeyboardInterrupt:
|
||||
log.info('stopping worker pool')
|
||||
for proc in workers:
|
||||
if proc.is_alive():
|
||||
proc.terminate()
|
||||
for proc in workers:
|
||||
proc.join(timeout=5)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
mp.freeze_support()
|
||||
main()
|
||||
@@ -0,0 +1,25 @@
|
||||
/** @see docs/convention/COMMIT_CONVENTION.md */
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
'type-enum': [
|
||||
2,
|
||||
'always',
|
||||
[
|
||||
'feat',
|
||||
'fix',
|
||||
'docs',
|
||||
'style',
|
||||
'refactor',
|
||||
'perf',
|
||||
'test',
|
||||
'build',
|
||||
'ci',
|
||||
'chore',
|
||||
'revert',
|
||||
],
|
||||
],
|
||||
'header-max-length': [2, 'always', 100],
|
||||
'subject-full-stop': [2, 'never', '.'],
|
||||
},
|
||||
};
|
||||
+8
-4
@@ -44,9 +44,11 @@ services:
|
||||
- KB_TASK_EXECUTION_MODE=${KB_TASK_EXECUTION_MODE:-worker}
|
||||
- KB_WORKER_POLL_SECONDS=${KB_WORKER_POLL_SECONDS:-2}
|
||||
# kb-worker 自动回收长时间 running 的任务(秒)
|
||||
- KB_JOB_RUNNING_TIMEOUT_SECONDS=${KB_JOB_RUNNING_TIMEOUT_SECONDS:-300}
|
||||
- KB_JOB_RUNNING_TIMEOUT_SECONDS=${KB_JOB_RUNNING_TIMEOUT_SECONDS:-900}
|
||||
# LibreOffice 可执行文件路径(Linux 容器默认 /usr/bin/soffice,跳过 Windows 路径探测)
|
||||
- EDKB_SOFFICE=${EDKB_SOFFICE:-/usr/bin/soffice}
|
||||
# LibreOffice 单次格式转换超时(秒)
|
||||
- EDKB_SOFFICE_TIMEOUT_SEC=${EDKB_SOFFICE_TIMEOUT_SEC:-120}
|
||||
- EDKB_SOFFICE_TIMEOUT_SEC=${EDKB_SOFFICE_TIMEOUT_SEC:-600}
|
||||
|
||||
# 允许容器访问宿主机服务 (如数据库)
|
||||
extra_hosts:
|
||||
@@ -93,9 +95,11 @@ services:
|
||||
- KB_TASK_EXECUTION_MODE=${KB_TASK_EXECUTION_MODE:-worker}
|
||||
- KB_WORKER_POLL_SECONDS=${KB_WORKER_POLL_SECONDS:-2}
|
||||
# kb-worker 自动回收长时间 running 的任务(秒)
|
||||
- KB_JOB_RUNNING_TIMEOUT_SECONDS=${KB_JOB_RUNNING_TIMEOUT_SECONDS:-300}
|
||||
- KB_JOB_RUNNING_TIMEOUT_SECONDS=${KB_JOB_RUNNING_TIMEOUT_SECONDS:-900}
|
||||
# LibreOffice 可执行文件路径(Linux 容器默认 /usr/bin/soffice,跳过 Windows 路径探测)
|
||||
- EDKB_SOFFICE=${EDKB_SOFFICE:-/usr/bin/soffice}
|
||||
# LibreOffice 单次格式转换超时(秒)
|
||||
- EDKB_SOFFICE_TIMEOUT_SEC=${EDKB_SOFFICE_TIMEOUT_SEC:-120}
|
||||
- EDKB_SOFFICE_TIMEOUT_SEC=${EDKB_SOFFICE_TIMEOUT_SEC:-600}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
|
||||
+40
-6
@@ -15,6 +15,7 @@
|
||||
| 层级 | 时机 | 谁生效 | 检查内容 |
|
||||
|------|------|--------|----------|
|
||||
| **pre-commit** | `git commit` | 已安装 Hook 的本机 | models 须带 migration;暂存 `frontend/` 时跑 `vue-tsc` |
|
||||
| **commit-msg** | `git commit` | 已安装 Hook 的本机 | 提交信息须符合 [COMMIT_CONVENTION](./convention/COMMIT_CONVENTION.md)(commitlint) |
|
||||
| **pre-push** | `git push` | 已安装 Hook 的本机 | 本次推送含 `frontend/` 变更时跑 `npm run build` |
|
||||
| **Jenkins CI** | push 触发流水线 | 全员(不装 Hook 也跑) | `npm ci && npm run build`(`scripts/ci_frontend_build.sh`) |
|
||||
|
||||
@@ -47,6 +48,7 @@ ls -la .githooks
|
||||
应能看到:
|
||||
|
||||
- `pre-commit`
|
||||
- `commit-msg`
|
||||
- `pre-push`
|
||||
- `_common.sh`
|
||||
|
||||
@@ -71,10 +73,18 @@ chmod +x scripts/install_git_hooks.sh
|
||||
```text
|
||||
[hook-install] Installed Git hooks successfully.
|
||||
[hook-install] pre-commit: models 变更需带 migration;frontend 暂存时跑 vue-tsc
|
||||
[hook-install] commit-msg: 校验提交信息格式(Conventional Commits)
|
||||
[hook-install] pre-push: 推送含 frontend 变更时跑 npm run build
|
||||
[hook-install] core.hooksPath=.githooks
|
||||
```
|
||||
|
||||
安装脚本会自动在仓库根目录执行 `npm install`(安装 commitlint 依赖)。若跳过脚本、仅用 **§3.2** 配置 Hook 路径,需手动:
|
||||
|
||||
```powershell
|
||||
cd D:\path\to\hxops
|
||||
npm install
|
||||
```
|
||||
|
||||
### 3.2 方式 B:PowerShell / CMD
|
||||
|
||||
不跑 bash 脚本时,在仓库根执行:
|
||||
@@ -87,7 +97,7 @@ git config core.hooksPath .githooks
|
||||
若 commit/push 时提示无执行权限,在 Git Bash 中补充:
|
||||
|
||||
```bash
|
||||
chmod +x .githooks/pre-commit .githooks/pre-push
|
||||
chmod +x .githooks/pre-commit .githooks/commit-msg .githooks/pre-push
|
||||
```
|
||||
|
||||
---
|
||||
@@ -105,9 +115,13 @@ git config --get core.hooksPath
|
||||
```powershell
|
||||
cd frontend
|
||||
npm install
|
||||
cd ..
|
||||
npm install
|
||||
```
|
||||
|
||||
可选自测:暂存一个 `frontend/` 下的小改动后 `git commit`(会触发 `vue-tsc`),测完 `git reset` 即可。
|
||||
根目录 `npm install` 用于 commitlint(`commit-msg` Hook);若已运行 `./scripts/install_git_hooks.sh` 会自动安装。
|
||||
|
||||
可选自测:暂存一个 `frontend/` 下的小改动后 `git commit -m "feat: test hook"`(会触发 vue-tsc 与 commitlint),测完 `git reset` 即可。
|
||||
|
||||
---
|
||||
|
||||
@@ -121,16 +135,32 @@ npm install
|
||||
| 暂存路径含 `frontend/` | 运行 `npx vue-tsc -b`(需已有 `node_modules`) |
|
||||
| 未暂存 `frontend/` | 不跑前端检查 |
|
||||
|
||||
`SKIP_FRONTEND_HOOKS` **不能**跳过 models/migration 检查。
|
||||
`SKIP_FRONTEND_HOOKS` **不能**跳过 models/migration 检查,也**不能**跳过 commit-msg 校验。
|
||||
|
||||
### 5.2 pre-push
|
||||
### 5.2 commit-msg
|
||||
|
||||
| 条件 | 行为 |
|
||||
|------|------|
|
||||
| 任意 `git commit`(非 merge) | 运行 commitlint,校验 Header 格式 |
|
||||
| merge commit | 跳过 |
|
||||
| 根目录无 `node_modules/@commitlint/cli` | **拒绝 commit**,提示 `npm install` |
|
||||
|
||||
格式要求见 [COMMIT_CONVENTION.md](./convention/COMMIT_CONVENTION.md),示例:`feat(auth): add SMS login support`。
|
||||
|
||||
本地手动校验(不提交):
|
||||
|
||||
```bash
|
||||
echo "feat(auth): add SMS login support" | npx commitlint
|
||||
```
|
||||
|
||||
### 5.3 pre-push
|
||||
|
||||
| 条件 | 行为 |
|
||||
|------|------|
|
||||
| 本次 push 的提交 diff 含 `frontend/` | 运行 `npm run build`(`vue-tsc -b && vite build`) |
|
||||
| 无 `frontend/` 变更 | 直接通过 |
|
||||
|
||||
### 5.3 Jenkins CI
|
||||
### 5.4 Jenkins CI
|
||||
|
||||
- 在 **Detect Changes** 之后、**Deploy** 之前执行。
|
||||
- 仅当 `FRONTEND_CHANGED=true` 时在 `node:22-alpine` 容器内执行 `scripts/ci_frontend_build.sh`。
|
||||
@@ -139,7 +169,7 @@ npm install
|
||||
|
||||
## 6. 团队落地清单(可转发)
|
||||
|
||||
1. **新同事**:`git clone` → `cd frontend && npm install` → 按本文 **§3** 安装 Hook → **§4** 验证。
|
||||
1. **新同事**:`git clone` → `cd frontend && npm install` → 按本文 **§3** 安装 Hook(含根目录 `npm install`)→ **§4** 验证。
|
||||
2. **老同事**:`git pull` 后若从未装过,补做一次安装。
|
||||
3. **换电脑 / 新 clone**:每个新目录都要再装一次(`core.hooksPath` 写在本地 `.git/config`,不随 push 同步)。
|
||||
4. **Windows**:建议用 Git for Windows 自带的 Git Bash 执行 commit/push;PowerShell 可用 **§3.2** 仅完成 Hook 路径配置。
|
||||
@@ -194,6 +224,7 @@ git push --no-verify
|
||||
| `dir .githooks` 找不到 | `git pull`;确认在仓库根目录 |
|
||||
| `missing hook file` | 同上,确保 `.githooks` 已拉取 |
|
||||
| `frontend/node_modules 不存在` | `cd frontend && npm install` |
|
||||
| `根目录 node_modules 不存在` / commitlint 报错 | 仓库根目录执行 `npm install` |
|
||||
| PowerShell 无法执行 `.sh` | 用 **§3.2** 的 `git config`,或改用 Git Bash |
|
||||
| 装了 Hook 仍不拦截 | 确认 `git config --get core.hooksPath`;是否用了 `--no-verify` |
|
||||
| 想取消 Hook | `git config --unset core.hooksPath` |
|
||||
@@ -205,8 +236,11 @@ git push --no-verify
|
||||
| 路径 | 说明 |
|
||||
|------|------|
|
||||
| `.githooks/pre-commit` | 提交时检查 |
|
||||
| `.githooks/commit-msg` | 提交信息格式校验 |
|
||||
| `.githooks/pre-push` | 推送时检查 |
|
||||
| `.githooks/_common.sh` | 共用逻辑 |
|
||||
| `commitlint.config.cjs` | commitlint 规则(对齐 COMMIT_CONVENTION) |
|
||||
| `package.json` | 根目录 tooling 依赖(commitlint) |
|
||||
| `scripts/install_git_hooks.sh` | 一键安装 |
|
||||
| `scripts/ci_frontend_build.sh` | Jenkins / 本地 CI 同款 build |
|
||||
| `Jenkinsfile` | `Frontend Build (CI)` 阶段 |
|
||||
|
||||
@@ -167,11 +167,20 @@ revert: feat(payment): support WeChat QR checkout
|
||||
- 是否存在破坏性变更,若有是否标注 `BREAKING CHANGE`?
|
||||
- 是否关联了任务编号(`Refs/Closes #id`)?
|
||||
|
||||
## 12. 推荐工具(落地执行)
|
||||
## 12. 自动化校验(已启用)
|
||||
|
||||
- `commitlint`:校验提交信息格式。
|
||||
- `husky`:在 `commit-msg` 钩子自动校验。
|
||||
- 可选:`commitizen` 或 `cz-git` 提供交互式提交,降低学习成本。
|
||||
仓库已通过 Git Hook 自动校验提交信息,配置如下:
|
||||
|
||||
- **commitlint**:根目录 `commitlint.config.cjs`,规则与本文档对齐。
|
||||
- **commit-msg Hook**:`.githooks/commit-msg`,在 `git commit` 时自动运行。
|
||||
- **安装**:`./scripts/install_git_hooks.sh`(会设置 `core.hooksPath` 并执行根目录 `npm install`)。
|
||||
|
||||
详见 [Git Hooks 团队启用指南](../GIT_HOOKS.md)。
|
||||
|
||||
可选工具(尚未配置,可按需引入):
|
||||
|
||||
- `commitizen` 或 `cz-git`:交互式提交,降低学习成本。
|
||||
- 参考链接:https://www.conventionalcommits.org/en/v1.0.0/
|
||||
|
||||
---
|
||||
|
||||
File renamed without changes.
@@ -0,0 +1,119 @@
|
||||
# 标准发布流程(Dev → Test → Prod)
|
||||
|
||||
> 更新时间:2026-06-04
|
||||
> 适用对象:开发、测试、Review 负责人
|
||||
> 相关文档:[Git 分支说明](./新人环境搭建与配置文档.md#3-git-分支说明与操作原则) · [Commit 规范](./COMMIT_CONVENTION.md) · [Jenkinsfile](../Jenkinsfile)
|
||||
|
||||
## 1. 流程概览
|
||||
|
||||
|
||||
| 阶段 | 步骤 | 负责人 | 说明 |
|
||||
| ------ | ---- | -------------- | ----------------------------------------------------------------------- |
|
||||
| 本地 | 1 | 开发人员 | 本地开发并完成本地测试(通过) |
|
||||
| dev | 2 | 开发人员 | 代码合入`dev`,提交信息符合 [COMMIT_CONVENTION](./COMMIT_CONVENTION.md) |
|
||||
| test | 3 | 开发人员 / CI | 从`dev` 合并到 `test` 并触发 Jenkins 部署 |
|
||||
| test | 4 | 各功能开发人员 | 在 test 环境对各自功能自测(功能、回归、基础接口) |
|
||||
| test | 5 | 全体开发人员 | 自测通过后交叉测试 |
|
||||
| test | 6 | 全体 + Sophie | 梳理近一周开发功能;Sophie 结合 git message 输出功能说明文档 |
|
||||
| test | 7 | lisq(质检官) | 提交质检测试 |
|
||||
| 上线前 | 8 | Sophie | 上线前 Review |
|
||||
| prod | 9 | 开发人员 / CI | Review 通过后推送`prod` 并部署(Jenkins 含人工确认) |
|
||||
| prod | 10 | 开发人员 | 生产环境验证(自行测试) |
|
||||
|
||||
任一质量卡点不通过时,回到 **步骤 1** 修复后重新走流程。
|
||||
|
||||
## 2. 详细步骤
|
||||
|
||||
### 步骤 1:本地开发与测试
|
||||
|
||||
- 在功能分支或本地完成开发与自测。
|
||||
- 合并前最低检查见 [新人环境搭建与配置文档 §3.3](./新人环境搭建与配置文档.md#33-操作原则)(前后端可启动、build 通过、关键页面与登录可用等)。
|
||||
|
||||
### 步骤 2:合入 dev 分支
|
||||
|
||||
- 将代码合并到 `dev` 分支。
|
||||
- **提交信息必须符合** [Git Commit Message 规范](./COMMIT_CONVENTION.md)(如 `feat:`、`fix:`、`refactor:` 等),便于步骤 6 自动生成说明文档。
|
||||
|
||||
### 步骤 3:合并并部署 test 环境
|
||||
|
||||
- 将 `dev` 合并到 `test` 分支并推送。
|
||||
- Jenkins 检测到 `test` 分支变更后,自动部署到 test 主机(见根目录 `Jenkinsfile` → `Deploy Test`)。
|
||||
|
||||
### 步骤 4:test 环境功能自测
|
||||
|
||||
- 各开发人员在 test 环境验证**自己负责的功能**。
|
||||
- 覆盖:功能正确性、相关回归、基础接口。
|
||||
|
||||
### 步骤 5:交叉测试
|
||||
|
||||
- 自测全部通过后,开发团队互相交叉测试,减少单人盲区。
|
||||
|
||||
### 步骤 6:功能说明文档
|
||||
|
||||
- 团队梳理**近一周**已合入 test 的开发功能清单。
|
||||
- **Sophie** 结合 git commit message 整理并输出功能说明文档,供质检与上线 Review 使用(更新说明文档见doc/release_note)。
|
||||
|
||||
### 步骤 7:提交质检(lisq)
|
||||
|
||||
- 交叉测试与功能说明就绪后,提交 **lisq(质检官)** 在 test 环境执行正式测试。
|
||||
|
||||
### 步骤 8:上线前 Review(Sophie)
|
||||
|
||||
- 质检通过后,提交 **Sophie** 做上线前 Review(代码、功能范围、风险与文档一致性)。
|
||||
|
||||
### 步骤 9:部署 prod
|
||||
|
||||
- Review 通过后,将 `test` 合并到 `prod`(或经约定分支如 `sophie`)并推送。
|
||||
- Jenkins 执行 `Deploy Prod`(含生产部署人工确认),部署到 prod 主机。
|
||||
|
||||
### 步骤 10:生产环境验证
|
||||
|
||||
- prod 部署完成后,开发人员在生产环境进行验证(自行测试)。
|
||||
- 验证通过即视为**发布完成**。
|
||||
- 发布完成对当前版本打tag,tag格式如下: V26.6.1,表示26年6月的第一次发布。
|
||||
|
||||
## 3. 流程图
|
||||
|
||||
> **阅读方式**:从顶部 **起点** 沿实线箭头向下;任一卡点不通过时,沿右侧虚线回到起点重新开发。
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
classDef start fill:#2d6a4f,stroke:#52b788,color:#fff,stroke-width:2px
|
||||
classDef finish fill:#1d3557,stroke:#a8dadc,color:#fff,stroke-width:2px
|
||||
classDef step fill:#495057,stroke:#ced4da,color:#fff
|
||||
|
||||
A(["【起点】本地开发 + 本地测试(通过)"]):::start
|
||||
B["【02】代码合入 dev 分支(提交信息符合规范)"]:::step
|
||||
C["【03】dev 合并到 test 并部署"]:::step
|
||||
D["【04】test 环境自测(功能 / 回归 / 基础接口)"]:::step
|
||||
E["【05】交叉测试"]:::step
|
||||
F["【06】梳理近一周功能,Sophie 输出功能说明文档"]:::step
|
||||
G["【07】提交 lisq 质检测试"]:::step
|
||||
H["【08】Sophie 上线前 Review"]:::step
|
||||
I["【09】推送并部署 prod"]:::step
|
||||
J["【10】prod 生产环境验证"]:::step
|
||||
K(["【完成】发布完成"]):::finish
|
||||
|
||||
A --> B --> C --> D --> E --> F --> G --> H --> I --> J --> K
|
||||
|
||||
D -.->|自测不通过| A
|
||||
E -.->|交叉测试不通过| A
|
||||
G -.->|质检不通过| A
|
||||
H -.->|Review 不通过| A
|
||||
J -.->|验证不通过| A
|
||||
```
|
||||
|
||||
## 4. 分支与环境对应
|
||||
|
||||
|
||||
| 分支 | 部署环境 | Jenkins 阶段 | 说明 |
|
||||
| ---------------------------------- | -------- | ------------ | ---------------------- |
|
||||
| `dev` | dev | Deploy Dev | 日常开发集成 |
|
||||
| `test` | test | Deploy Test | 自测、交叉测试、质检 |
|
||||
| `prod` / `sophie` / `sophie-wecom` | prod | Deploy Prod | 生产发布(含人工确认) |
|
||||
|
||||
环境变量与主机配置见 `Jenkinsfile` 中 `DEV_*`、`TEST_*`、`PROD_*`。
|
||||
|
||||
## 5. 紧急修复
|
||||
|
||||
生产 hotfix 合并到 `prod` 后,须**反向同步**到 `dev`(必要时同步到 `test`),避免分支漂移。详见 [新人环境搭建与配置文档 §3.2](./新人环境搭建与配置文档.md#32-标准流转方向)。
|
||||
@@ -0,0 +1,63 @@
|
||||
# 环境变量加载规则与优先级
|
||||
|
||||
## 1. 目标
|
||||
|
||||
统一环境变量管理方式,减少重复维护和覆盖冲突。
|
||||
|
||||
## 2. 当前文件结构
|
||||
|
||||
- `.env.shared`:跨环境共享变量(dev/test/prod 一致)。
|
||||
- `.env.dev` / `.env.test` / `.env.prod`:环境差异变量。
|
||||
- `.env.local`:本地开发覆盖变量(仅本地使用,不提交)。
|
||||
|
||||
## 3. 当前优先级(从高到低)
|
||||
|
||||
### 3.1 本地环境(`ENV_NAME=dev`)
|
||||
|
||||
1. 系统环境变量(OS/终端注入)
|
||||
2. `.env.local`
|
||||
3. `.env.dev`
|
||||
4. `.env.shared`
|
||||
5. `config.py` 中少量通用兜底值
|
||||
|
||||
解释:本地以 `.env.local` 为最高文件优先级;若 `.env.local` 未配置某项,则回退到 `.env.dev`,再回退到 `.env.shared`。
|
||||
|
||||
### 3.2 线上部署(Jenkins/CI,`ENV_NAME=test|prod`)
|
||||
|
||||
1. 系统环境变量(Jenkins/CI/Docker 注入)
|
||||
2. `.env.<ENV_NAME>`(`.env.test` 或 `.env.prod`)
|
||||
3. `.env.shared`
|
||||
4. `config.py` 中少量通用兜底值
|
||||
|
||||
解释:线上部署不使用 `.env.local`;仅使用目标环境文件与共享文件。
|
||||
|
||||
## 4. 历史对比(改造前 -> 改造后)
|
||||
|
||||
改造前(从高到低):
|
||||
|
||||
1. 系统环境变量
|
||||
2. `backend/.env`
|
||||
3. `config.py` 默认值
|
||||
|
||||
改造后(从高到低):
|
||||
|
||||
1. 系统环境变量
|
||||
2. 本地:`.env.local`;线上:`.env.<ENV_NAME>`
|
||||
3. `.env.<ENV_NAME>`(本地为 `.env.dev`)
|
||||
4. `.env.shared`
|
||||
5. `config.py` 少量通用兜底
|
||||
|
||||
说明:`backend/.env` 不再作为主配置入口。
|
||||
|
||||
## 5. 各文件职责
|
||||
|
||||
- `.env.shared`:只放三环境完全一致的变量。
|
||||
- `.env.dev` / `.env.test` / `.env.prod`:放环境差异值(DB 地址、域名、回调、密钥等)。
|
||||
- `.env.local`:开发者个人覆盖项(端口、代理、个人测试 key)。
|
||||
|
||||
## 6. 维护建议
|
||||
|
||||
- 可能存在环境差异的变量,优先放 `.env.<ENV_NAME>`。
|
||||
- 生产密钥不要放 `.env.shared`。
|
||||
- 新增变量同步更新对应 env 文件和本文档。
|
||||
- 继续清理对 `backend/.env` 的历史依赖。
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,15 @@
|
||||
版本周期: 2026-05-29 ~ 2026-06-04
|
||||
tag: V26.6.1
|
||||
|
||||
本周更新亮点:
|
||||
|
||||
1. 新手指南:后台可配置视频/PDF,聊天页动态展示并支持在线预览
|
||||
2. 聊天增强:支持本地文件与 URL 附件;语音输入接入 SiliconFlow ASR(HTTPS 就绪后可开启)
|
||||
3. HR 入口:新增说明与快问快答气泡
|
||||
4. 请假与文件预览:修复多条业务链路 bug,优化智能体切换与前端架构
|
||||
5. 重构:
|
||||
a. 重构前端骨架,Admin 模块子路由与懒加载,减少重复请求,引入 Pinia 状态管理
|
||||
b. 统一异常处理机制,优化错误提示
|
||||
c. 优化MINO等相关配置
|
||||
6. Bug修复:修复UI等若干bug
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
# 标准发布流程(Dev → Test → Prod)
|
||||
|
||||
> 更新时间:2026-06-04
|
||||
> 适用对象:开发、测试、Review 负责人
|
||||
> 相关文档:[Git 分支说明](./新人环境搭建与配置文档.md#3-git-分支说明与操作原则) · [Commit 规范](./COMMIT_CONVENTION.md) · [Jenkinsfile](../Jenkinsfile)
|
||||
|
||||
## 1. 流程概览
|
||||
|
||||
| 阶段 | 步骤 | 负责人 | 说明 |
|
||||
|------|------|--------|------|
|
||||
| 本地 | 1 | 开发人员 | 本地开发并完成本地测试(通过) |
|
||||
| dev | 2 | 开发人员 | 代码合入 `dev`,提交信息符合 [COMMIT_CONVENTION](./COMMIT_CONVENTION.md) |
|
||||
| test | 3 | 开发人员 / CI | 从 `dev` 合并到 `test` 并触发 Jenkins 部署 |
|
||||
| test | 4 | 各功能开发人员 | 在 test 环境对各自功能自测(功能、回归、基础接口) |
|
||||
| test | 5 | 全体开发人员 | 自测通过后交叉测试 |
|
||||
| test | 6 | 全体 + Sophie | 梳理近一周开发功能;Sophie 结合 git message 输出功能说明文档 |
|
||||
| test | 7 | lisq(质检官) | 提交质检测试 |
|
||||
| 上线前 | 8 | Sophie | 上线前 Review |
|
||||
| prod | 9 | 开发人员 / CI | Review 通过后推送 `prod` 并部署(Jenkins 含人工确认) |
|
||||
| prod | 10 | 开发人员 | 生产环境验证(自行测试) |
|
||||
|
||||
任一质量卡点不通过时,回到 **步骤 1** 修复后重新走流程。
|
||||
|
||||
## 2. 详细步骤
|
||||
|
||||
### 步骤 1:本地开发与测试
|
||||
|
||||
- 在功能分支或本地完成开发与自测。
|
||||
- 合并前最低检查见 [新人环境搭建与配置文档 §3.3](./新人环境搭建与配置文档.md#33-操作原则)(前后端可启动、build 通过、关键页面与登录可用等)。
|
||||
|
||||
### 步骤 2:合入 dev 分支
|
||||
|
||||
- 将代码合并到 `dev` 分支。
|
||||
- **提交信息必须符合** [Git Commit Message 规范](./COMMIT_CONVENTION.md)(如 `feat:`、`fix:`、`refactor:` 等),便于步骤 6 自动生成说明文档。
|
||||
|
||||
### 步骤 3:合并并部署 test 环境
|
||||
|
||||
- 将 `dev` 合并到 `test` 分支并推送。
|
||||
- Jenkins 检测到 `test` 分支变更后,自动部署到 test 主机(见根目录 `Jenkinsfile` → `Deploy Test`)。
|
||||
|
||||
### 步骤 4:test 环境功能自测
|
||||
|
||||
- 各开发人员在 test 环境验证**自己负责的功能**。
|
||||
- 覆盖:功能正确性、相关回归、基础接口。
|
||||
|
||||
### 步骤 5:交叉测试
|
||||
|
||||
- 自测全部通过后,开发团队互相交叉测试,减少单人盲区。
|
||||
|
||||
### 步骤 6:功能说明文档
|
||||
|
||||
- 团队梳理**近一周**已合入 test 的开发功能清单。
|
||||
- **Sophie** 结合 git commit message 整理并输出功能说明文档,供质检与上线 Review 使用。
|
||||
|
||||
### 步骤 7:提交质检(lisq)
|
||||
|
||||
- 交叉测试与功能说明就绪后,提交 **lisq(质检官)** 在 test 环境执行正式测试。
|
||||
|
||||
### 步骤 8:上线前 Review(Sophie)
|
||||
|
||||
- 质检通过后,提交 **Sophie** 做上线前 Review(代码、功能范围、风险与文档一致性)。
|
||||
|
||||
### 步骤 9:部署 prod
|
||||
|
||||
- Review 通过后,将 `test` 合并到 `prod`(或经约定分支如 `sophie`)并推送。
|
||||
- Jenkins 执行 `Deploy Prod`(含生产部署人工确认),部署到 prod 主机。
|
||||
|
||||
### 步骤 10:生产环境验证
|
||||
|
||||
- prod 部署完成后,开发人员在生产环境进行验证(自行测试)。
|
||||
- 验证通过即视为**发布完成**。
|
||||
|
||||
## 3. 流程图
|
||||
|
||||
> **阅读方式**:从顶部 **起点** 沿实线箭头向下;任一卡点不通过时,沿右侧虚线回到起点重新开发。
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
classDef start fill:#2d6a4f,stroke:#52b788,color:#fff,stroke-width:2px
|
||||
classDef finish fill:#1d3557,stroke:#a8dadc,color:#fff,stroke-width:2px
|
||||
classDef step fill:#495057,stroke:#ced4da,color:#fff
|
||||
|
||||
A(["【起点】本地开发 + 本地测试(通过)"]):::start
|
||||
B["【02】代码合入 dev 分支(提交信息符合规范)"]:::step
|
||||
C["【03】dev 合并到 test 并部署"]:::step
|
||||
D["【04】test 环境自测(功能 / 回归 / 基础接口)"]:::step
|
||||
E["【05】交叉测试"]:::step
|
||||
F["【06】梳理近一周功能,Sophie 输出功能说明文档"]:::step
|
||||
G["【07】提交 lisq 质检测试"]:::step
|
||||
H["【08】Sophie 上线前 Review"]:::step
|
||||
I["【09】推送并部署 prod"]:::step
|
||||
J["【10】prod 生产环境验证"]:::step
|
||||
K(["【完成】发布完成"]):::finish
|
||||
|
||||
A --> B --> C --> D --> E --> F --> G --> H --> I --> J --> K
|
||||
|
||||
D -.->|自测不通过| A
|
||||
E -.->|交叉测试不通过| A
|
||||
G -.->|质检不通过| A
|
||||
H -.->|Review 不通过| A
|
||||
J -.->|验证不通过| A
|
||||
```
|
||||
|
||||
## 4. 分支与环境对应
|
||||
|
||||
| 分支 | 部署环境 | Jenkins 阶段 | 说明 |
|
||||
|------|----------|--------------|------|
|
||||
| `dev` | dev | Deploy Dev | 日常开发集成 |
|
||||
| `test` | test | Deploy Test | 自测、交叉测试、质检 |
|
||||
| `prod` / `sophie` / `sophie-wecom` | prod | Deploy Prod | 生产发布(含人工确认) |
|
||||
|
||||
环境变量与主机配置见 `Jenkinsfile` 中 `DEV_*`、`TEST_*`、`PROD_*`。
|
||||
|
||||
## 5. 紧急修复
|
||||
|
||||
生产 hotfix 合并到 `prod` 后,须**反向同步**到 `dev`(必要时同步到 `test`),避免分支漂移。详见 [新人环境搭建与配置文档 §3.2](./新人环境搭建与配置文档.md#32-标准流转方向)。
|
||||
+103
@@ -775,3 +775,106 @@ const update = () => { isMobile.value = window.innerHeight > window.innerWidth;
|
||||
### 17.4 关键设计决策
|
||||
- **大文件处理**:文件存储至独立的 MinIO 服务,配置 Public Read 策略或预签名 URL,前端直接访问,减轻 FastAPI 服务带宽压力。
|
||||
- **预览方案**:复用现有依赖 `@vue-office/pdf` 进行 PDF 渲染,保持项目轻量化。
|
||||
|
||||
---
|
||||
|
||||
## 18. 知识库异步化改造技术方案
|
||||
|
||||
### 18.1 背景
|
||||
|
||||
当前知识库上传链路虽然已经具备 `KbJob` 任务模型,但运行模式默认仍偏向 `sync`,导致路径上传提交、单文件清洗、Dify 同步等重操作仍可能在 Web 请求内直接执行。文件数量较多或外部依赖较慢时,容易出现接口阻塞、页面卡顿、批量上传超时等问题。
|
||||
|
||||
### 18.2 当前问题
|
||||
|
||||
- 路径上传 `finalize` 阶段可能在一次请求中串行执行整批导入与清洗
|
||||
- 单文件上传完成后会立即触发清洗,容易拉长上传接口耗时
|
||||
- 同步 Dify 直接在接口中调用外部 API,网络波动会直接影响页面响应
|
||||
- Web 进程承担了过多 CPU / IO 密集型任务,不利于稳定性和扩展性
|
||||
|
||||
### 18.3 改造目标
|
||||
|
||||
- 重操作统一改为后台 worker 异步执行
|
||||
- 前端接口改为“提交任务后立即返回”,通过 job 状态轮询展示进度
|
||||
- Web 进程职责收敛为“接收请求、创建任务、返回状态”
|
||||
- 尽量复用现有 `KbJob`、轮询、失败重试等能力,采用增量改造方式落地
|
||||
|
||||
### 18.4 优先改造接口
|
||||
|
||||
#### P0
|
||||
|
||||
- `POST /api/kb/path-upload-jobs/<id>/finalize`
|
||||
- 当前最重的阻塞点
|
||||
- 建议改为仅校验并提交 `path_upload` 任务,返回 `202 Accepted`
|
||||
|
||||
- `POST /api/kb/documents/<id>/sync`
|
||||
- 当前会同步调用 Dify 接口
|
||||
- 建议改为仅创建 `sync_dify` 任务,返回 `202 Accepted`
|
||||
|
||||
#### P1
|
||||
|
||||
- `POST /api/kb/documents/<id>/upload`
|
||||
- 文件接收保持同步
|
||||
- 上传完成后只排队 `clean` 任务,不等待清洗完成
|
||||
|
||||
#### 暂不优先
|
||||
|
||||
- `POST /api/kb/path-upload-jobs/<id>/files`
|
||||
- 该接口核心是接收文件字节并落盘
|
||||
- 后续更适合做并发上传、分片上传或对象存储直传,不作为本轮异步化重点
|
||||
|
||||
### 18.5 关键实现方案
|
||||
|
||||
#### 运行模式
|
||||
|
||||
- 生产环境将 `KB_TASK_EXECUTION_MODE` 从 `sync` 切换为 `worker`
|
||||
- 确保 `worker_kb.py` 常驻运行
|
||||
- 保留 `manual` 模式用于排障和运维
|
||||
|
||||
#### Worker 能力补齐
|
||||
|
||||
- 现有 worker 已支持 `path_upload` / `clean`
|
||||
- 需要补充 `sync_dify` 类型任务消费能力
|
||||
- 统一任务状态流转:`queued -> running -> succeeded / failed`
|
||||
|
||||
#### 接口语义调整
|
||||
|
||||
- `upload`:表示“文件上传成功,清洗已排队”
|
||||
- `finalize`:表示“批量上传任务已提交,后台处理中”
|
||||
- `sync`:表示“同步任务已提交,后台处理中”
|
||||
|
||||
#### 前端交互调整
|
||||
|
||||
- 前端不再等待重任务执行完成
|
||||
- 提交成功后展示“处理中”或“已排队”
|
||||
- 统一通过 jobs / document 状态轮询刷新页面
|
||||
- 批量同步改为并发提交 job,再统一刷新状态
|
||||
|
||||
### 18.6 推荐实施顺序
|
||||
|
||||
#### 第一步
|
||||
|
||||
- 将 `KB_TASK_EXECUTION_MODE` 切换为 `worker`
|
||||
- 确认 `hxops-kb-worker` 常驻运行正常
|
||||
|
||||
#### 第二步
|
||||
|
||||
- 扩展 worker 对 `sync_dify` 的消费能力
|
||||
- 将 `POST /api/kb/documents/<id>/sync` 改为真正异步
|
||||
|
||||
#### 第三步
|
||||
|
||||
- 将 `POST /api/kb/path-upload-jobs/<id>/finalize` 改为真正异步
|
||||
- 保证批量导入只排队、不在请求内执行
|
||||
|
||||
#### 第四步
|
||||
|
||||
- 调整 `POST /api/kb/documents/<id>/upload` 返回语义
|
||||
- 前端统一收口为基于 job 的状态展示
|
||||
|
||||
### 18.7 预期收益
|
||||
|
||||
- 批量上传提交耗时从“整批处理耗时”降低为“任务提交耗时”
|
||||
- Dify 波动不再直接阻塞页面操作
|
||||
- Web 进程压力下降,系统稳定性提升
|
||||
- 失败任务可重试,进度展示更清晰
|
||||
- 整体知识库链路更适合后续扩展为高并发、多批次处理模式
|
||||
+8
-4
@@ -34,10 +34,14 @@
|
||||
|
||||
### 3.2 标准流转方向
|
||||
|
||||
完整发布流程(含自测、交叉测试、功能说明文档、质检与 Review 卡点)见 **[标准发布流程(Dev → Test → Prod)](./release_workflow.md)**。
|
||||
|
||||
分支合并主线:
|
||||
|
||||
1. 功能分支从 `dev` 切出(例如 `feature/xxx`、`fix/xxx`)
|
||||
2. 开发完成后合并回 `dev`
|
||||
3. 提测时由 `dev` 合并到 `test`
|
||||
4. 验收通过后由 `test` 合并到 `prod`
|
||||
2. 开发完成后合并回 `dev`(提交信息须符合 [COMMIT_CONVENTION.md](./COMMIT_CONVENTION.md))
|
||||
3. 提测时由 `dev` 合并到 `test`,Jenkins 自动部署 test 环境
|
||||
4. test 自测与交叉测试通过后,经 lisq 质检、Sophie Review,再由 `test` 合并到 `prod`
|
||||
5. 生产紧急修复后,需要反向同步回 `dev`(必要时也同步到 `test`)
|
||||
|
||||
### 3.3 操作原则
|
||||
@@ -79,7 +83,7 @@ cd hxops
|
||||
git config core.hooksPath .githooks
|
||||
```
|
||||
|
||||
验证:`git config --get core.hooksPath` → `.githooks`;前置:`cd frontend && npm install`。
|
||||
验证:`git config --get core.hooksPath` → `.githooks`;前置:`cd frontend && npm install`,以及仓库根目录 `npm install`(安装 commitlint;运行 `./scripts/install_git_hooks.sh` 时会自动执行)。
|
||||
|
||||
### 4.3 常用 Git 操作示例
|
||||
|
||||
|
||||
@@ -64,6 +64,15 @@ function resolveLocalizedErrorMessage(code?: string, fallbackMessage?: string):
|
||||
if (normalizedCode === 'VALIDATION_INVALID_PARAM' && fallback && !isGenericFallback(fallback) && fallback !== localized) {
|
||||
return `${localized} ${fallback}`;
|
||||
}
|
||||
if (
|
||||
normalizedCode === 'AUTH_FORBIDDEN'
|
||||
&& fallback
|
||||
&& !isGenericFallback(fallback)
|
||||
&& fallback.toLowerCase() !== 'forbidden'
|
||||
&& fallback !== localized
|
||||
) {
|
||||
return fallback;
|
||||
}
|
||||
return localized;
|
||||
}
|
||||
if (fallback) return fallback;
|
||||
|
||||
+82
-10
@@ -81,6 +81,19 @@ export interface KbJob {
|
||||
finished_at?: string | null;
|
||||
}
|
||||
|
||||
export interface KbQueuedJobResponse extends KbJob {
|
||||
accepted?: boolean;
|
||||
queue_result?: string;
|
||||
}
|
||||
|
||||
export interface KbUploadVersionResponse {
|
||||
accepted?: boolean;
|
||||
message?: string;
|
||||
queue_result?: string;
|
||||
version: KbDocumentVersionItem;
|
||||
clean_job?: KbJob | null;
|
||||
}
|
||||
|
||||
export interface KbDifySettings {
|
||||
DIFY_API_BASE: string;
|
||||
DIFY_API_KEY: string;
|
||||
@@ -339,16 +352,16 @@ export const updateKbDocumentMarkdown = async (
|
||||
export const uploadKbDocumentVersion = async (
|
||||
documentId: number,
|
||||
file: File
|
||||
): Promise<{ ok: boolean; error?: string; version?: KbDocumentVersionItem; status?: number }> => {
|
||||
): Promise<{ ok: boolean; error?: string; version?: KbDocumentVersionItem; clean_job?: KbJob | null; message?: string; status?: number }> => {
|
||||
try {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
const version = await requestJson<KbDocumentVersionItem>(`/api/kb/documents/${documentId}/upload`, {
|
||||
const payload = await requestJson<KbUploadVersionResponse>(`/api/kb/documents/${documentId}/upload`, {
|
||||
method: 'POST',
|
||||
...auth(),
|
||||
body: formData,
|
||||
});
|
||||
return { ok: true, version };
|
||||
return { ok: true, version: payload.version, clean_job: payload.clean_job, message: payload.message };
|
||||
} catch (e) {
|
||||
const err = e as BusinessError;
|
||||
if (err.status === 413) {
|
||||
@@ -362,9 +375,28 @@ export const uploadKbDocumentVersion = async (
|
||||
}
|
||||
};
|
||||
|
||||
export const submitKbDocumentClean = async (
|
||||
documentId: number
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob | null; message?: string; status?: number }> => {
|
||||
try {
|
||||
const job = await requestJson<KbQueuedJobResponse>(`/api/kb/documents/${documentId}/clean`, {
|
||||
method: 'POST',
|
||||
...auth(),
|
||||
});
|
||||
return { ok: true, job, message: job.message || undefined };
|
||||
} catch (e) {
|
||||
const err = e as BusinessError;
|
||||
return { ok: false, error: kbErrorMessage(e, '提交清洗任务失败'), status: err.status };
|
||||
}
|
||||
};
|
||||
|
||||
export const createKbPathUploadJob = async (
|
||||
groupId: number,
|
||||
payload: { total_files: number; selected_paths: string[] }
|
||||
payload: {
|
||||
total_files: number;
|
||||
selected_paths: string[];
|
||||
files?: Array<{ relative_path: string; original_name: string }>;
|
||||
}
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob; status?: number }> => {
|
||||
try {
|
||||
const job = await requestJson<KbJob>(`/api/kb/groups/${groupId}/path-upload-jobs`, {
|
||||
@@ -383,7 +415,7 @@ export const uploadKbPathJobFile = async (
|
||||
jobId: number | string,
|
||||
file: File,
|
||||
relativePath: string,
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob }> => {
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob; status?: number }> => {
|
||||
try {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
@@ -395,7 +427,31 @@ export const uploadKbPathJobFile = async (
|
||||
});
|
||||
return { ok: true, job };
|
||||
} catch (e) {
|
||||
return { ok: false, error: kbErrorMessage(e, '上传路径文件失败') };
|
||||
const err = e as BusinessError;
|
||||
if (err.status === 413) {
|
||||
return {
|
||||
ok: false,
|
||||
error: '文件过大,超过当前上传限制,请联系管理员放宽限制后重试',
|
||||
status: 413,
|
||||
};
|
||||
}
|
||||
return { ok: false, error: kbErrorMessage(e, '上传路径文件失败'), status: err.status };
|
||||
}
|
||||
};
|
||||
|
||||
export const markKbPathJobFileFailed = async (
|
||||
jobId: number | string,
|
||||
payload: { relative_path: string; original_name?: string; error: string }
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob }> => {
|
||||
try {
|
||||
const job = await requestJson<KbJob>(`/api/kb/path-upload-jobs/${jobId}/files/fail`, {
|
||||
method: 'POST',
|
||||
...jsonAuth(),
|
||||
body: JSON.stringify(payload),
|
||||
});
|
||||
return { ok: true, job };
|
||||
} catch (e) {
|
||||
return { ok: false, error: kbErrorMessage(e, '记录路径文件失败状态失败') };
|
||||
}
|
||||
};
|
||||
|
||||
@@ -403,7 +459,7 @@ export const finalizeKbPathUploadJob = async (
|
||||
jobId: number | string,
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob }> => {
|
||||
try {
|
||||
const job = await requestJson<KbJob>(`/api/kb/path-upload-jobs/${jobId}/finalize`, {
|
||||
const job = await requestJson<KbQueuedJobResponse>(`/api/kb/path-upload-jobs/${jobId}/finalize`, {
|
||||
method: 'POST',
|
||||
...auth(),
|
||||
});
|
||||
@@ -430,15 +486,31 @@ export const retryFailedKbPathUploadJob = async (
|
||||
}
|
||||
};
|
||||
|
||||
export const deleteKbPathJobFile = async (
|
||||
jobId: number | string,
|
||||
relativePath: string,
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob; document_deleted?: boolean }> => {
|
||||
try {
|
||||
const query = new URLSearchParams({ relative_path: relativePath });
|
||||
const result = await requestJson<{ ok: boolean; job: KbJob; document_deleted?: boolean }>(
|
||||
`/api/kb/path-upload-jobs/${jobId}/files?${query.toString()}`,
|
||||
{ method: 'DELETE', ...auth() }
|
||||
);
|
||||
return { ok: true, job: result.job, document_deleted: result.document_deleted };
|
||||
} catch (e) {
|
||||
return { ok: false, error: kbErrorMessage(e, '删除路径上传文件失败') };
|
||||
}
|
||||
};
|
||||
|
||||
export const syncKbDocumentToDify = async (
|
||||
documentId: number
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbJob; run_result?: string }> => {
|
||||
): Promise<{ ok: boolean; error?: string; job?: KbQueuedJobResponse }> => {
|
||||
try {
|
||||
const job = await requestJson<KbJob & { run_result?: string }>(`/api/kb/documents/${documentId}/sync`, {
|
||||
const job = await requestJson<KbQueuedJobResponse>(`/api/kb/documents/${documentId}/sync`, {
|
||||
method: 'POST',
|
||||
...auth(),
|
||||
});
|
||||
return { ok: true, job, run_result: job.run_result };
|
||||
return { ok: true, job };
|
||||
} catch (e) {
|
||||
return { ok: false, error: kbErrorMessage(e, '同步到 Dify 失败') };
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ import { marked } from 'marked';
|
||||
import * as XLSX from 'xlsx';
|
||||
import VueOfficeDocx from '@vue-office/docx';
|
||||
import VueOfficeExcel from '@vue-office/excel';
|
||||
import VueOfficePdf from '@vue-office/pdf';
|
||||
import '@vue-office/docx/lib/index.css';
|
||||
import '@vue-office/excel/lib/index.css';
|
||||
|
||||
@@ -32,7 +33,7 @@ interface ExcelPreviewData {
|
||||
truncated: boolean;
|
||||
}
|
||||
|
||||
type OfficeKind = 'docx' | 'excel' | null;
|
||||
type OfficeKind = 'docx' | 'excel' | 'pdf' | null;
|
||||
type PreviewMode = 'markdown' | 'image' | 'iframe' | 'sheet' | 'office';
|
||||
|
||||
const props = defineProps<{
|
||||
@@ -290,6 +291,15 @@ const loadPdfContent = async (): Promise<'iframe' | 'office' | 'sheet'> => {
|
||||
if (ext.value === 'pdf' || ['doc', 'ppt', 'pptx'].includes(ext.value)) fallbackType = 'application/pdf';
|
||||
else if (ext.value === 'docx') fallbackType = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
||||
const effectiveBlob = blob.type ? blob : new Blob([blob], { type: fallbackType });
|
||||
if (
|
||||
['doc', 'ppt', 'pptx'].includes(ext.value)
|
||||
&& effectiveBlob.type.toLowerCase().includes('pdf')
|
||||
) {
|
||||
officeSrc.value = effectiveBlob;
|
||||
officeRenderKey.value += 1;
|
||||
officeKind.value = 'pdf';
|
||||
return 'office';
|
||||
}
|
||||
officeObjectUrl.value = URL.createObjectURL(effectiveBlob);
|
||||
return 'iframe';
|
||||
};
|
||||
@@ -525,6 +535,12 @@ watch(
|
||||
:src="officeSrc"
|
||||
style="height: 100%; width: 100%;"
|
||||
/>
|
||||
<VueOfficePdf
|
||||
v-else-if="officeKind === 'pdf'"
|
||||
:key="`pdf-${officeRenderKey}`"
|
||||
:src="officeSrc"
|
||||
style="height: 100%; width: 100%;"
|
||||
/>
|
||||
</div>
|
||||
<div v-else-if="resolvedMode === 'image'" class="dialog-preview-frame h-full flex items-center justify-center p-2">
|
||||
<img :src="imageSrc" :alt="file.name" class="max-w-full max-h-full object-contain" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export const config = {
|
||||
appTitle: 'AI工作台',
|
||||
appTitle: '和信AI智能工作台',
|
||||
auth: {
|
||||
// Login mode switch:
|
||||
// - 'casdoor': submit username/password to backend Casdoor password-login API.
|
||||
|
||||
@@ -37,6 +37,8 @@ const {
|
||||
resetForm,
|
||||
selectAgent,
|
||||
submitAgent,
|
||||
addSuggestedQuestion,
|
||||
removeSuggestedQuestion,
|
||||
deleteAgent,
|
||||
openTestModal,
|
||||
runAgentTest,
|
||||
@@ -133,6 +135,66 @@ onMounted(() => {
|
||||
:placeholder="t('admin.agent.fields.descPlaceholder')"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="col-span-1 md:col-span-2 space-y-3">
|
||||
<div class="flex items-center justify-between gap-3">
|
||||
<label class="text-xs font-bold text-muted uppercase tracking-wider">常见问题</label>
|
||||
<button
|
||||
type="button"
|
||||
class="inline-flex items-center gap-1 rounded-lg border border-default px-3 py-1.5 text-xs font-medium text-secondary transition-colors hover:bg-surface-soft"
|
||||
@click="addSuggestedQuestion"
|
||||
>
|
||||
<Plus class="h-4 w-4" />
|
||||
添加问题
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-3 text-sm">
|
||||
<label class="inline-flex items-center gap-2 text-secondary">
|
||||
<input v-model="form.suggested_questions_style" type="radio" value="plain" class="accent-brand-600" />
|
||||
<span>无样式</span>
|
||||
</label>
|
||||
<label class="inline-flex items-center gap-2 text-secondary">
|
||||
<input v-model="form.suggested_questions_style" type="radio" value="styled" class="accent-brand-600" />
|
||||
<span>有样式</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div v-if="form.suggested_questions.length === 0" class="rounded-xl border border-dashed border-default px-4 py-5 text-sm text-muted">
|
||||
暂未配置常见问题,点击“添加问题”后会同步到对应 Agent 的 Chat 欢迎页。
|
||||
</div>
|
||||
|
||||
<div v-else class="space-y-3">
|
||||
<div
|
||||
v-for="(item, index) in form.suggested_questions"
|
||||
:key="index"
|
||||
class="rounded-2xl border border-default bg-surface-soft/50 p-4"
|
||||
>
|
||||
<div class="grid grid-cols-1 gap-3 md:grid-cols-[1fr_220px_auto]">
|
||||
<input
|
||||
v-model="item.question"
|
||||
type="text"
|
||||
class="w-full input-field"
|
||||
placeholder="请输入常见问题,例如:查询我有多少假期?"
|
||||
/>
|
||||
<input
|
||||
v-model="item.group"
|
||||
type="text"
|
||||
class="w-full input-field"
|
||||
:disabled="form.suggested_questions_style !== 'styled'"
|
||||
:placeholder="form.suggested_questions_style === 'styled' ? '可选:分组标题,例如:考勤与休假' : '无样式下无需分组'"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
class="inline-flex items-center justify-center rounded-xl border border-red-200 bg-red-50 px-3 py-2 text-red-600 transition-colors hover:bg-red-100"
|
||||
@click="removeSuggestedQuestion(index)"
|
||||
>
|
||||
<Trash2 class="h-4 w-4" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<button type="button" class="btn-primary btn-lg" @click="submitAgent">
|
||||
|
||||
@@ -18,9 +18,25 @@ import {
|
||||
} from '@/api/admin';
|
||||
import { useMessage } from '@/composables/useMessage';
|
||||
import type { AdminUserRow } from '@/features/admin/types/admin.types';
|
||||
import type { AgentFormState, AgentRow, AgentTestResult } from '@/features/admin/types/agent.types';
|
||||
import type { AgentFormState, AgentRow, AgentSuggestedQuestionItem, AgentTestResult } from '@/features/admin/types/agent.types';
|
||||
import { createEmptyAgentForm } from '@/features/admin/types/agent.types';
|
||||
|
||||
const normalizeSuggestedQuestions = (value: unknown): AgentSuggestedQuestionItem[] => {
|
||||
if (!Array.isArray(value)) return [];
|
||||
return value
|
||||
.map((item) => {
|
||||
if (typeof item === 'string') {
|
||||
return { question: item.trim(), group: '' };
|
||||
}
|
||||
if (!item || typeof item !== 'object') return null;
|
||||
const question = String((item as Record<string, unknown>).question || (item as Record<string, unknown>).text || '').trim();
|
||||
const group = String((item as Record<string, unknown>).group || '').trim();
|
||||
if (!question) return null;
|
||||
return { question, group };
|
||||
})
|
||||
.filter((item): item is AgentSuggestedQuestionItem => !!item);
|
||||
};
|
||||
|
||||
export function useAgentsAdmin() {
|
||||
const { t } = useI18n();
|
||||
const msg = useMessage();
|
||||
@@ -90,6 +106,8 @@ export function useAgentsAdmin() {
|
||||
dify_app_type: agent.extra_config?.dify_app_type === 'workflow' ? 'workflow' : 'chatflow',
|
||||
api_base_url: agent.api_base_url || '',
|
||||
iframe_url: String(agent.extra_config?.iframe_url || ''),
|
||||
suggested_questions_style: agent.extra_config?.suggested_questions_style === 'styled' ? 'styled' : 'plain',
|
||||
suggested_questions: normalizeSuggestedQuestions(agent.extra_config?.suggested_questions),
|
||||
is_active: agent.is_active,
|
||||
};
|
||||
isEditing.value = true;
|
||||
@@ -132,6 +150,13 @@ export function useAgentsAdmin() {
|
||||
if (form.value.type === 'api') {
|
||||
extra_config.dify_app_type = form.value.dify_app_type === 'workflow' ? 'workflow' : 'chatflow';
|
||||
}
|
||||
extra_config.suggested_questions_style = form.value.suggested_questions_style === 'styled' ? 'styled' : 'plain';
|
||||
extra_config.suggested_questions = form.value.suggested_questions
|
||||
.map((item) => ({
|
||||
question: String(item.question || '').trim(),
|
||||
group: String(item.group || '').trim(),
|
||||
}))
|
||||
.filter((item) => item.question);
|
||||
|
||||
try {
|
||||
const editingId = isEditing.value ? Number(form.value.id) : null;
|
||||
@@ -149,6 +174,7 @@ export function useAgentsAdmin() {
|
||||
payload.dify_api_key = form.value.dify_api_key;
|
||||
}
|
||||
await updateAdminAgent(form.value.id, payload);
|
||||
msg.success('应用更新成功');
|
||||
} else {
|
||||
await createAdminAgent({
|
||||
name: form.value.name,
|
||||
@@ -159,6 +185,7 @@ export function useAgentsAdmin() {
|
||||
api_base_url: form.value.api_base_url,
|
||||
extra_config,
|
||||
});
|
||||
msg.success('应用创建成功');
|
||||
}
|
||||
|
||||
await loadAgents();
|
||||
@@ -176,6 +203,14 @@ export function useAgentsAdmin() {
|
||||
}
|
||||
};
|
||||
|
||||
const addSuggestedQuestion = (): void => {
|
||||
form.value.suggested_questions.push({ question: '', group: '' });
|
||||
};
|
||||
|
||||
const removeSuggestedQuestion = (index: number): void => {
|
||||
form.value.suggested_questions.splice(index, 1);
|
||||
};
|
||||
|
||||
const deleteAgent = async (id: number): Promise<void> => {
|
||||
openDeleteConfirm(t('admin.agent.confirmDelete'), async () => {
|
||||
try {
|
||||
@@ -294,6 +329,8 @@ export function useAgentsAdmin() {
|
||||
resetForm,
|
||||
selectAgent,
|
||||
submitAgent,
|
||||
addSuggestedQuestion,
|
||||
removeSuggestedQuestion,
|
||||
deleteAgent,
|
||||
openTestModal,
|
||||
runAgentTest,
|
||||
|
||||
@@ -19,6 +19,11 @@ export interface AgentRow {
|
||||
iframe_url?: string;
|
||||
}
|
||||
|
||||
export interface AgentSuggestedQuestionItem {
|
||||
question: string;
|
||||
group: string;
|
||||
}
|
||||
|
||||
export interface AgentTestResult {
|
||||
success: boolean;
|
||||
request_url: string;
|
||||
@@ -38,6 +43,8 @@ export interface AgentFormState {
|
||||
dify_app_type: 'chatflow' | 'workflow';
|
||||
api_base_url: string;
|
||||
iframe_url: string;
|
||||
suggested_questions_style: 'plain' | 'styled';
|
||||
suggested_questions: AgentSuggestedQuestionItem[];
|
||||
is_active: boolean;
|
||||
}
|
||||
|
||||
@@ -50,5 +57,7 @@ export const createEmptyAgentForm = (): AgentFormState => ({
|
||||
dify_app_type: 'chatflow',
|
||||
api_base_url: '',
|
||||
iframe_url: '',
|
||||
suggested_questions_style: 'plain',
|
||||
suggested_questions: [],
|
||||
is_active: true,
|
||||
});
|
||||
@@ -157,6 +157,7 @@ const messages = {
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: 'Please log in first.',
|
||||
AUTH_INCORRECT_PASSWORD: 'Incorrect password',
|
||||
AUTH_INCORRECT_CURRENT_PASSWORD: 'Incorrect current password',
|
||||
AUTH_USER_NOT_FOUND: 'User not found',
|
||||
AUTH_ACCOUNT_DISABLED: 'Account is disabled',
|
||||
AUTH_FORBIDDEN: 'You do not have permission to perform this action.',
|
||||
@@ -1717,6 +1718,7 @@ const messages = {
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: '请先登录。',
|
||||
AUTH_INCORRECT_PASSWORD: '密码错误',
|
||||
AUTH_INCORRECT_CURRENT_PASSWORD: '当前密码不正确',
|
||||
AUTH_USER_NOT_FOUND: '用户不存在',
|
||||
AUTH_ACCOUNT_DISABLED: '账号已禁用',
|
||||
AUTH_FORBIDDEN: '你没有权限执行该操作。',
|
||||
@@ -3242,6 +3244,7 @@ const messages = {
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: '請先登入。',
|
||||
AUTH_INCORRECT_PASSWORD: '密碼錯誤',
|
||||
AUTH_INCORRECT_CURRENT_PASSWORD: '當前密碼不正確',
|
||||
AUTH_USER_NOT_FOUND: '用戶不存在',
|
||||
AUTH_ACCOUNT_DISABLED: '帳號已禁用',
|
||||
AUTH_FORBIDDEN: '你沒有權限執行此操作。',
|
||||
@@ -4577,6 +4580,7 @@ const messages = {
|
||||
codes: {
|
||||
AUTH_UNAUTHORIZED: 'กรุณาเข้าสู่ระบบก่อน',
|
||||
AUTH_INCORRECT_PASSWORD: 'รหัสผ่านไม่ถูกต้อง',
|
||||
AUTH_INCORRECT_CURRENT_PASSWORD: 'รหัสผ่านปัจจุบันไม่ถูกต้อง',
|
||||
AUTH_USER_NOT_FOUND: 'ไม่พบผู้ใช้',
|
||||
AUTH_ACCOUNT_DISABLED: 'บัญชีถูกปิดใช้งาน',
|
||||
AUTH_FORBIDDEN: 'คุณไม่มีสิทธิ์ดำเนินการนี้',
|
||||
|
||||
+217
-65
@@ -88,13 +88,17 @@ const currentUser = ref(getStoredAuthUser());
|
||||
const showUserDropdown = ref(false);
|
||||
const userMenuRef = ref<HTMLElement | null>(null);
|
||||
|
||||
const selectedKb = ref('企业知识库');
|
||||
const DEFAULT_KB = '企业知识库';
|
||||
const ERP_KB = 'ERP知识库';
|
||||
const ERP_KB_ENABLED_AGENT_NAMES = new Set(['固资管理']);
|
||||
|
||||
const selectedKb = ref(DEFAULT_KB);
|
||||
const showKbDropdown = ref(false);
|
||||
const kbMenuRef = ref<HTMLElement | null>(null);
|
||||
const kbOptions = ['企业知识库', 'ERP知识库'];
|
||||
const kbOptions = [DEFAULT_KB, ERP_KB];
|
||||
const getKbLabel = (kb: string) => {
|
||||
if (kb === '企业知识库') return t('chat.kb.enterprise');
|
||||
if (kb === 'ERP知识库') return t('chat.kb.erp');
|
||||
if (kb === DEFAULT_KB) return t('chat.kb.enterprise');
|
||||
if (kb === ERP_KB) return t('chat.kb.erp');
|
||||
return kb;
|
||||
};
|
||||
const chatScrollContainer = ref<HTMLElement | null>(null);
|
||||
@@ -682,6 +686,27 @@ const shouldShowThinkingBubble = computed(() => {
|
||||
const filePreviewVisible = ref(false);
|
||||
const previewFile = ref<{ name: string; url: string; actualExt?: string } | null>(null);
|
||||
|
||||
const getSourcePreviewExt = (file: { name?: string; url?: string; actualExt?: string }) => {
|
||||
const actual = String(file?.actualExt || '').trim().toLowerCase();
|
||||
if (actual) return actual;
|
||||
const byName = getUrlExt(file?.name || '');
|
||||
if (byName) return byName;
|
||||
return getUrlExt(file?.url || '');
|
||||
};
|
||||
|
||||
const isWeComMobileWebView = () => {
|
||||
if (typeof navigator === 'undefined') return false;
|
||||
const ua = navigator.userAgent || '';
|
||||
return /wxwork/i.test(ua) && /mobile/i.test(ua);
|
||||
};
|
||||
|
||||
const shouldBypassEmbeddedPreview = (file: { name?: string; url?: string; actualExt?: string }) => {
|
||||
const ext = getSourcePreviewExt(file);
|
||||
if (!isMobile.value || !isWeComMobileWebView()) return false;
|
||||
if (!/^https?:\/\//i.test(file?.url || '')) return false;
|
||||
return ['pdf', 'xls', 'xlsx'].includes(ext);
|
||||
};
|
||||
|
||||
const resolveSourceLink = async (file: SourceFileLink): Promise<{ name: string; url: string; actualExt?: string }> => {
|
||||
if (file.datasetId && file.remoteDocumentId) {
|
||||
const data = await resolveChatSourceFile({
|
||||
@@ -715,6 +740,10 @@ const resolveSourceLink = async (file: SourceFileLink): Promise<{ name: string;
|
||||
const openPreview = async (file: SourceFileLink) => {
|
||||
try {
|
||||
const resolvedFile = await resolveSourceLink(file);
|
||||
if (shouldBypassEmbeddedPreview(resolvedFile)) {
|
||||
window.location.href = resolvedFile.url;
|
||||
return;
|
||||
}
|
||||
previewFile.value = resolvedFile;
|
||||
filePreviewVisible.value = true;
|
||||
} catch (error: any) {
|
||||
@@ -784,6 +813,125 @@ watch(isThinking, (thinking) => {
|
||||
const currentAgent = ref<any>(null);
|
||||
const userAgents = ref<Array<{ id: number; name: string; description: string; icon_url?: string; dify_app_type?: 'chatflow' | 'workflow' }>>([]);
|
||||
const showGeneralFeedbackDialog = ref(false);
|
||||
const LEAVE_FEATURE_AGENT_NAMES = new Set(['通用入口', '人事规章']);
|
||||
const canUseLeaveFeature = computed(() => LEAVE_FEATURE_AGENT_NAMES.has(String(currentAgent.value?.name || '').trim()));
|
||||
|
||||
type AgentSuggestedQuestionItem = {
|
||||
question: string;
|
||||
group: string;
|
||||
};
|
||||
|
||||
const DEFAULT_AGENT_DESCRIPTIONS: Record<string, string> = {
|
||||
人事规章: '我是你的7x24小时专属HR政策助手。无需手动检索文档,只需用日常说话的方式提问,我能从公司最新、最全的规章制度中,为你精准提取并总结答案。',
|
||||
通用入口: '我是你的7x24小时专属AI数字人。无需手动检索文档,只需用日常说话的方式提问,我能从公司最新、最全的人事规章制度中,为你精准提取并总结答案。',
|
||||
};
|
||||
|
||||
const DEFAULT_AGENT_SUGGESTED_QUESTIONS: Record<string, { style: 'plain' | 'styled'; questions: AgentSuggestedQuestionItem[] }> = {
|
||||
人事规章: {
|
||||
style: 'styled',
|
||||
questions: [
|
||||
{ question: '查询我有多少假期?', group: '考勤与休假' },
|
||||
{ question: '如何进行请假?', group: '考勤与休假' },
|
||||
{ question: '查公司法定节假日?', group: '考勤与休假' },
|
||||
{ question: '新员工入职须知', group: '规章与日常' },
|
||||
{ question: '怎么开具在职证明?', group: '规章与日常' },
|
||||
{ question: '查公司薪酬及福利待遇怎么样?', group: '规章与日常' },
|
||||
],
|
||||
},
|
||||
通用入口: {
|
||||
style: 'plain',
|
||||
questions: [
|
||||
{ question: '新员工入职须知', group: '' },
|
||||
{ question: '查询我有多少假期?', group: '' },
|
||||
{ question: '如何进行请假?', group: '' },
|
||||
{ question: '查公司法定节假日?', group: '' },
|
||||
{ question: '查公司薪酬及福利待遇怎么样?', group: '' },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
const normalizeAgentSuggestedQuestions = (value: unknown): AgentSuggestedQuestionItem[] => {
|
||||
if (!Array.isArray(value)) return [];
|
||||
return value
|
||||
.map((item) => {
|
||||
if (typeof item === 'string') {
|
||||
const question = item.trim();
|
||||
return question ? { question, group: '' } : null;
|
||||
}
|
||||
if (!item || typeof item !== 'object') return null;
|
||||
const record = item as Record<string, unknown>;
|
||||
const question = String(record.question || record.text || '').trim();
|
||||
const group = String(record.group || '').trim();
|
||||
return question ? { question, group } : null;
|
||||
})
|
||||
.filter((item): item is AgentSuggestedQuestionItem => !!item);
|
||||
};
|
||||
|
||||
const currentAgentName = computed(() => String(currentAgent.value?.name || '').trim());
|
||||
const canSelectErpKnowledgeBase = computed(() => ERP_KB_ENABLED_AGENT_NAMES.has(currentAgentName.value));
|
||||
const availableKbOptions = computed(() => (
|
||||
canSelectErpKnowledgeBase.value
|
||||
? kbOptions
|
||||
: kbOptions.filter((option) => option !== ERP_KB)
|
||||
));
|
||||
const kbDropdownDisabled = computed(() => availableKbOptions.value.length <= 1);
|
||||
|
||||
const toggleKbDropdown = () => {
|
||||
if (kbDropdownDisabled.value) {
|
||||
showKbDropdown.value = false;
|
||||
return;
|
||||
}
|
||||
showKbDropdown.value = !showKbDropdown.value;
|
||||
};
|
||||
|
||||
const selectKb = (option: string) => {
|
||||
if (!availableKbOptions.value.includes(option)) return;
|
||||
selectedKb.value = option;
|
||||
showKbDropdown.value = false;
|
||||
};
|
||||
|
||||
watch(canSelectErpKnowledgeBase, (allowed) => {
|
||||
if (!allowed && selectedKb.value === ERP_KB) {
|
||||
selectedKb.value = DEFAULT_KB;
|
||||
}
|
||||
if (!allowed) {
|
||||
showKbDropdown.value = false;
|
||||
}
|
||||
}, { immediate: true });
|
||||
|
||||
const agentDescription = computed(() => {
|
||||
const text = String(currentAgent.value?.description || '').trim();
|
||||
return text || DEFAULT_AGENT_DESCRIPTIONS[currentAgentName.value] || '';
|
||||
});
|
||||
const suggestedQuestionsStyle = computed<'plain' | 'styled'>(() => {
|
||||
const style = String(currentAgent.value?.extra_config?.suggested_questions_style || '').trim().toLowerCase();
|
||||
if (style === 'styled') return 'styled';
|
||||
if (style === 'plain') return 'plain';
|
||||
return DEFAULT_AGENT_SUGGESTED_QUESTIONS[currentAgentName.value]?.style || 'plain';
|
||||
});
|
||||
const agentSuggestedQuestions = computed<AgentSuggestedQuestionItem[]>(() => {
|
||||
const configured = normalizeAgentSuggestedQuestions(
|
||||
currentAgent.value?.suggested_questions ?? currentAgent.value?.extra_config?.suggested_questions,
|
||||
);
|
||||
if (configured.length > 0) return configured;
|
||||
return DEFAULT_AGENT_SUGGESTED_QUESTIONS[currentAgentName.value]?.questions || [];
|
||||
});
|
||||
const styledSuggestedQuestionSections = computed(() => {
|
||||
const groups = new Map<string, AgentSuggestedQuestionItem[]>();
|
||||
for (const item of agentSuggestedQuestions.value) {
|
||||
const groupName = String(item.group || '').trim() || '常见问题';
|
||||
if (!groups.has(groupName)) {
|
||||
groups.set(groupName, []);
|
||||
}
|
||||
groups.get(groupName)?.push(item);
|
||||
}
|
||||
const iconTypes: Array<'calendar' | 'building'> = ['calendar', 'building'];
|
||||
return Array.from(groups.entries()).map(([title, questions], index) => ({
|
||||
title,
|
||||
questions,
|
||||
iconType: iconTypes[index % iconTypes.length],
|
||||
}));
|
||||
});
|
||||
|
||||
const agentGuides = ref<any[]>([]);
|
||||
const showGuideModal = ref(false);
|
||||
@@ -800,13 +948,13 @@ const loadAgentGuides = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
const showGuideSidebar = ref(false);
|
||||
const showGuideSidebar = ref(true);
|
||||
|
||||
const openGuideModal = () => {
|
||||
if (agentGuides.value.length > 0) {
|
||||
activeGuideId.value = agentGuides.value[0].id;
|
||||
showGuideModal.value = true;
|
||||
showGuideSidebar.value = false; // 默认收起
|
||||
showGuideSidebar.value = true; // 默认展开
|
||||
}
|
||||
};
|
||||
const showDeleteConfirmDialog = ref(false);
|
||||
@@ -1918,6 +2066,10 @@ const handleChatMarkdownClick = (event: MouseEvent) => {
|
||||
const action = actionElement.getAttribute('data-leave-action');
|
||||
if (action !== 'start-leave-flow' || isThinking.value) return;
|
||||
event.preventDefault();
|
||||
if (!canUseLeaveFeature.value) {
|
||||
msg.warning('请在“通用入口”或“人事规章”入口使用请假功能');
|
||||
return;
|
||||
}
|
||||
startLocalLeaveFlow('我要请假');
|
||||
};
|
||||
|
||||
@@ -3356,7 +3508,7 @@ const handleSend = async (textOrEvent?: string | Event) => {
|
||||
}
|
||||
if (!trimmed || isThinking.value || isUploadingAttachments.value) return;
|
||||
|
||||
if (isStrongLeaveIntent(content)) {
|
||||
if (canUseLeaveFeature.value && isStrongLeaveIntent(content)) {
|
||||
startLocalLeaveFlow(content);
|
||||
return;
|
||||
}
|
||||
@@ -4056,20 +4208,17 @@ const showChatRating = ref(false);
|
||||
class="flex items-center gap-1.5 px-3 py-1.5 text-xs font-bold text-brand-700 bg-brand-100 border border-brand-300 rounded-lg hover:bg-brand-200 hover:border-brand-400 transition-all shadow-sm"
|
||||
>
|
||||
<BookOpen class="w-4 h-4" />
|
||||
新手指南
|
||||
学习之窗
|
||||
</button>
|
||||
</div>
|
||||
<span v-if="currentAgent?.name === '人事规章'" class="block text-[11px] text-muted mt-1 truncate cursor-help">
|
||||
我是你的7x24小时专属HR政策助手。无需手动检索文档,只需用日常说话的方式提问,我能从公司最新、最全的规章制度中,为你精准提取并总结答案。
|
||||
</span>
|
||||
<span v-else-if="currentAgent?.name === '通用入口'" class="block text-[11px] text-muted mt-1 truncate cursor-help">
|
||||
我是你的7x24小时专属AI数字人。无需手动检索文档,只需用日常说话的方式提问,我能从公司最新、最全的人事规章制度中,为你精准提取并总结答案。
|
||||
<span v-if="agentDescription" class="block text-[11px] text-muted mt-1 truncate cursor-help">
|
||||
{{ agentDescription }}
|
||||
</span>
|
||||
|
||||
<!-- 气泡提示 -->
|
||||
<div v-if="currentAgent?.name === '人事规章' || currentAgent?.name === '通用入口'" class="absolute left-0 top-[calc(100%+0.25rem)] w-[20rem] p-3 bg-surface border border-default rounded-xl opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-[100] shadow-xl pointer-events-none">
|
||||
<div v-if="agentDescription" class="absolute left-0 top-[calc(100%+0.25rem)] w-[20rem] p-3 bg-surface border border-default rounded-xl opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-[100] shadow-xl pointer-events-none">
|
||||
<div class="leading-relaxed text-[11px] text-secondary">
|
||||
{{ currentAgent?.name === '人事规章' ? '我是你的7x24小时专属HR政策助手。无需手动检索文档,只需用日常说话的方式提问,我能从公司最新、最全的规章制度中,为你精准提取并总结答案。' : '我是你的7x24小时专属AI数字人。无需手动检索文档,只需用日常说话的方式提问,我能从公司最新、最全的人事规章制度中,为你精准提取并总结答案。' }}
|
||||
{{ agentDescription }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4143,8 +4292,8 @@ const showChatRating = ref(false);
|
||||
|
||||
<!-- Bottom Icons -->
|
||||
<div class="flex items-center justify-between text-muted relative" ref="userMenuRef">
|
||||
<button @click="showUserDropdown = !showUserDropdown" class="flex h-8 w-8 items-center justify-center rounded-full bg-brand-600 text-sm font-bold text-white shadow-sm shadow-brand-500/20 hover:bg-brand-700 transition-colors">
|
||||
{{ (currentUser?.username || 'I').charAt(0).toUpperCase() }}
|
||||
<button @click="showUserDropdown = !showUserDropdown" class="flex h-10 min-w-[2.5rem] items-center justify-center rounded-full bg-brand-600 px-3 text-sm font-bold text-white shadow-sm shadow-brand-500/20 transition-colors hover:bg-brand-700">
|
||||
退出
|
||||
</button>
|
||||
|
||||
<!-- User Dropdown Menu -->
|
||||
@@ -4194,7 +4343,7 @@ const showChatRating = ref(false);
|
||||
class="flex items-center gap-1.5 px-3 py-1.5 text-xs font-bold text-brand-700 bg-brand-100 border border-brand-300 rounded-lg hover:bg-brand-200 hover:border-brand-400 transition-all shadow-sm ml-1"
|
||||
>
|
||||
<BookOpen class="w-4 h-4" />
|
||||
新手指南
|
||||
学习之窗
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex items-center gap-1">
|
||||
@@ -4248,61 +4397,64 @@ const showChatRating = ref(false);
|
||||
<div
|
||||
:class="messages.length === 0 ? 'h-full' : 'flex min-h-full flex-col justify-end'"
|
||||
>
|
||||
<div v-if="messages.length === 0" class="flex h-full flex-col items-center justify-center py-2 md:pb-16 w-full px-4">
|
||||
<template v-if="currentAgent?.name === '人事规章'">
|
||||
<div class="mb-6 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">
|
||||
HR
|
||||
<div v-if="messages.length === 0" class="flex h-full min-h-0 w-full flex-col items-center px-4 pt-2 pb-2 md:pb-3">
|
||||
<template v-if="suggestedQuestionsStyle === 'styled' && styledSuggestedQuestionSections.length > 0">
|
||||
<div class="mb-6 mt-2 flex h-16 w-16 shrink-0 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">
|
||||
{{ currentAgent?.name === '人事规章' ? 'HR' : 'AI' }}
|
||||
</div>
|
||||
<h2 class="text-center text-xl font-bold text-primary md:text-2xl mb-8">你好,我是人事规章 AI 助手</h2>
|
||||
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 w-full max-w-4xl mx-auto">
|
||||
<!-- 考勤与休假 -->
|
||||
<div class="bg-surface border border-default rounded-2xl p-5 hover:border-brand-300 transition-colors shadow-sm">
|
||||
<div class="flex items-center gap-2 mb-3">
|
||||
<div class="p-1.5 bg-brand-50 rounded-lg text-brand-600">
|
||||
<CalendarDays class="h-4 w-4" />
|
||||
</div>
|
||||
<h3 class="font-semibold text-secondary">考勤与休假</h3>
|
||||
</div>
|
||||
<div class="space-y-2">
|
||||
<button @click="handleSend('查询我有多少假期?')" class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate">"查询我有多少假期?"</button>
|
||||
<button @click="handleSend('如何进行请假?')" class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate">"如何进行请假?"</button>
|
||||
<button @click="handleSend('查公司法定节假日?')" class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate">"查公司法定节假日?"</button>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="mb-6 shrink-0 text-center text-xl font-bold text-primary md:text-2xl">
|
||||
{{ currentAgent?.name === '人事规章' ? '你好,我是人事规章 AI 助手' : t('chat.welcomeTitle') }}
|
||||
</h2>
|
||||
|
||||
<!-- 规章与日常 -->
|
||||
<div class="bg-surface border border-default rounded-2xl p-5 hover:border-brand-300 transition-colors shadow-sm">
|
||||
<div class="w-full flex-1 min-h-0 overflow-y-auto pb-2">
|
||||
<div class="mx-auto grid w-full max-w-4xl grid-cols-1 gap-4 md:grid-cols-2">
|
||||
<div
|
||||
v-for="(section, sectionIndex) in styledSuggestedQuestionSections"
|
||||
:key="`${section.title}-${sectionIndex}`"
|
||||
class="w-full bg-surface border border-default rounded-2xl p-5 hover:border-brand-300 transition-colors shadow-sm"
|
||||
>
|
||||
<div class="flex items-center gap-2 mb-3">
|
||||
<div class="p-1.5 bg-brand-50 rounded-lg text-brand-600">
|
||||
<Building class="h-4 w-4" />
|
||||
<CalendarDays v-if="section.iconType === 'calendar'" class="h-4 w-4" />
|
||||
<Building v-else class="h-4 w-4" />
|
||||
</div>
|
||||
<h3 class="font-semibold text-secondary">规章与日常</h3>
|
||||
<h3 class="font-semibold text-secondary">{{ section.title }}</h3>
|
||||
</div>
|
||||
<div class="space-y-2">
|
||||
<button @click="handleSend('新员工入职须知')" class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate">"新员工入职须知"</button>
|
||||
<button @click="handleSend('怎么开具在职证明?')" class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate">"怎么开具在职证明?"</button>
|
||||
<button @click="handleSend('查公司薪酬及福利待遇怎么样?')" class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate">"查公司薪酬及福利待遇怎么样?"</button>
|
||||
<button
|
||||
v-for="(item, questionIndex) in section.questions"
|
||||
:key="`${section.title}-${questionIndex}`"
|
||||
@click="handleSend(item.question)"
|
||||
class="w-full text-left text-xs md:text-sm text-secondary hover:text-brand-600 bg-surface-soft hover:bg-brand-50 px-3 py-2 rounded-lg transition-colors truncate"
|
||||
>
|
||||
"{{ item.question }}"
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="currentAgent?.name === '通用入口'">
|
||||
<div class="mb-6 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">
|
||||
<template v-else-if="agentSuggestedQuestions.length > 0">
|
||||
<div class="mb-6 mt-2 flex h-16 w-16 shrink-0 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">
|
||||
AI
|
||||
</div>
|
||||
<h2 class="text-center text-xl font-medium text-primary md:text-2xl mb-8">{{ $t('chat.welcomeTitle') }}</h2>
|
||||
|
||||
<div class="flex flex-wrap justify-center gap-3 w-full max-w-3xl mx-auto mt-2">
|
||||
<button @click="handleSend('新员工入职须知')" class="px-4 py-2 text-sm text-secondary bg-surface border border-default rounded-full hover:border-brand-300 hover:text-brand-600 hover:bg-brand-50 transition-all shadow-sm">"新员工入职须知"</button>
|
||||
<button @click="handleSend('查询我有多少假期?')" class="px-4 py-2 text-sm text-secondary bg-surface border border-default rounded-full hover:border-brand-300 hover:text-brand-600 hover:bg-brand-50 transition-all shadow-sm">"查询我有多少假期?"</button>
|
||||
<button @click="handleSend('如何进行请假?')" class="px-4 py-2 text-sm text-secondary bg-surface border border-default rounded-full hover:border-brand-300 hover:text-brand-600 hover:bg-brand-50 transition-all shadow-sm">"如何进行请假?"</button>
|
||||
<button @click="handleSend('查公司法定节假日?')" class="px-4 py-2 text-sm text-secondary bg-surface border border-default rounded-full hover:border-brand-300 hover:text-brand-600 hover:bg-brand-50 transition-all shadow-sm">"查公司法定节假日?"</button>
|
||||
<button @click="handleSend('查公司薪酬及福利待遇怎么样?')" class="px-4 py-2 text-sm text-secondary bg-surface border border-default rounded-full hover:border-brand-300 hover:text-brand-600 hover:bg-brand-50 transition-all shadow-sm">"查公司薪酬及福利待遇怎么样?"</button>
|
||||
<h2 class="mb-6 shrink-0 text-center text-xl font-medium text-primary md:text-2xl">{{ $t('chat.welcomeTitle') }}</h2>
|
||||
|
||||
<div class="w-full flex-1 min-h-0 overflow-y-auto pb-2">
|
||||
<div class="flex flex-wrap justify-center gap-3 w-full max-w-3xl mx-auto mt-2">
|
||||
<button
|
||||
v-for="(item, index) in agentSuggestedQuestions"
|
||||
:key="`${item.question}-${index}`"
|
||||
@click="handleSend(item.question)"
|
||||
class="px-4 py-2 text-sm text-secondary bg-surface border border-default rounded-full hover:border-brand-300 hover:text-brand-600 hover:bg-brand-50 transition-all shadow-sm"
|
||||
>
|
||||
"{{ item.question }}"
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="mb-6 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">
|
||||
<div class="mb-6 mt-2 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">
|
||||
AI
|
||||
</div>
|
||||
<h2 class="text-center text-xl font-medium text-primary md:text-2xl">{{ $t('chat.welcomeTitle') }}</h2>
|
||||
@@ -4943,20 +5095,21 @@ const showChatRating = ref(false);
|
||||
</div>
|
||||
<div class="relative" ref="kbMenuRef">
|
||||
<button
|
||||
@click="showKbDropdown = !showKbDropdown"
|
||||
class="flex items-center gap-1 rounded-lg border border-default px-3 py-1.5 text-xs font-medium text-secondary transition-colors hover:bg-surface-soft"
|
||||
@click="toggleKbDropdown"
|
||||
:disabled="kbDropdownDisabled"
|
||||
class="flex items-center gap-1 rounded-lg border border-default px-3 py-1.5 text-xs font-medium text-secondary transition-colors hover:bg-surface-soft disabled:cursor-not-allowed disabled:opacity-60"
|
||||
>
|
||||
<Database class="h-3.5 w-3.5 text-brand-500" />
|
||||
{{ getKbLabel(selectedKb) }} <ChevronDown class="h-3 w-3" />
|
||||
</button>
|
||||
<div
|
||||
v-if="showKbDropdown"
|
||||
v-if="showKbDropdown && !kbDropdownDisabled"
|
||||
class="absolute bottom-full left-0 mb-2 w-36 overflow-hidden rounded-xl border border-subtle bg-surface py-1 shadow-xl animate-fade-in"
|
||||
>
|
||||
<button
|
||||
v-for="option in kbOptions"
|
||||
v-for="option in availableKbOptions"
|
||||
:key="option"
|
||||
@click="selectedKb = option; showKbDropdown = false"
|
||||
@click="selectKb(option)"
|
||||
class="flex w-full items-center justify-between px-3 py-2 text-xs text-secondary transition-colors hover:bg-surface-soft"
|
||||
:class="{ 'font-bold text-brand-700': selectedKb === option }"
|
||||
>
|
||||
@@ -5231,13 +5384,13 @@ const showChatRating = ref(false);
|
||||
/>
|
||||
|
||||
<Teleport to="body">
|
||||
<!-- 新手指南 Modal -->
|
||||
<!-- 学习之窗 Modal -->
|
||||
<div v-if="showGuideModal" class="fixed inset-0 z-[9999] flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm">
|
||||
<div class="bg-surface rounded-2xl shadow-xl w-full max-w-4xl overflow-hidden flex flex-col h-[85vh]">
|
||||
<div class="px-6 py-4 border-b border-default flex justify-between items-center bg-surface shrink-0">
|
||||
<h3 class="text-lg font-bold text-primary flex items-center gap-2">
|
||||
<BookOpen class="w-5 h-5 text-brand-600" />
|
||||
{{ currentAgent?.name }} - 新手指南
|
||||
{{ currentAgent?.name }} - 学习之窗
|
||||
</h3>
|
||||
<div class="flex items-center gap-3">
|
||||
<button @click="showGuideSidebar = !showGuideSidebar" class="flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium text-brand-600 hover:text-brand-700 hover:bg-brand-50 rounded-lg transition-colors border border-transparent hover:border-brand-100">
|
||||
@@ -5279,7 +5432,6 @@ const showChatRating = ref(false);
|
||||
:key="'video-' + activeGuide.id"
|
||||
:src="activeGuide.file_url || activeGuide.file_path"
|
||||
controls
|
||||
autoplay
|
||||
class="w-full h-full object-contain bg-black"
|
||||
></video>
|
||||
<iframe
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -242,6 +242,8 @@ const draggedSectionIndex = ref<number | null>(null);
|
||||
|
||||
// Computed
|
||||
const isLoggedIn = computed(() => !!currentUser.value && currentUser.value.role !== 'guest');
|
||||
const hasKnowledgeBaseAccess = computed(() => String(currentUser.value?.username || '').trim().toLowerCase() === 'admin');
|
||||
const KB_ACCESS_DENIED_MESSAGE = '暂无权限,请登录admin账号操作知识库!';
|
||||
|
||||
const favoriteAgents = computed(() => {
|
||||
return agents.value.filter(a => favoriteAgentIds.value.includes(a.id));
|
||||
@@ -751,8 +753,9 @@ const isProfileLoading = ref(false);
|
||||
const isProfileSaving = ref(false);
|
||||
const isProfileEditing = ref(false);
|
||||
const showPasswordModal = ref(false);
|
||||
|
||||
// TODO(casdoor): set true when Casdoor change-password is ready
|
||||
const CHANGE_PASSWORD_ENABLED = false;
|
||||
const CHANGE_PASSWORD_ENABLED = true;
|
||||
|
||||
const handleChangePasswordClick = () => {
|
||||
if (!CHANGE_PASSWORD_ENABLED) {
|
||||
@@ -979,7 +982,15 @@ const navigateToApplications = () => openWorkspaceSection('favorites', 'applicat
|
||||
|
||||
const navigateToUpdates = () => openWorkspaceSection('announcements', 'updates');
|
||||
|
||||
const showKnowledgeBaseAccessDenied = () => {
|
||||
msg.warning(KB_ACCESS_DENIED_MESSAGE);
|
||||
};
|
||||
|
||||
const navigateToKnowledgeBase = () => {
|
||||
if (!hasKnowledgeBaseAccess.value) {
|
||||
showKnowledgeBaseAccessDenied();
|
||||
return;
|
||||
}
|
||||
activeSidebarItem.value = 'knowledge_base';
|
||||
};
|
||||
|
||||
@@ -1347,7 +1358,12 @@ onMounted(async () => {
|
||||
const viewParam = route.query.view as string;
|
||||
const validViews: string[] = ['profile', 'applications', 'feedback', 'updates', 'knowledge_base', 'schedule_runs', 'shipping_notice', 'history'];
|
||||
if (viewParam && validViews.includes(viewParam)) {
|
||||
activeSidebarItem.value = viewParam as typeof activeSidebarItem.value;
|
||||
if (viewParam === 'knowledge_base' && !hasKnowledgeBaseAccess.value) {
|
||||
showKnowledgeBaseAccessDenied();
|
||||
activeSidebarItem.value = 'applications';
|
||||
} else {
|
||||
activeSidebarItem.value = viewParam as typeof activeSidebarItem.value;
|
||||
}
|
||||
if (viewParam === 'profile' && !profileUser.value.id) {
|
||||
await fetchProfile();
|
||||
}
|
||||
@@ -1361,6 +1377,12 @@ onMounted(async () => {
|
||||
}
|
||||
});
|
||||
|
||||
watch(hasKnowledgeBaseAccess, (allowed) => {
|
||||
if (!allowed && activeSidebarItem.value === 'knowledge_base') {
|
||||
activeSidebarItem.value = 'applications';
|
||||
}
|
||||
});
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
window.removeEventListener('hxops:logout', onAuthLogout);
|
||||
});
|
||||
@@ -1524,7 +1546,7 @@ onBeforeUnmount(() => {
|
||||
<div v-else>
|
||||
<header v-if="isMobile" class="sticky top-0 z-30 flex items-center justify-between border-b border-default bg-surface px-4 py-2.5">
|
||||
<div class="flex items-center gap-2">
|
||||
<button @click="navigateToGeneralChat" class="flex h-7 w-7 items-center justify-center rounded-lg bg-gradient-to-br from-brand-500 via-brand-600 to-purple-600 text-xs font-bold text-white shadow-sm shadow-brand-500/20" :title="$t('workspace.nav.backToChat')">AI</button>
|
||||
<button @click="navigateToGeneralChat" class="flex h-7 w-7 items-center justify-center rounded-lg bg-gradient-to-br from-brand-500 via-brand-600 to-purple-600 text-xs font-bold text-white shadow-sm shadow-brand-500/20" :title="$t('workspace.nav.backToChat')">返</button>
|
||||
<span class="text-sm font-semibold text-primary">{{ mobileTabTitle }}</span>
|
||||
</div>
|
||||
</header>
|
||||
@@ -2323,7 +2345,7 @@ onBeforeUnmount(() => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Change password modal: re-enable via CHANGE_PASSWORD_ENABLED when Casdoor is ready -->
|
||||
<!-- Change password modal -->
|
||||
<div
|
||||
v-if="CHANGE_PASSWORD_ENABLED && showPasswordModal"
|
||||
class="dialog-overlay z-50 items-center"
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "hxops",
|
||||
"private": true,
|
||||
"description": "Repository-level tooling (Git hooks, commitlint)",
|
||||
"scripts": {
|
||||
"prepare:hooks": "npm install",
|
||||
"commitlint": "commitlint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.8.1",
|
||||
"@commitlint/config-conventional": "^19.8.1"
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ if ! git -C "${ROOT_DIR}" rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
HOOKS_DIR="${ROOT_DIR}/.githooks"
|
||||
REQUIRED_HOOKS=(pre-commit pre-push _common.sh)
|
||||
REQUIRED_HOOKS=(pre-commit pre-push commit-msg _common.sh)
|
||||
|
||||
for hook_name in "${REQUIRED_HOOKS[@]}"; do
|
||||
hook_path="${HOOKS_DIR}/${hook_name}"
|
||||
@@ -28,8 +28,18 @@ if ! git -C "${ROOT_DIR}" config core.hooksPath .githooks; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -f "${ROOT_DIR}/package.json" ]]; then
|
||||
echo "[hook-install] Installing commitlint dependencies (npm install)..."
|
||||
if ! (cd "${ROOT_DIR}" && npm install); then
|
||||
echo "[hook-install] npm install failed. commit-msg hook requires root node_modules."
|
||||
echo "[hook-install] please run manually: cd ${ROOT_DIR} && npm install"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "[hook-install] Installed Git hooks successfully."
|
||||
echo "[hook-install] pre-commit: models 变更需带 migration;frontend 暂存时跑 vue-tsc"
|
||||
echo "[hook-install] commit-msg: 校验提交信息格式(Conventional Commits)"
|
||||
echo "[hook-install] pre-push: 推送含 frontend 变更时跑 npm run build"
|
||||
echo "[hook-install] core.hooksPath=$(git -C "${ROOT_DIR}" config --get core.hooksPath)"
|
||||
echo "[hook-install] 跳过前端检查: SKIP_FRONTEND_HOOKS=1"
|
||||
|
||||
Reference in new issue
Block a user