设备保养点巡检复核增加附件上传
This commit is contained in:
@@ -4,6 +4,8 @@ namespace Tnb.EquipMgr.Entities.Dto
|
||||
{
|
||||
public string? id { get; set; }
|
||||
public string? attachment { get; set; }
|
||||
|
||||
public string? fhattachment { get; set; }
|
||||
public string? create_time { get; set; }
|
||||
public string? equip_id { get; set; }
|
||||
public string? equip_id_id { get; set; }
|
||||
|
||||
@@ -4,6 +4,8 @@ namespace Tnb.EquipMgr.Entities.Dto
|
||||
{
|
||||
public string? id { get; set; }
|
||||
public string? attachment { get; set; }
|
||||
|
||||
public string? fhattachment { get; set; }
|
||||
public string? create_time { get; set; }
|
||||
public string? equip_id { get; set; }
|
||||
public string? repeat_remark { get; set; }
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Tnb.EquipMgr.Entities.Dto
|
||||
public string repeat_result { get; set; } = string.Empty;
|
||||
|
||||
public string? repeat_remark { get; set; }
|
||||
public string? attachment { get; set; }
|
||||
|
||||
public List<Dictionary<string, string>>? details { get; set; }
|
||||
}
|
||||
|
||||
@@ -7,5 +7,7 @@ namespace Tnb.EquipMgr.Entities.Dto
|
||||
public string? repeat_result { get; set; }
|
||||
|
||||
public string? repeat_remark { get; set; }
|
||||
|
||||
public string? attachment { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -164,5 +164,10 @@ public partial class EqpMaintainRecordH : BaseEntity<string>
|
||||
/// </summary>
|
||||
public string? org_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 复核附件
|
||||
/// </summary>
|
||||
public string? fhattachment { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -159,4 +159,10 @@ public partial class EqpSpotInsRecordH : BaseEntity<string>
|
||||
/// </summary>
|
||||
public string? repeat_result { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 复核附件
|
||||
/// </summary>
|
||||
public string? fhattachment { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -214,6 +214,7 @@ namespace Tnb.EquipMgr
|
||||
{
|
||||
_ = await _repository.UpdateAsync(x => new EqpMaintainRecordH()
|
||||
{
|
||||
fhattachment=input.attachment,
|
||||
repeat_result = input.repeat_result,
|
||||
repeat_remark = input.repeat_remark,
|
||||
repeat_user_id = _userManager.UserId,
|
||||
@@ -244,6 +245,7 @@ namespace Tnb.EquipMgr
|
||||
{
|
||||
id = a.id,
|
||||
attachment = a.attachment,
|
||||
fhattachment= a.fhattachment,
|
||||
create_time = a.create_time == null ? null : a.create_time.Value.ToString(DbTimeFormat.MM),
|
||||
equip_id = b.code,
|
||||
equip_id_id = a.equip_id,
|
||||
|
||||
@@ -183,6 +183,7 @@ namespace Tnb.EquipMgr
|
||||
repeat_result = input.repeat_result,
|
||||
repeat_remark = input.repeat_remark,
|
||||
repeat_user_id = _userManager.UserId,
|
||||
fhattachment=input.attachment,
|
||||
repeat_time = DateTime.Now,
|
||||
status = SpotInsRecordExecutionStatus.COMPLETED
|
||||
}, x => x.id == input.id);
|
||||
@@ -204,6 +205,7 @@ namespace Tnb.EquipMgr
|
||||
{
|
||||
id = a.id,
|
||||
attachment = a.attachment,
|
||||
fhattachment=a.fhattachment,
|
||||
create_time = a.create_time == null ? null : a.create_time.Value.ToString(DbTimeFormat.MM),
|
||||
equip_id = a.equip_id,
|
||||
repeat_remark = a.repeat_remark,
|
||||
|
||||
Reference in New Issue
Block a user