修改字段格式

This commit is contained in:
admin
2021-01-15 11:30:02 +08:00
parent 68a8696bdf
commit d76fa3b793
11 changed files with 20 additions and 22 deletions

View File

@@ -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}";