SVN r668
SVN-Revision: r668
This commit is contained in:
@@ -652,8 +652,9 @@ namespace Lskj.PubBomImport
|
||||
{
|
||||
DataRow maxRow = maxfileRowDic.ContainsKey(fileInfo.Name) ? maxfileRowDic[fileInfo.Name] : null;
|
||||
string uploadFileId = "";
|
||||
if (maxRow != null)//如果存在则不允许上传
|
||||
if (maxRow != null)//如果存在则修改
|
||||
{
|
||||
int.TryParse(maxRow["fileid"] + "", out int fileId);
|
||||
int.TryParse(maxRow["版本号"] + "", out int oldbb);
|
||||
int.TryParse(maxRow["新文件版本号"] + "", out int newbb);
|
||||
if (newbb <= oldbb)
|
||||
@@ -670,6 +671,10 @@ namespace Lskj.PubBomImport
|
||||
}
|
||||
StaticControl.RightMenuGridView.GridControl.Invoke(new Action(() =>
|
||||
{
|
||||
if (selectRow.Table.Columns.Contains("qms_laddf_uniofileid"))
|
||||
{
|
||||
selectRow["qms_laddf_uniofileid"] = fileId;
|
||||
}
|
||||
if (selectRow.Table.Columns.Contains("qms_laddf_uploadtag"))
|
||||
{
|
||||
selectRow["qms_laddf_uploadtag"] = 1;
|
||||
|
||||
Reference in New Issue
Block a user