播放轮播
This commit is contained in:
parent
4f8b02520b
commit
ee1b286bfa
56
APT.BaseData.Domain/Entities/PF/T_PF_BIPLAY_SET.cs
Normal file
56
APT.BaseData.Domain/Entities/PF/T_PF_BIPLAY_SET.cs
Normal file
@ -0,0 +1,56 @@
|
||||
using APT.BaseData.Domain.Entities.BD;
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums.PF;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
namespace APT.BaseData.Domain.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// BI播放轮播配置
|
||||
/// </summary>
|
||||
[Description("图片视频")]
|
||||
public partial class T_PF_BIPLAY_SET : MesEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 自动播放
|
||||
/// </summary>
|
||||
[Description("自动播放")]
|
||||
public bool V_ISAUTO { get; set; }
|
||||
/// <summary>
|
||||
/// 循环播放
|
||||
/// </summary>
|
||||
[Description("循环播放")]
|
||||
public bool V_ISRE { get; set; }
|
||||
/// <summary>
|
||||
/// 静音播放
|
||||
/// </summary>
|
||||
[Description("静音播放")]
|
||||
public bool V_ISSILENT { get; set; }
|
||||
/// <summary>
|
||||
/// 显示控制器
|
||||
/// </summary>
|
||||
[Description("显示控制器")]
|
||||
public bool V_ISSHOWCONTROL { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 轮播间隔 秒
|
||||
/// </summary>
|
||||
[Description("轮播间隔")]
|
||||
public decimal IMG_TIMESPAN { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 循环播放
|
||||
/// </summary>
|
||||
[Description("循环播放")]
|
||||
public bool IMG_ISRE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过渡效果 0 10 ...
|
||||
/// </summary>
|
||||
[Description("过渡效果")]
|
||||
public EFFECTEnum IMG_EFFECT { get; set; }
|
||||
}
|
||||
}
|
||||
76
APT.BaseData.Domain/Entities/PF/T_PF_BIVIDEOIMG.cs
Normal file
76
APT.BaseData.Domain/Entities/PF/T_PF_BIVIDEOIMG.cs
Normal file
@ -0,0 +1,76 @@
|
||||
using APT.BaseData.Domain.Entities.BD;
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums.PF;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
namespace APT.BaseData.Domain.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// BI图片视频 轮播内容
|
||||
/// </summary>
|
||||
[Description("图片视频")]
|
||||
public partial class T_PF_BIVIDEOIMG : MesEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 标语
|
||||
/// </summary>
|
||||
[Description("标语")]
|
||||
[FormFieldEdit]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[DataFieldLength(300)]
|
||||
public string TITLE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
[Description("描述")]
|
||||
[FormFieldEdit]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[DataFieldLength(600)]
|
||||
public string DESCRIBE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 附件类型
|
||||
/// </summary>
|
||||
[Description("附件类型")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public FILETYPEEnum TYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Description("状态")]
|
||||
[FormFieldEdit]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public STATEEnum STATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[Description("创建人")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
public Guid USER_ID_CREATER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[Description("创建人")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 附件
|
||||
/// </summary>
|
||||
[Description("附件")]
|
||||
public ICollection<T_PF_BIVIDEOIMG_FILE> Nav_Files { get; set; }
|
||||
}
|
||||
}
|
||||
31
APT.BaseData.Domain/Entities/PF/T_PF_BIVIDEOIMG_FILE.cs
Normal file
31
APT.BaseData.Domain/Entities/PF/T_PF_BIVIDEOIMG_FILE.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using APT.BaseData.Domain.Entities.BD;
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums.PF;
|
||||
using APT.Infrastructure.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
namespace APT.BaseData.Domain.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// BI图片视频 轮播内容
|
||||
/// </summary>
|
||||
[Description("图片视频")]
|
||||
public partial class T_PF_BIVIDEOIMG_FILE : MesEntityBase
|
||||
{
|
||||
[Description("图片视频")]
|
||||
[DataFieldForeignKey("Nav_BIFile", "Nav_Files")]
|
||||
public Guid VIDEOIMG_ID { get; set; }
|
||||
|
||||
[Description("图片视频")]
|
||||
public virtual T_PF_BIVIDEOIMG Nav_BIFile { get; set; }
|
||||
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid? IMG_FILE_ID { get; set; }
|
||||
|
||||
[Description("导航属性:文件")]
|
||||
public virtual T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -246,4 +246,58 @@ namespace APT.BaseData.Domain.Enums.PF
|
||||
[Description("删除")]
|
||||
Delete = 30,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 附件类型
|
||||
/// </summary>
|
||||
public enum FILETYPEEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 图片 0
|
||||
/// </summary>
|
||||
[Description("图片")]
|
||||
IMG = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 视频 10
|
||||
/// </summary>
|
||||
[Description("视频")]
|
||||
VIDEO = 10,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 过渡效果
|
||||
/// </summary>
|
||||
public enum EFFECTEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 淡入淡出 0
|
||||
/// </summary>
|
||||
[Description("淡入淡出")]
|
||||
DRDC = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 滑动 10
|
||||
/// </summary>
|
||||
[Description("滑动")]
|
||||
HD = 10,
|
||||
|
||||
/// <summary>
|
||||
/// 滑动 20
|
||||
/// </summary>
|
||||
[Description("滑动")]
|
||||
SF = 20,
|
||||
|
||||
/// <summary>
|
||||
/// 翻转 30
|
||||
/// </summary>
|
||||
[Description("翻转")]
|
||||
FZ = 30,
|
||||
|
||||
/// <summary>
|
||||
/// 无效果 40
|
||||
/// </summary>
|
||||
[Description("无效果")]
|
||||
NONE = 40,
|
||||
}
|
||||
}
|
||||
|
||||
139636
APT.Data.Migrations/Migrations/20260423054451_wyw2026042302.Designer.cs
generated
Normal file
139636
APT.Data.Migrations/Migrations/20260423054451_wyw2026042302.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
169
APT.Data.Migrations/Migrations/20260423054451_wyw2026042302.cs
Normal file
169
APT.Data.Migrations/Migrations/20260423054451_wyw2026042302.cs
Normal file
@ -0,0 +1,169 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class wyw2026042302 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_PF_BIPLAY_SET",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
V_ISAUTO = table.Column<bool>(type: "bit", nullable: false),
|
||||
V_ISRE = table.Column<bool>(type: "bit", nullable: false),
|
||||
V_ISSILENT = table.Column<bool>(type: "bit", nullable: false),
|
||||
V_ISSHOWCONTROL = table.Column<bool>(type: "bit", nullable: false),
|
||||
IMG_TIMESPAN = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
|
||||
IMG_ISRE = table.Column<bool>(type: "bit", nullable: false),
|
||||
IMG_EFFECT = table.Column<int>(type: "int", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_PF_BIPLAY_SET", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_PF_BIPLAY_SET_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_PF_BIVIDEOIMG",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TITLE = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: true),
|
||||
DESCRIBE = table.Column<string>(type: "nvarchar(600)", maxLength: 600, nullable: true),
|
||||
TYPE = table.Column<int>(type: "int", nullable: false),
|
||||
STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
USER_ID_CREATER = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_PF_BIVIDEOIMG", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_PF_BIVIDEOIMG_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_PF_BIVIDEOIMG_T_FM_USER_USER_ID_CREATER",
|
||||
column: x => x.USER_ID_CREATER,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_PF_BIVIDEOIMG_FILE",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
VIDEOIMG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_PF_BIVIDEOIMG_FILE", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_PF_BIVIDEOIMG_FILE_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_PF_BIVIDEOIMG_FILE_T_PF_BIVIDEOIMG_VIDEOIMG_ID",
|
||||
column: x => x.VIDEOIMG_ID,
|
||||
principalTable: "T_PF_BIVIDEOIMG",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_PF_BIVIDEOIMG_FILE_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_PF_BIPLAY_SET_ORG_ID",
|
||||
table: "T_PF_BIPLAY_SET",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_PF_BIVIDEOIMG_ORG_ID",
|
||||
table: "T_PF_BIVIDEOIMG",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_PF_BIVIDEOIMG_USER_ID_CREATER",
|
||||
table: "T_PF_BIVIDEOIMG",
|
||||
column: "USER_ID_CREATER");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_PF_BIVIDEOIMG_FILE_IMG_FILE_ID",
|
||||
table: "T_PF_BIVIDEOIMG_FILE",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_PF_BIVIDEOIMG_FILE_ORG_ID",
|
||||
table: "T_PF_BIVIDEOIMG_FILE",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_PF_BIVIDEOIMG_FILE_VIDEOIMG_ID",
|
||||
table: "T_PF_BIVIDEOIMG_FILE",
|
||||
column: "VIDEOIMG_ID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_PF_BIPLAY_SET");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_PF_BIVIDEOIMG_FILE");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_PF_BIVIDEOIMG");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -12145,6 +12145,74 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.ToTable("T_PF_APPROVE_TEMP_DETAIL");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIPLAY_SET", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("CREATER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("CREATE_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("ENTITY_ORG_TPYE")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FLOW_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("FLOW_SEND_STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("FLOW_STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FORM_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("IMG_EFFECT")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("IMG_ISRE")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<decimal>("IMG_TIMESPAN")
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.Property<bool>("IS_DELETED")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<Guid?>("MODIFIER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("MODIFY_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid?>("ORG_ID")
|
||||
.IsRequired()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<bool>("V_ISAUTO")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("V_ISRE")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("V_ISSHOWCONTROL")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("V_ISSILENT")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("ORG_ID");
|
||||
|
||||
b.ToTable("T_PF_BIPLAY_SET");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BITITLE", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
@ -12210,6 +12278,129 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.ToTable("T_PF_BITITLE");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIVIDEOIMG", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("CREATER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("CREATE_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("DESCRIBE")
|
||||
.HasMaxLength(600)
|
||||
.HasColumnType("nvarchar(600)");
|
||||
|
||||
b.Property<int>("ENTITY_ORG_TPYE")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FLOW_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("FLOW_SEND_STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("FLOW_STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FORM_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<bool>("IS_DELETED")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<Guid?>("MODIFIER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("MODIFY_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid?>("ORG_ID")
|
||||
.IsRequired()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("TITLE")
|
||||
.HasMaxLength(300)
|
||||
.HasColumnType("nvarchar(300)");
|
||||
|
||||
b.Property<int>("TYPE")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid>("USER_ID_CREATER")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("ORG_ID");
|
||||
|
||||
b.HasIndex("USER_ID_CREATER");
|
||||
|
||||
b.ToTable("T_PF_BIVIDEOIMG");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIVIDEOIMG_FILE", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("CREATER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("CREATE_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("ENTITY_ORG_TPYE")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FLOW_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("FLOW_SEND_STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("FLOW_STATUS")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FORM_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("IMG_FILE_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<bool>("IS_DELETED")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<Guid?>("MODIFIER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("MODIFY_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid?>("ORG_ID")
|
||||
.IsRequired()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid>("VIDEOIMG_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("IMG_FILE_ID");
|
||||
|
||||
b.HasIndex("ORG_ID");
|
||||
|
||||
b.HasIndex("VIDEOIMG_ID");
|
||||
|
||||
b.ToTable("T_PF_BIVIDEOIMG_FILE");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BTN", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
@ -103316,6 +103507,17 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.Navigation("Nav_Org");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIPLAY_SET", b =>
|
||||
{
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
.WithMany()
|
||||
.HasForeignKey("ORG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Nav_Org");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BITITLE", b =>
|
||||
{
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
@ -103335,6 +103537,51 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.Navigation("Nav_User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIVIDEOIMG", b =>
|
||||
{
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
.WithMany()
|
||||
.HasForeignKey("ORG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User")
|
||||
.WithMany()
|
||||
.HasForeignKey("USER_ID_CREATER")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Nav_Org");
|
||||
|
||||
b.Navigation("Nav_User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIVIDEOIMG_FILE", b =>
|
||||
{
|
||||
b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile")
|
||||
.WithMany()
|
||||
.HasForeignKey("IMG_FILE_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
.WithMany()
|
||||
.HasForeignKey("ORG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.BaseData.Domain.Entities.T_PF_BIVIDEOIMG", "Nav_BIFile")
|
||||
.WithMany("Nav_Files")
|
||||
.HasForeignKey("VIDEOIMG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Nav_BIFile");
|
||||
|
||||
b.Navigation("Nav_ImgFile");
|
||||
|
||||
b.Navigation("Nav_Org");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BTN", b =>
|
||||
{
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
@ -136565,6 +136812,11 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.Navigation("Nav_ApproveTempDetails");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BIVIDEOIMG", b =>
|
||||
{
|
||||
b.Navigation("Nav_Files");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CLIENT_MENU", b =>
|
||||
{
|
||||
b.Navigation("Nav_Children");
|
||||
|
||||
@ -16853,6 +16853,15 @@ builder.Property(t => t.REMARK).HasMaxLength(500);
|
||||
builder.HasOne(t => t.Nav_AppVersion).WithMany(t=>t.Nav_Files).HasForeignKey(t => t.APP_VERSION_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region BiplaySet
|
||||
public partial class PFBiplaySetMap :APTEntityBaseMap<T_PF_BIPLAY_SET>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_PF_BIPLAY_SET> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Bititle
|
||||
@ -16864,6 +16873,29 @@ builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).
|
||||
builder.Property(t => t.TITLE).HasMaxLength(1000);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID_CREATER).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Bivideoimg
|
||||
public partial class PFBivideoimgMap :APTEntityBaseMap<T_PF_BIVIDEOIMG>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_PF_BIVIDEOIMG> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.TITLE).HasMaxLength(300);
|
||||
builder.Property(t => t.DESCRIBE).HasMaxLength(600);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID_CREATER).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region BivideoimgFile
|
||||
public partial class PFBivideoimgFileMap :APTEntityBaseMap<T_PF_BIVIDEOIMG_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_PF_BIVIDEOIMG_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_BIFile).WithMany(t=>t.Nav_Files).HasForeignKey(t => t.VIDEOIMG_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region ClientScopes
|
||||
|
||||
@ -65,6 +65,7 @@ namespace APT.PF.WebApiControllers.Api.PF
|
||||
entity.ID = Guid.NewGuid();
|
||||
entity.PARENTID = ModelUpdateOld.ID;
|
||||
entity.VERSION = ModelUpdateOld.VERSION + 1;
|
||||
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -93,11 +94,15 @@ namespace APT.PF.WebApiControllers.Api.PF
|
||||
entity.ID = Guid.NewGuid();
|
||||
entity.VERSION = ModelUpdateOld.VERSION + 1;
|
||||
entity.PARENTID = ModelUpdateOld.ID;
|
||||
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (entity.USER_ID_CREATER == Guid.Empty)
|
||||
{
|
||||
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
|
||||
}
|
||||
|
||||
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
|
||||
entity.MODIFY_TIME = DateTime.Now;
|
||||
if (ModelUpdateOld != null)
|
||||
ModelUpdateOld.MODIFY_TIME = DateTime.Now;
|
||||
|
||||
@ -1466,6 +1466,117 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BiplaySet-图片视频
|
||||
/// <summary>
|
||||
/// 图片视频
|
||||
/// </summary>
|
||||
[Route("api/PF/BiplaySet")]
|
||||
public partial class BiplaySetController : AuthorizeApiController<T_PF_BIPLAY_SET>
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询所有数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Entities")]
|
||||
public JsonActionResult<IEnumerable<T_PF_BIPLAY_SET>> Entities([FromBody]KeywordFilter filter)
|
||||
{
|
||||
return WitEntities(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序查询所有数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
|
||||
[HttpPost, Route("OrderEntities")]
|
||||
public JsonActionResult<IEnumerable<T_PF_BIPLAY_SET>> OrderEntities([FromBody]KeywordFilter filter)
|
||||
{
|
||||
return WitOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询数据
|
||||
/// </summary>
|
||||
/// <param name="pageFilter">分页过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Paged")]
|
||||
public PagedActionResult<T_PF_BIPLAY_SET> Paged([FromBody]KeywordPageFilter pageFilter)
|
||||
{
|
||||
return WitPaged(null, pageFilter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序分页查询数据
|
||||
/// </summary>
|
||||
/// <param name="pageFilter">分页过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("OrderPaged")]
|
||||
public PagedActionResult<T_PF_BIPLAY_SET> OrderPaged([FromBody]KeywordPageFilter pageFilter)
|
||||
{
|
||||
return WitOrderPaged(null, pageFilter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除数据
|
||||
/// </summary>
|
||||
/// <param name="id">主键ID</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("Delete")]
|
||||
public JsonActionResult<bool> Delete(string id)
|
||||
{
|
||||
return WitRealDelete(id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新或新增数据
|
||||
/// </summary>
|
||||
/// <param name="entity">对象实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Update")]
|
||||
public JsonActionResult<bool> Update([FromBody]T_PF_BIPLAY_SET entity)
|
||||
{
|
||||
return WitUpdate(entity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量更新
|
||||
/// </summary>
|
||||
/// <param name="entity">对象实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("BatchUpdate")]
|
||||
public JsonActionResult<bool> BatchUpdate([FromBody] BatchUpdateModel<T_PF_BIPLAY_SET> entity)
|
||||
{
|
||||
return WitBantchUpdate(entity?.Data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除数据
|
||||
/// </summary>
|
||||
/// <param name="ids">id字符串(id用逗号分隔)</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("BatchDelete")]
|
||||
public JsonActionResult<bool> BatchDelete(string ids)
|
||||
{
|
||||
return WitRealBatchDelete(ids);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得单条实体数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Get")]
|
||||
public JsonActionResult<T_PF_BIPLAY_SET> Get([FromBody] KeywordFilter filter)
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -1577,6 +1688,228 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Bivideoimg-图片视频
|
||||
/// <summary>
|
||||
/// 图片视频
|
||||
/// </summary>
|
||||
[Route("api/PF/Bivideoimg")]
|
||||
public partial class BivideoimgController : AuthorizeApiController<T_PF_BIVIDEOIMG>
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询所有数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Entities")]
|
||||
public JsonActionResult<IEnumerable<T_PF_BIVIDEOIMG>> Entities([FromBody]KeywordFilter filter)
|
||||
{
|
||||
return WitEntities(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序查询所有数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
|
||||
[HttpPost, Route("OrderEntities")]
|
||||
public JsonActionResult<IEnumerable<T_PF_BIVIDEOIMG>> OrderEntities([FromBody]KeywordFilter filter)
|
||||
{
|
||||
return WitOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询数据
|
||||
/// </summary>
|
||||
/// <param name="pageFilter">分页过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Paged")]
|
||||
public PagedActionResult<T_PF_BIVIDEOIMG> Paged([FromBody]KeywordPageFilter pageFilter)
|
||||
{
|
||||
return WitPaged(null, pageFilter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序分页查询数据
|
||||
/// </summary>
|
||||
/// <param name="pageFilter">分页过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("OrderPaged")]
|
||||
public PagedActionResult<T_PF_BIVIDEOIMG> OrderPaged([FromBody]KeywordPageFilter pageFilter)
|
||||
{
|
||||
return WitOrderPaged(null, pageFilter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除数据
|
||||
/// </summary>
|
||||
/// <param name="id">主键ID</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("Delete")]
|
||||
public JsonActionResult<bool> Delete(string id)
|
||||
{
|
||||
return WitRealDelete(id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新或新增数据
|
||||
/// </summary>
|
||||
/// <param name="entity">对象实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Update")]
|
||||
public JsonActionResult<bool> Update([FromBody]T_PF_BIVIDEOIMG entity)
|
||||
{
|
||||
return WitUpdate(entity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量更新
|
||||
/// </summary>
|
||||
/// <param name="entity">对象实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("BatchUpdate")]
|
||||
public JsonActionResult<bool> BatchUpdate([FromBody] BatchUpdateModel<T_PF_BIVIDEOIMG> entity)
|
||||
{
|
||||
return WitBantchUpdate(entity?.Data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除数据
|
||||
/// </summary>
|
||||
/// <param name="ids">id字符串(id用逗号分隔)</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("BatchDelete")]
|
||||
public JsonActionResult<bool> BatchDelete(string ids)
|
||||
{
|
||||
return WitRealBatchDelete(ids);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得单条实体数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Get")]
|
||||
public JsonActionResult<T_PF_BIVIDEOIMG> Get([FromBody] KeywordFilter filter)
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BivideoimgFile-图片视频
|
||||
/// <summary>
|
||||
/// 图片视频
|
||||
/// </summary>
|
||||
[Route("api/PF/BivideoimgFile")]
|
||||
public partial class BivideoimgFileController : AuthorizeApiController<T_PF_BIVIDEOIMG_FILE>
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询所有数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Entities")]
|
||||
public JsonActionResult<IEnumerable<T_PF_BIVIDEOIMG_FILE>> Entities([FromBody]KeywordFilter filter)
|
||||
{
|
||||
return WitEntities(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序查询所有数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
|
||||
[HttpPost, Route("OrderEntities")]
|
||||
public JsonActionResult<IEnumerable<T_PF_BIVIDEOIMG_FILE>> OrderEntities([FromBody]KeywordFilter filter)
|
||||
{
|
||||
return WitOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询数据
|
||||
/// </summary>
|
||||
/// <param name="pageFilter">分页过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Paged")]
|
||||
public PagedActionResult<T_PF_BIVIDEOIMG_FILE> Paged([FromBody]KeywordPageFilter pageFilter)
|
||||
{
|
||||
return WitPaged(null, pageFilter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序分页查询数据
|
||||
/// </summary>
|
||||
/// <param name="pageFilter">分页过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("OrderPaged")]
|
||||
public PagedActionResult<T_PF_BIVIDEOIMG_FILE> OrderPaged([FromBody]KeywordPageFilter pageFilter)
|
||||
{
|
||||
return WitOrderPaged(null, pageFilter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除数据
|
||||
/// </summary>
|
||||
/// <param name="id">主键ID</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("Delete")]
|
||||
public JsonActionResult<bool> Delete(string id)
|
||||
{
|
||||
return WitRealDelete(id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新或新增数据
|
||||
/// </summary>
|
||||
/// <param name="entity">对象实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Update")]
|
||||
public JsonActionResult<bool> Update([FromBody]T_PF_BIVIDEOIMG_FILE entity)
|
||||
{
|
||||
return WitUpdate(entity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量更新
|
||||
/// </summary>
|
||||
/// <param name="entity">对象实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("BatchUpdate")]
|
||||
public JsonActionResult<bool> BatchUpdate([FromBody] BatchUpdateModel<T_PF_BIVIDEOIMG_FILE> entity)
|
||||
{
|
||||
return WitBantchUpdate(entity?.Data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除数据
|
||||
/// </summary>
|
||||
/// <param name="ids">id字符串(id用逗号分隔)</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("BatchDelete")]
|
||||
public JsonActionResult<bool> BatchDelete(string ids)
|
||||
{
|
||||
return WitRealBatchDelete(ids);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得单条实体数据
|
||||
/// </summary>
|
||||
/// <param name="filter">过滤实体</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost, Route("Get")]
|
||||
public JsonActionResult<T_PF_BIVIDEOIMG_FILE> Get([FromBody] KeywordFilter filter)
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user