整理代码
This commit is contained in:
@@ -65,7 +65,7 @@ public class TransformService : ITransformService
|
||||
field = string.IsNullOrEmpty(field) ? "''" : _options.Value.TransformBinary?.Invoke(field) ?? field; ;
|
||||
break;
|
||||
case ColumnType.Blob:
|
||||
field = string.IsNullOrEmpty(field) ? "NULL" : $"0x{field}";
|
||||
//field = string.IsNullOrEmpty(field) ? "NULL" : $"0x{field}";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -88,7 +88,7 @@ public class TransformService : ITransformService
|
||||
_consumerQueue.Enqueue(record);
|
||||
//数据增加
|
||||
var addRecords=_options.Value.RecordAdd?.Invoke(record);
|
||||
if(addRecords != null)
|
||||
if(addRecords != null&& addRecords.Count>0)
|
||||
{
|
||||
foreach(var rc in addRecords)
|
||||
{
|
||||
|
Reference in New Issue
Block a user