| | |
| | | _sbCont.Append("select count(1) from " + _table + |
| | | " where guid='" + _guid + "' and " + |
| | | check_status + "=1"); |
| | | cont = int.Parse(DbHelperSQL.GetSingle(_sbCont.ToString()).ToString()); |
| | | cont = int.Parse(DbHelperSQL.GetSingle(_sbCont.ToString()) |
| | | .ToString()); |
| | | if (cont <= 0) |
| | | { |
| | | m.outMsg = "操作失败,该单据并没有被审核!"; |
| | |
| | | "," + check_by + "='" + _userCode + |
| | | "' where guid='" + _guid + "'"); |
| | | _ary.Add(_strSql1); |
| | | _ary.Add(BuildLog(_userGuid, _guid, _table, '【'+ _userCode+'】'+ "审核了【" + _guid+'】')); |
| | | _ary.Add(BuildLog(_userGuid, _guid, _table, |
| | | '【' + _userCode + '】' + "审核了【" + _guid + '】')); |
| | | DbHelperSQL.ExecuteSqlTran(_ary); |
| | | _sbMsg.Append("操作成功!"); |
| | | m.outGuid = _guid; |