修改模板和SQL连接语句
This commit is contained in:
parent
ffa3c24335
commit
596f70da75
48
.claudiaideconfig
Normal file
48
.claudiaideconfig
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
"BackgroundImageAbsolutePath": "C:\\Users\\33134\\Desktop\\look.jpg",
|
||||||
|
"BackgroundImagesDirectoryAbsolutePath": "c:\\users\\33134\\appdata\\local\\microsoft\\visualstudio\\17.0_4587ed4d\\extensions\\1bskmveu.ze0\\Images",
|
||||||
|
"BlurMethod": 0,
|
||||||
|
"BlurRadius": 0,
|
||||||
|
"EditorBackgroundColor": "",
|
||||||
|
"EditorBackgroundColorObject": null,
|
||||||
|
"ExpandToIDE": true,
|
||||||
|
"Extensions": ".png, .jpg, .gif, .bmp",
|
||||||
|
"ImageBackgroundType": 0,
|
||||||
|
"ImageFadeAnimationInterval": "PT5S",
|
||||||
|
"ImageStretch": 0,
|
||||||
|
"IsLimitToMainlyEditorWindow": false,
|
||||||
|
"IsTransparentToContentMargin": false,
|
||||||
|
"IsTransparentToStickyScroll": false,
|
||||||
|
"LoopSlideshow": true,
|
||||||
|
"MaxHeight": 0,
|
||||||
|
"MaxWidth": 0,
|
||||||
|
"Opacity": 0.2,
|
||||||
|
"PositionHorizon": 2,
|
||||||
|
"PositionVertical": 2,
|
||||||
|
"ShuffleSlideshow": false,
|
||||||
|
"SoftEdgeX": 0,
|
||||||
|
"SoftEdgeY": 0,
|
||||||
|
"StickyScrollColor": "#00000000",
|
||||||
|
"StickyScrollColorObject": {
|
||||||
|
"A": 0,
|
||||||
|
"B": 0,
|
||||||
|
"G": 0,
|
||||||
|
"R": 0,
|
||||||
|
"ScA": 0,
|
||||||
|
"ScB": 0,
|
||||||
|
"ScG": 0,
|
||||||
|
"ScR": 0
|
||||||
|
},
|
||||||
|
"TileMode": 3,
|
||||||
|
"UpdateImageInterval": "PT1M",
|
||||||
|
"ViewBoxPointX": 0,
|
||||||
|
"ViewBoxPointY": 0,
|
||||||
|
"ViewPortHeight": 1,
|
||||||
|
"ViewPortPointX": 0,
|
||||||
|
"ViewPortPointY": 0,
|
||||||
|
"ViewPortWidth": 1,
|
||||||
|
"WebApiDownloadInterval": "PT5M",
|
||||||
|
"WebApiEndpoint": "",
|
||||||
|
"WebApiJsonKey": "",
|
||||||
|
"WebSingleUrl": ""
|
||||||
|
}
|
||||||
@ -9,7 +9,8 @@ namespace linesider_screen_bankend.Services.SQLHepler
|
|||||||
{
|
{
|
||||||
var config = new ConnectionConfig()
|
var config = new ConnectionConfig()
|
||||||
{
|
{
|
||||||
ConnectionString = "Data Source=192.168.50.163;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306", // 替换为你的MySQL连接字符串
|
//ConnectionString = "Data Source=192.168.50.163;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306", // 替换为你的MySQL连接字符串
|
||||||
|
ConnectionString= "Data Source=139.224.232.211;User ID=root;Password=doantech123;Initial Catalog=GXAssembly;Port=3308",
|
||||||
DbType = DbType.MySql, // 数据库类型设置为MySQL
|
DbType = DbType.MySql, // 数据库类型设置为MySQL
|
||||||
IsAutoCloseConnection = true, // 自动释放
|
IsAutoCloseConnection = true, // 自动释放
|
||||||
InitKeyType = InitKeyType.Attribute // 从实体特性读取主键信息
|
InitKeyType = InitKeyType.Attribute // 从实体特性读取主键信息
|
||||||
|
|||||||
@ -55,7 +55,6 @@ namespace linesider_screen_bankend.Core.Tools
|
|||||||
_btFormat.SetNamedSubStringValue(item.Key, item.Value);
|
_btFormat.SetNamedSubStringValue(item.Key, item.Value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 执行打印
|
// 执行打印
|
||||||
_btFormat.PrintOut(false, false);
|
_btFormat.PrintOut(false, false);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user