SqlColumn

 /// <summary>
 /// 必填字段,如果是null情况,设置的默认值
 /// 2022-05-06
 /// </summary>
 public string NullValue { get; set; }

/// <summary>
/// 必填字段,如果是null情况,设置的默认值 是否使用 NullValue
/// 2022-05-06
/// </summary>
public bool? IsNullValue { get; set; }

RG3.BO.OP 6.0.25

  1. AddController.cs
if (result.Success && _resourceProvider.GetMessage("save_result") != "false")
{
result.Message = _resourceProvider.GetMessage("add_success") ?? "新增成功";
}
else if (result.Error != null && _resourceProvider.GetMessage("add_result") != "false")
{
result.Error.ErrorText = _resourceProvider.GetMessage("add_fail") ?? "新增失败";
}
  1. BatSaveController.cs
if (result.Success && _resourceProvider.GetMessage("save_result") != "false")
{
result.Message = _resourceProvider.GetMessage("bat_success") ?? "保存成功";
}
else if (result.Error != null && _resourceProvider.GetMessage("save_result") != "false")
{
result.Error.ErrorText = _resourceProvider.GetMessage("bat_fail") ?? "保存失败";
}
  1. CopyController.cs
if (result.Success && _resourceProvider.GetMessage("save_result") != "false")
{
result.Message = _resourceProvider.GetMessage("copy_success") ?? "复制成功";
}
else if (result.Error != null && _resourceProvider.GetMessage("copy_result") != "false")
{
result.Error.ErrorText = _resourceProvider.GetMessage("copy_fail") ?? "复制失败";
}
  1. DeleteController.cs
if (result.Success && _resourceProvider.GetMessage("save_result") != "false")
{
result.Message = _resourceProvider.GetMessage("delete_success") ?? "删除成功";
}
else if (result.Error != null && _resourceProvider.GetMessage("delete_result") != "false")
{
result.Error.ErrorText = _resourceProvider.GetMessage("delete_fail") ?? "删除失败";
}
  1. EditController.cs
if (result.Success && _resourceProvider.GetMessage("save_result") != "false")
{
result.Message = _resourceProvider.GetMessage("edit_success") ?? "修改成功";
}
else if (result.Error != null && _resourceProvider.GetMessage("edit_result") != "false")
{
result.Error.ErrorText = _resourceProvider.GetMessage("edit_fail") ?? "修改失败";
}
  1. ModifyController.cs
if (result.Success && _resourceProvider.GetMessage("save_result") != "false")
{
result.Message = _resourceProvider.GetMessage("modify_success") ?? "修改成功";
}
else if (result.Error != null && _resourceProvider.GetMessage("modify_result") != "false")
{
result.Error.ErrorText = _resourceProvider.GetMessage("modify_fail") ?? "修改失败";
}
文档更新时间: 2022-05-07 07:03   作者:admin