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