啊鑫
7 天以前 6b57612f6e9f7575d206e82955ffd989faaaf8b3
WebApi/Gs.Sys/Services/GeneralController.cs
@@ -79,8 +79,7 @@
                    _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 = "操作失败,该单据并没有被审核!";
@@ -97,8 +96,7 @@
                                "," + 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;