调整海运出口及表单复制字段

master
ZR20090193-陈敬勇 7 months ago
parent 7870db98f3
commit e932f6d454

@ -1,5 +1,6 @@
using DS.Module.Core; using DS.Module.Core;
using FluentValidation; using FluentValidation;
using SqlSugar;
namespace DS.WMS.Core.Code.Dtos; namespace DS.WMS.Core.Code.Dtos;
@ -34,9 +35,17 @@ public class CodeFormCopyReq
/// </summary> /// </summary>
public string TemplateName { get; set; } public string TemplateName { get; set; }
/// <summary> /// <summary>
/// 中文视图名 /// 复制字段集合
/// </summary> /// </summary>
public string ColumnView { get; set; } public string CopyFields { get; set; }
/// <summary>
/// 表单序号
/// </summary>
public int FormNo { get; set; } = 0;
///// <summary>
///// 中文视图名
///// </summary>
//public string ColumnView { get; set; }
/// <summary> /// <summary>
/// 排序 /// 排序
/// </summary> /// </summary>

@ -1,4 +1,5 @@
using DS.Module.Core; using DS.Module.Core;
using SqlSugar;
namespace DS.WMS.Core.Code.Dtos; namespace DS.WMS.Core.Code.Dtos;
@ -16,6 +17,11 @@ public class CodeFormCopyRes
/// 权限Id /// 权限Id
/// </summary> /// </summary>
public long? PermissionId { get; set; } public long? PermissionId { get; set; }
/// <summary>
/// 表单序号
/// </summary>
public int FormNo { get; set; } = 0;
/// <summary> /// <summary>
/// 权限模块名称 /// 权限模块名称
/// </summary> /// </summary>
@ -24,11 +30,19 @@ public class CodeFormCopyRes
/// 字段设置 /// 字段设置
/// </summary> /// </summary>
public string Content { get; set; } public string Content { get; set; }
/// <summary>
/// 表单默认设置
/// </summary>
public string DefaultContent { get; set; }
/// <summary> /// <summary>
/// 中文视图名 /// 复制字段集合
/// </summary> /// </summary>
public string ColumnView { get; set; } public string CopyFields { get; set; }
///// <summary>
///// 中文视图名
///// </summary>
//public string ColumnView { get; set; }
/// <summary> /// <summary>
/// 模板名称 /// 模板名称
/// </summary> /// </summary>

@ -21,11 +21,11 @@ public class CodeFormCopy : BaseOrgModel<long>
[SugarColumn(ColumnDescription = "权限模块名称", IsNullable = false,Length = 50)] [SugarColumn(ColumnDescription = "权限模块名称", IsNullable = false,Length = 50)]
public string PermissionName { get; set; } public string PermissionName { get; set; }
/// <summary> ///// <summary>
/// 中文视图名 ///// 中文视图名
/// </summary> ///// </summary>
[SugarColumn(ColumnDescription = "中文视图名", IsNullable = false, Length = 100)] //[SugarColumn(ColumnDescription = "中文视图名", IsNullable = false, Length = 100)]
public string ColumnView { get; set; } //public string ColumnView { get; set; }
/// <summary> /// <summary>
/// 模板名称 /// 模板名称
/// </summary> /// </summary>
@ -37,12 +37,26 @@ public class CodeFormCopy : BaseOrgModel<long>
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "是否公共标识", IsNullable = false,DefaultValue = "0")] [SugarColumn(ColumnDescription = "是否公共标识", IsNullable = false,DefaultValue = "0")]
public bool IsPublic { get; set; } = false; public bool IsPublic { get; set; } = false;
/// <summary>
/// 表单默认设置
/// </summary>
[SugarColumn(ColumnDescription = "表单默认设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string DefaultContent { get; set; }
/// <summary> /// <summary>
/// 表单字段复制设置 /// 表单字段复制设置
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "表单字段复制设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] [SugarColumn(ColumnDescription = "表单字段复制设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string Content { get; set; } public string Content { get; set; }
/// <summary>
/// 复制字段集合
/// </summary>
[SugarColumn(ColumnDescription = "复制字段集合", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string CopyFields { get; set; }
/// <summary>
/// 表单序号
/// </summary>
[SugarColumn(ColumnDescription = "表单序号", IsNullable = false, DefaultValue = "0")]
public int FormNo { get; set; } = 0;
/// <summary> /// <summary>
/// 排序号 /// 排序号

@ -69,6 +69,7 @@ public class CodeFormCopyService : IFormCopyService
} }
var data = req.Adapt<CodeFormCopy>(); var data = req.Adapt<CodeFormCopy>();
data.DefaultContent = req.Content;
var entity = tenantDb.Insertable(data).ExecuteReturnEntity(); var entity = tenantDb.Insertable(data).ExecuteReturnEntity();

@ -1034,6 +1034,6 @@ public class SeaExportRes
/// <summary> /// <summary>
/// Desc:整票提交状态 /// Desc:整票提交状态
/// </summary> /// </summary>
public int BillSubmitStatus { get; set; } public AuditStatusEnum BillSubmitStatus { get; set; }
} }

@ -1,3 +1,4 @@
using DS.Module.Core;
using DS.Module.Core.Data; using DS.Module.Core.Data;
using SqlSugar; using SqlSugar;
@ -1243,8 +1244,6 @@ public class SeaExport : BaseOrgModel<long>
/// <summary> /// <summary>
/// Desc:整票提交状态 /// Desc:整票提交状态
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "整票提交状态", IsNullable = true, DefaultValue = "0")] [SugarColumn(ColumnDescription = "整票提交状态", IsNullable = true, DefaultValue = "-1")]
public int BillSubmitStatus { get; set; } public AuditStatusEnum BillSubmitStatus { get; set; }
} }
Loading…
Cancel
Save