main
kgdxpr 5 months ago
parent e94abaf501
commit 680bd73e58

@ -0,0 +1,17 @@
yum install -y wget epel-release
yum install -y python3.12
cd /usr/bin
rm -rf python3
rm -rf python
cd /usr/local
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py -i https://mirrors.aliyun.com/pypi/simple/
yum install -y git gcc gcc-c++ zlib-devel
git clone https://gitee.com/fzxs/markitdown.git
cd markitdown
pip install -e packages/markitdown -i https://mirrors.aliyun.com/pypi/simple/

@ -0,0 +1,45 @@
解决步骤
一、在数据库中先删除本次未同步成功的数据。本次导入了2个班学生那需要将这2个班的学生信息和相关信息都删除
删除表包括:
1、学籍数据库t_xs_student
2、基础数据数据库T_BASE_USER_DETAIL、T_BASE_USER_IDENTITY、T_SYS_USER_ROLE、T_BASE_USER
二、重启学籍系统。
三、在学籍系统重新导入学生信息
如下是删除数据的例子:
#system_manager_ssh_ts_150331基础数据数据库
-- 根据学校名查出学校ID
select org_id from t_base_orgtree where org_name like '%第十八中%'
-- 根据学校ID和班级编码查出班级ID(班级编码在页面中查看)
select id from t_base_class where school_id = '5FE2437E-ADE2-4C56-AFB3-BAA6C8EB94A1' AND CLASS_CODE IN ('20240201','20240202')
-- 注意不能先删T_BASE_USER表因为其他对应表需要user_id进行删除。
-- 删除T_BASE_USER_DETAIL根据T_BASE_USER的DEPT_ID(学生的班级ID)查询出来的学生ID进行删除。
SELECT * FROM T_BASE_USER_DETAIL WHERE USER_ID IN (
SELECT ID FROM T_BASE_USER WHERE DEPT_ID IN ('07D9F513-FE3E-4564-838E-AAB5D192E5AD','5D19A998-24BA-483B-A6B2-7BEDA58381DC')
)
-- 删除T_BASE_USER_IDENTITY根据T_BASE_USER的DEPT_ID(学生的班级ID)查询出来的学生ID进行删除。
SELECT * FROM T_BASE_USER_IDENTITY WHERE USER_ID IN (
SELECT ID FROM T_BASE_USER WHERE DEPT_ID IN ('07D9F513-FE3E-4564-838E-AAB5D192E5AD','5D19A998-24BA-483B-A6B2-7BEDA58381DC')
)
-- 删除T_SYS_USER_ROLE根据T_BASE_USER的DEPT_ID(学生的班级ID)查询出来的学生ID进行删除。
SELECT * FROM T_SYS_USER_ROLE WHERE USER_ID IN (
SELECT ID FROM T_BASE_USER WHERE DEPT_ID IN ('07D9F513-FE3E-4564-838E-AAB5D192E5AD','5D19A998-24BA-483B-A6B2-7BEDA58381DC')
)
-- 最后删除T_BASE_USER表
SELECT * FROM T_BASE_USER WHERE DEPT_ID IN ('07D9F513-FE3E-4564-838E-AAB5D192E5AD','5D19A998-24BA-483B-A6B2-7BEDA58381DC')
#business_xj学籍数据库
-- 根据从基础数据中查询出的班级ID删除t_xs_student表
SELECT * FROM t_xs_student WHERE BJBH IN ('07D9F513-FE3E-4564-838E-AAB5D192E5AD','5D19A998-24BA-483B-A6B2-7BEDA58381DC')

@ -4,24 +4,182 @@
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
/* From Uiverse.io by Madflows */
.button {
position: relative;
overflow: hidden;
width: 100px;
height: 30px;
padding: 0 2rem;
border-radius: 1.5rem;
background: #3d3a4e;
background-size: 400%;
color: #fff;
border: none;
cursor: pointer;
}
.button:hover::before {
transform: scaleX(1);
}
.button-content {
position: relative;
z-index: 1;
}
.button::before {
content: "";
position: absolute;
top: 0;
left: 0;
transform: scaleX(0);
transform-origin: 0 50%;
width: 100%;
height: inherit;
border-radius: inherit;
background: linear-gradient(82.3deg,
rgba(150, 93, 233, 1) 10.8%,
rgba(99, 88, 238, 1) 94.3%);
transition: all 0.475s;
}
/* From Uiverse.io by elijahgummer */
/* Hide the default checkbox */
.container input {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.container {
display: block;
position: relative;
cursor: pointer;
font-size: 20px;
user-select: none;
border: 3px solid #beddd0;
border-radius: 10px;
overflow: hidden;
}
/* Create a custom checkbox */
.checkmark {
position: relative;
top: 0;
left: 0;
height: 1.3em;
width: 1.3em;
background-color: #2dc38c;
border-bottom: 1.5px solid #2dc38c;
/* Bottom stroke */
box-shadow: 0 0 1px #cef1e4, inset 0 -2.5px 3px #62eab8,
inset 0 3px 3px rgba(0, 0, 0, 0.34);
/* Inner shadow */
border-radius: 8px;
transition: transform 0.3s ease-in-out;
/* Transition for smooth animation */
}
/* When the checkbox is checked, modify the checkmark appearance */
.container input:checked~.checkmark {
transform: translateY(40px);
/* Move down */
animation: wipeDown 0.6s ease-in-out forwards;
/* Apply wipe animation */
}
/* When the checkbox is not checked, modify the checkmark appearance */
.container input:not(:checked)~.checkmark {
transform: translateY(-40px);
/* Move up */
animation: wipeUp 0.6s ease-in-out forwards;
/* Apply wipe animation */
}
/* Keyframes for wipe animations */
@keyframes wipeDown {
0% {
transform: translateY(0);
/* Starting position */
}
100% {
transform: translateY(40px);
/* End position */
}
}
@keyframes wipeUp {
0% {
transform: translateY(40);
/* Starting position */
}
100% {
transform: translateY(0px);
/* End position */
}
}
/* Create the checkmark/indicator */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the checkmark when checked */
.container input:checked~.checkmark:after {
display: block;
}
/* Style the checkmark/indicator */
.container .checkmark:before {
content: "";
position: absolute;
left: 10px;
top: 4px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
box-shadow: 0 4px 2px rgba(0, 0, 0, 0.34);
/* Icon drop shadow */
}
</style>
</head>
<body>
<iframe
src="http://10.10.14.206:8080/ui/chat/d84e9ed663af1d37"
style="width: 100%; height: 500px;"
frameborder="0"
allow="microphone">
</iframe>
<button class="button">
<span class="button-content">下载</span>
</button>
<button class="button">
<span class="button-content">下载</span>
</button>
<button class="button">
<span class="button-conetne">下载</span>
</button>
</body>
<script
async
defer
src="http://10.10.14.206:8080/api/application/embed?protocol=http&host=10.10.14.206:8080&token=d84e9ed663af1d37">
</script>
</html>

@ -93,7 +93,7 @@ public class AddWenNum {
Db103Util.Init();
//想要添加的文号
String wenHao = "郑政办";
String wenHao = "郑组通";
//1、form下的json数据
Kv kv = addForm(wenHao);

Loading…
Cancel
Save