mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
BUG:SqlServer Proc Output Decimal(N,N)
This commit is contained in:
@@ -208,6 +208,11 @@ namespace SqlSugar
|
||||
get; set;
|
||||
}
|
||||
|
||||
public override byte Scale
|
||||
{
|
||||
get;set;
|
||||
}
|
||||
|
||||
public int _Size;
|
||||
|
||||
public override int Size
|
||||
|
||||
@@ -185,6 +185,10 @@ namespace SqlSugar
|
||||
{
|
||||
sqlParameter.SqlDbType = ((SqlDbType)parameter.CustomDbType);
|
||||
}
|
||||
if (sqlParameter.Direction == ParameterDirection.Output&¶meter.Scale>0)
|
||||
{
|
||||
sqlParameter.Scale = parameter.Scale;
|
||||
}
|
||||
++index;
|
||||
}
|
||||
return result;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.167-preview24</version>
|
||||
<version>5.1.4.167-preview26</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
||||
Reference in New Issue
Block a user