21345
This commit is contained in:
parent
48f2f46ef4
commit
59e71a0752
@ -27,6 +27,12 @@ namespace APT.PF.WebApiControllers.Api.PF
|
|||||||
{
|
{
|
||||||
return SafeExecute(() =>
|
return SafeExecute(() =>
|
||||||
{
|
{
|
||||||
|
var check = GetEntity<T_PF_HOME_TITLE>(e => e.ID != entity.ID && !e.IS_DELETED);
|
||||||
|
if (check != null)
|
||||||
|
{
|
||||||
|
throw new Exception("首页标题配置只能有一条数据");
|
||||||
|
}
|
||||||
|
|
||||||
//如果是总部 同步修改 子公司
|
//如果是总部 同步修改 子公司
|
||||||
this.UnifiedCommit(() =>
|
this.UnifiedCommit(() =>
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user