2023-10-27

This commit is contained in:
2023-10-27 09:00:21 +08:00
parent 81d0edb9e7
commit bf856b7ab7
12 changed files with 155 additions and 30 deletions
@@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.Data;
using System.Linq;
using EmitMapper;
using EmitMapper.MappingConfiguration;
using FineUIPro;
using MiniExcelLibs;
using MiniExcelLibs.Attributes;
@@ -322,6 +323,7 @@ namespace BLL
var mapper =
ObjectMapperManager.DefaultInstance.GetMapper<List<PHTGL_ContractTrackDtoIn>, List<PHTGL_ContractTrack>>();
var modeList = mapper.Map(rows);
if (modeList.Count == 0)
{
responeData.code = 0;
@@ -1265,7 +1267,7 @@ namespace BLL
}
public class PHTGL_ContractTrackDtoIn
{
{
/// <summary>
/// 序号
/// </summary>
@@ -1338,5 +1340,34 @@ namespace BLL
/// 备注
/// </summary>
[ExcelColumnIndex("R")] public string Remarks { get; set; }
/// <summary>
/// 施工分包商
/// </summary>
[ExcelColumnIndex("S")] public string ConstructionSubcontractor { get; set; }
/// <summary>
/// 主材供应方
/// </summary>
[ExcelColumnIndex("T")] public string MaterialSupplier { get; set; }
/// <summary>
/// 是否总包合同范围内
/// </summary>
[ExcelColumnIndex("U")]
public string IsWithinGeneralContractScope { get; set; }
/// <summary>
/// 概算工程量
/// </summary>
[ExcelColumnIndex("V")] public string EstimatedQuantity { get; set; }
/// <summary>
/// 概算金额
/// </summary>
[ExcelColumnIndex("W")] public decimal EstimatedAmount { get; set; }
/// <summary>
/// 预算工程量
/// </summary>
[ExcelColumnIndex("X")] public string SettledQuantity { get; set; }
/// <summary>
/// 预算金额
/// </summary>
[ExcelColumnIndex("Y")] public decimal SettledAmount { get; set; }
}
}