Compare commits
No commits in common. "34f52d8218f831255f572a7a203de0bf79dadc02" and "ebaa2af1966f28f570a4c815eabf975af4ec5328" have entirely different histories.
34f52d8218
...
ebaa2af196
|
|
@ -15374,11 +15374,6 @@
|
|||
<member name="T:IRaCIS.Core.Application.ViewModel.UserWLTemplateQuery">
|
||||
<summary>UserWLTemplateQuery 列表查询参数模型</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.SetAutoCutNextTaskInDto.IsDoubleScreen">
|
||||
<summary>
|
||||
是否双屏
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:IRaCIS.Core.Application.ViewModel.UserWLTemplateAddOrEdit">
|
||||
<summary> UserWLTemplateAddOrEdit 列表查询参数模型</summary>
|
||||
</member>
|
||||
|
|
|
|||
|
|
@ -30,11 +30,6 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
public class SetAutoCutNextTaskInDto
|
||||
{
|
||||
public bool AutoCutNextTask { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否双屏
|
||||
/// </summary>
|
||||
public bool IsDoubleScreen { get; set; } = false;
|
||||
}
|
||||
|
||||
///<summary> UserWLTemplateAddOrEdit 列表查询参数模型</summary>
|
||||
|
|
|
|||
|
|
@ -87,8 +87,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
return await _userRoleRepository.Where(x => x.Id == _userInfo.UserRoleId).Select(x => new
|
||||
{
|
||||
AutoCutNextTask = x.AutoCutNextTask,
|
||||
IsDoubleScreen = x.IsDoubleScreen,
|
||||
AutoCutNextTask = x.AutoCutNextTask
|
||||
}).FirstNotNullAsync();
|
||||
}
|
||||
|
||||
|
|
@ -104,8 +103,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
await _userRoleRepository.UpdatePartialFromQueryAsync(_userInfo.UserRoleId, x => new UserRole()
|
||||
{
|
||||
|
||||
AutoCutNextTask = inDto.AutoCutNextTask,
|
||||
IsDoubleScreen = inDto.IsDoubleScreen
|
||||
AutoCutNextTask = inDto.AutoCutNextTask
|
||||
});
|
||||
|
||||
await _userRoleRepository.SaveChangesAsync();
|
||||
|
|
|
|||
|
|
@ -44,11 +44,6 @@ public class UserRole : BaseFullAuditEntityNoNavigat
|
|||
[Comment("自动切换下一个任务")]
|
||||
public bool AutoCutNextTask { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否双屏
|
||||
/// </summary>
|
||||
public bool IsDoubleScreen { get; set; } = false;
|
||||
|
||||
|
||||
|
||||
[Comment("医生生成账号后,会有值")]
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,29 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class doublescreen : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsDoubleScreen",
|
||||
table: "User",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsDoubleScreen",
|
||||
table: "User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13377,9 +13377,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
b.Property<Guid>("IdentityUserId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<bool>("IsDoubleScreen")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsFirstAdd")
|
||||
.HasColumnType("bit")
|
||||
.HasComment("首次登录需要修改密码");
|
||||
|
|
|
|||
Loading…
Reference in New Issue