edit
Cette révision appartient à :
@@ -226,6 +226,7 @@ public partial class supplierBuildFile : System.Web.UI.Page
|
|||||||
{
|
{
|
||||||
upStatus = 2;
|
upStatus = 2;
|
||||||
updateSql += string.Format("insert into CE_ErpTradeLog(tid,orderstate,userid,operatetime,con) select ctid,{1},{2},getdate(),'{3}' from ce_erptradecell where ctid in ({0}) ;", string.Join(",", tids), (int)OrderState.下单完成, 0, "下载设计文件");
|
updateSql += string.Format("insert into CE_ErpTradeLog(tid,orderstate,userid,operatetime,con) select ctid,{1},{2},getdate(),'{3}' from ce_erptradecell where ctid in ({0}) ;", string.Join(",", tids), (int)OrderState.下单完成, 0, "下载设计文件");
|
||||||
|
updateSql += string.Format("update ce_erptradecell set UpdateTime=getdate() where ctid in ({0}) ;", string.Join(",", tids));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ public partial class uploadFile : System.Web.UI.Page
|
|||||||
postFile.SaveAs(saveFile);
|
postFile.SaveAs(saveFile);
|
||||||
entity.FileMd5 = GetMD5HashFromFile(postFile);
|
entity.FileMd5 = GetMD5HashFromFile(postFile);
|
||||||
//XLog.SaveLog(0, saveFile);
|
//XLog.SaveLog(0, saveFile);
|
||||||
|
entity.UpdateTime = DateTime.Now;
|
||||||
entity.Update();
|
entity.Update();
|
||||||
//CeErpTradeCell.UpdateRelationOrder(entity);
|
//CeErpTradeCell.UpdateRelationOrder(entity);
|
||||||
CeErpTradeCell.UpdateRelationOrder(entity.ctid);
|
CeErpTradeCell.UpdateRelationOrder(entity.ctid);
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur