隐藏平台warn,放开自有模块warn
This commit is contained in:
@@ -57,10 +57,10 @@ public class RunService : IRunService, ITransient
|
||||
/// </summary>
|
||||
private readonly IBillRullService _billRuleService;
|
||||
|
||||
/// <summary>
|
||||
/// 缓存管理.
|
||||
/// </summary>
|
||||
private readonly ICacheManager _cacheManager;
|
||||
///// <summary>
|
||||
///// 缓存管理.
|
||||
///// </summary>
|
||||
//private readonly ICacheManager _cacheManager;
|
||||
|
||||
/// <summary>
|
||||
/// 用户管理.
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<NoWarn>$(NoWarn);CS8600;CS8601;CS8602;CS8603;CS8604;CS8625;CS8629;CS1572;CS1573;CS0168;</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -872,7 +872,7 @@ namespace JNPF.VisualDev
|
||||
|
||||
var len = rowChildDatas.Select(x => x.Value.Count()).OrderByDescending(x => x).FirstOrDefault();
|
||||
|
||||
if (len != null && len > 0)
|
||||
if (len > 0)
|
||||
{
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
|
||||
@@ -1281,7 +1281,7 @@ public class VisualDevService : IVisualDevService, IDynamicApiController, ITrans
|
||||
foreach (DbTableAndFieldModel? item in addTableList)
|
||||
{
|
||||
bool res = await _changeDataBase.Create(link, item, item.FieldList);
|
||||
if (!res) throw null;
|
||||
if (!res) Oops.Oh(ErrorCode.COM1008); // throw null;
|
||||
}
|
||||
|
||||
if (await _visualDevRepository.IsAnyAsync(x => x.Id.Equals(vEntity.Id)))
|
||||
|
||||
@@ -409,7 +409,7 @@ public class VisualdevModelAppService : IDynamicApiController, ITransient
|
||||
|
||||
var len = rowChildDatas.Select(x => x.Value.Count()).OrderByDescending(x => x).FirstOrDefault();
|
||||
|
||||
if (len != null && len > 0)
|
||||
if (len > 0)
|
||||
{
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user