1
yangpeixing
4 天以前 48e2278d7ac330c7f05deda6f884acb6f01206b4
WMS/WIDESEA_WMSServer/WIDESEA_Core/AOP/SqlSugarAop.cs
@@ -98,6 +98,15 @@
                            break;
                    }
                }
            }
            if (entityInfo.EntityValue is IBaseHistoryEntity baseHistoryEntity)
            {
                if (entityInfo.OperationType == DataFilterType.InsertByObject && entityInfo.PropertyName == nameof(IBaseHistoryEntity.InsertTime))
                {
                    baseHistoryEntity.InsertTime = DateTime.Now;
                }
            }
        }