去除引用common.props
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using JNPF.Common.Const;
|
||||
using JNPF.Common.Core.Manager;
|
||||
@@ -14,7 +13,6 @@ using JNPF.DependencyInjection;
|
||||
using JNPF.FriendlyException;
|
||||
using JNPF.JsonSerialization;
|
||||
using JNPF.RemoteRequest.Extensions;
|
||||
using JNPF.Systems.Entitys.Dto.Authorize;
|
||||
using JNPF.Systems.Entitys.Model.DataBase;
|
||||
using JNPF.Systems.Entitys.Permission;
|
||||
using JNPF.Systems.Entitys.System;
|
||||
@@ -824,7 +822,7 @@ public class RunService : IRunService, ITransient
|
||||
if (child.Key.Equals("id") && child.Value.IsNotEmptyOrNull())
|
||||
{
|
||||
//modify by ly on 20230720 判断如果子表主键为空的把原主键值赋值给子表主键,直接复制会导致主键重复
|
||||
if(tableField[childPrimary.field].IsNull() || tableField[childPrimary.field].ToString().IsNullOrEmpty())
|
||||
if (tableField[childPrimary.field].IsNull() || tableField[childPrimary.field].ToString().IsNullOrEmpty())
|
||||
{
|
||||
tableField[childPrimary.field] = child.Value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user