| | |
| | | .Select(it => it.Guid) // |
| | | .First(); |
| | | |
| | | detail = "[PDA]" + detail; |
| | | //detail = "[PDA]" + detail; |
| | | // 执行存储过程 |
| | | db.Ado.ExecuteCommand( |
| | | "exec prc_log_create @edtUserGuid, @abtGuid, @abtTable, @detail, @orderNo", |
| | |
| | | } |
| | | ); |
| | | } |
| | | |
| | | |
| | | public void CreateLogI( |
| | | SqlSugarScope db, |
| | | Guid edtUserGuid, |
| | | string abtGuid, |
| | | string abtTable, |
| | | string detail, |
| | | string orderNo, |
| | | string sendJson, |
| | | string rtnJson, |
| | | string xkyBeginTime, |
| | | string xkyEndTime, |
| | | int sendStatus, |
| | | string executeTime) |
| | | { |
| | | db.Ado.ExecuteCommand( |
| | | "exec prc_log_create @edtUserGuid, @abtGuid, @abtTable, @detail, @hNo,@RtnLogGuid, @SendJson, @RtnJson, @xkyBeginTime, @xkyEndTime, @sendStatus, @executeTime", |
| | | new { |
| | | edtUserGuid, |
| | | abtGuid = string.IsNullOrEmpty(abtGuid) ? DBNull.Value : (object)abtGuid, |
| | | abtTable = (object)abtTable ?? DBNull.Value, |
| | | detail, |
| | | hNo = orderNo, |
| | | RtnLogGuid = DBNull.Value, |
| | | SendJson = sendJson, |
| | | RtnJson = rtnJson, |
| | | xkyBeginTime = (object)xkyBeginTime ?? DBNull.Value, |
| | | xkyEndTime = (object)xkyEndTime ?? DBNull.Value, |
| | | sendStatus = (object)sendStatus ?? DBNull.Value, |
| | | executeTime = (object)executeTime ?? DBNull.Value |
| | | }); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |