task任务修改
This commit is contained in:
@@ -160,9 +160,9 @@ namespace ZR.Service.mes.wms
|
||||
};
|
||||
int recordNum = Context.Insertable(record).ExecuteCommand();
|
||||
|
||||
Context.Ado.UseTran(() =>{
|
||||
/*Context.Ado.UseTran(() =>{
|
||||
Context.Insertable(record).ExecuteCommand();
|
||||
});
|
||||
});*/
|
||||
if (recordNum == 0)
|
||||
{
|
||||
Context.Ado.RollbackTran();
|
||||
|
||||
Reference in New Issue
Block a user