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