From 59abbe4785268a10ec9390b8373cce3939c1d24b Mon Sep 17 00:00:00 2001 From: lg <999544862qq.com> Date: 星期一, 02 九月 2024 15:42:22 +0800 Subject: [PATCH] 打印测试 --- WebApi/Gs.User/Service/UserController.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/WebApi/Gs.User/Service/UserController.cs b/WebApi/Gs.User/Service/UserController.cs index d404929..9ef7e53 100644 --- a/WebApi/Gs.User/Service/UserController.cs +++ b/WebApi/Gs.User/Service/UserController.cs @@ -84,6 +84,7 @@ public ReturnDto<System.Dynamic.ExpandoObject> GetUserLoginInfo([FromBody] UserLogin model) { Guid userGuid = model.userGuid; + Guid orgGuid= model.orgGuid; DataSet dset = new DataSet(); dynamic m = new System.Dynamic.ExpandoObject(); using (SqlConnection conn = new SqlConnection(DbHelperSQL.strConn)) @@ -96,6 +97,7 @@ cmd.CommandType = CommandType.StoredProcedure; SqlParameter[] parameters = new SqlParameter[] { new SqlParameter("@userGuid",userGuid), + new SqlParameter("@orgGuid",orgGuid), }; foreach (SqlParameter parameter in parameters) { @@ -127,7 +129,8 @@ } ); } - return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, "鐧诲綍鎴愬姛锛�"); + string _msg = "娆㈣繋浣跨敤鏌愭煇鍏徃EMS绯荤粺锛屼綘鐨勮鑹蹭负銆愮鐞嗗憳銆戝綋鍓嶅叡鏈夈��20銆戞潯淇℃伅鏈鐞�"; + return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, _msg); } } } @@ -263,6 +266,7 @@ { _model.isSys = int.Parse(row["isSys"].ToString()); } + _model.isLockedTxt = row["isLocked"].ToString() != "1" ? "姝e父" : "琚攣瀹�"; _pglist.list.Add(_model); } } -- Gitblit v1.9.3