修改字段格式
This commit is contained in:
@@ -15,8 +15,8 @@ namespace NX.ERP.U8
|
||||
using (var conn = new System.Data.SqlClient.SqlConnection(U8LoginContext.Instance.Constr4Net))
|
||||
{
|
||||
var sql = @"select
|
||||
cComunitCode AS UnitCode,
|
||||
cComUnitName AS UnitName,bMainUnit as MainUnit, cGroupCode as GroupCode from ComputationUnit ";
|
||||
cComunitCode AS Code,
|
||||
cComUnitName AS Name,bMainUnit as MainUnit, cGroupCode as GroupCode from ComputationUnit ";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
sql += $" where {strWhere}";
|
||||
|
||||
Reference in New Issue
Block a user