Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
cf1e1b85
Commit
cf1e1b85
authored
Apr 23, 2022
by
罗显健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQL脚本执行工具解码格式设置为UTF-8.
parent
ba978659
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
frmMain.Designer.cs
UpdateExecuter/frmMain.Designer.cs
+2
-2
frmMain.cs
UpdateExecuter/frmMain.cs
+1
-1
No files found.
UpdateExecuter/frmMain.Designer.cs
View file @
cf1e1b85
...
...
@@ -245,9 +245,9 @@
this
.
label3
.
ForeColor
=
System
.
Drawing
.
Color
.
DarkGoldenrod
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
9
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
5
24
,
17
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
5
66
,
17
);
this
.
label3
.
TabIndex
=
23
;
this
.
label3
.
Text
=
"*注:SQL文件,根据添加客户时维护的数据库链接执行;更新包,通过添加客户时维护的FTP上传"
;
this
.
label3
.
Text
=
"*注:SQL文件
(UTF-8)
,根据添加客户时维护的数据库链接执行;更新包,通过添加客户时维护的FTP上传"
;
//
// frmMain
//
...
...
UpdateExecuter/frmMain.cs
View file @
cf1e1b85
...
...
@@ -381,7 +381,7 @@ namespace UpdateExecuter
List
<
string
>
lstSql
=
null
;
if
(!
conDicFileScript
.
ContainsKey
(
file
.
FullName
))
{
lstSql
=
Utils
.
SliceSingleFileScript
(
File
.
ReadAllText
(
file
.
FullName
,
System
.
Text
.
Encoding
.
Default
));
lstSql
=
Utils
.
SliceSingleFileScript
(
File
.
ReadAllText
(
file
.
FullName
,
System
.
Text
.
Encoding
.
UTF8
));
// 更改为指定的编码格式 2022-04-23 09:04:24 lxj。
conDicFileScript
.
TryAdd
(
file
.
FullName
,
lstSql
);
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment