修改字段格式
This commit is contained in:
@@ -15,7 +15,7 @@ namespace NX.ERP.U8
|
||||
|
||||
using (var conn = new System.Data.SqlClient.SqlConnection(U8LoginContext.Instance.Constr4Net))
|
||||
{
|
||||
var sql = "select cWhCode as WarehouseCode,cWhName as WarehouseName from Warehouse";
|
||||
var sql = "select cWhCode as Code,cWhName as Name from Warehouse";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
sql += $" where {strWhere}";
|
||||
|
||||
Reference in New Issue
Block a user