@ -274,7 +274,7 @@ where res.taskcode = '0' and equipmentCode = 'C6' and res.OrderCode is not null
( ' { CommonFunc . Common . GetUUID ( ) } ' , ' { LoginUser . UserId } ' , ' { LoginUser . UserName } ' , ' { type } ' , GetDate ( ) ,
' 工 单 状 态 更 新 - 暂 停 ' , ' w2 ' , ' { status } ' , ' { deviceCode } ',' { remark } ',' { orderCode } ' ) ; ";
}
sqlList . Add ( logSql ) ;
bool issucc = Utils . netClientDBHelper . executeBatchSql ( sqlList ) ;
@ -1667,7 +1667,7 @@ where machine_code = 'X1' and bind_status = '0' order by update_time DESC";
return Utils . netClientDBHelper . executeUpdate ( sql ) > 0 ;
}
public bool UpdateProWorkBatchInWorkBatchCode ( string lineCode , string batchCode , string status , string productCode , string productName )
public bool UpdateProWorkBatchInWorkBatchCode ( string lineCode , string batchCode , string status , string productCode , string productName )
{
string sql = $@"update pro_workbatch_inwork set batch='{batchCode}',product_code='{productCode}',product_name='{productName}',status='{status}' where line_code='{lineCode}' " ;
return Utils . netClientDBHelper . executeUpdate ( sql ) > 0 ;