add 接口代码
This commit is contained in:
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:InvestigateTable
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:InvestigateTable_Assessment
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:NonInvestigateTable_Assessment
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:NonResidentialAgreement
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:NonResidentialInvestigateTable
|
||||
|
||||
1956
Ewide.NbzsZheliban/Entity/DataBase/Projects.cs
Normal file
1956
Ewide.NbzsZheliban/Entity/DataBase/Projects.cs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:ResidentialAgreement
|
||||
|
||||
67
Ewide.NbzsZheliban/Entity/Extends/H5IndexPrjModel.cs
Normal file
67
Ewide.NbzsZheliban/Entity/Extends/H5IndexPrjModel.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.NbzsZheliban.Entity.Extends
|
||||
{
|
||||
public class Dcbs
|
||||
{
|
||||
public string dcbId { get; set; }
|
||||
public string PrjId { get; set; }
|
||||
}
|
||||
public class Fhpgs
|
||||
{
|
||||
public string PrjId { get; set; }
|
||||
public string AssessmentNo { get; set; }
|
||||
public string HouseAddress { get; set; }
|
||||
public string countValue { get; set; }
|
||||
}
|
||||
public class Bcxy
|
||||
{
|
||||
public string PrjId { get; set; }
|
||||
public string XyNo { get; set; }
|
||||
public string HouseAddress { get; set; }
|
||||
public string SummationShouldCompensateMoney { get; set; }
|
||||
}
|
||||
public class H5IndexModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目信息
|
||||
/// </summary>
|
||||
public List<H5IndexPrjModel> PrjList { get; set; }
|
||||
}
|
||||
public class H5IndexPrjModel
|
||||
{
|
||||
public string PrjId { get; set; }
|
||||
/// <summary>
|
||||
/// 区域
|
||||
/// </summary>
|
||||
public string Area { get; set; }
|
||||
/// <summary>
|
||||
/// 征收部门
|
||||
/// </summary>
|
||||
public string zsbm { get; set; }
|
||||
/// <summary>
|
||||
/// 年份
|
||||
/// </summary>
|
||||
public decimal? Year { get; set; }
|
||||
/// <summary>
|
||||
/// 征收决定号
|
||||
/// </summary>
|
||||
public string Zsjdh { get; set; }
|
||||
/// <summary>
|
||||
/// 当前阶段
|
||||
/// </summary>
|
||||
public string CurrentState { get; set; }
|
||||
/// <summary>
|
||||
/// 分户评估集合
|
||||
/// </summary>
|
||||
public object FhpgList { get; set; }
|
||||
/// <summary>
|
||||
/// 补偿协议集合
|
||||
/// </summary>
|
||||
public object BcxyList { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
string tableClass="";
|
||||
//所有表名称
|
||||
//string sqlGetTable = "SELECT Name FROM SysObjects Where XType='U' ORDER BY Name";
|
||||
DataTable dt = GetDataTable(new List<string> { "InvestigateTable","NonResidentialInvestigateTable","InvestigateTable_Assessment","NonInvestigateTable_Assessment","NonResidentialAgreement","ResidentialAgreement" });
|
||||
DataTable dt = GetDataTable(new List<string> { "Projects","InvestigateTable","NonResidentialInvestigateTable","InvestigateTable_Assessment","NonInvestigateTable_Assessment","NonResidentialAgreement","ResidentialAgreement" });
|
||||
//DataTable dtRelationTable = GetRelationTable();
|
||||
//所有表信息
|
||||
string selectQuery ="select syscolumns.name,systypes.name,syscolumns.length from syscolumns,systypes where syscolumns.xusertype=systypes.xusertype and syscolumns.id=object_id('@tableName')";
|
||||
@@ -43,7 +43,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.WorkOrderSys.Entity
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:<#= tableClass #>
|
||||
@@ -173,6 +173,7 @@ using System.Runtime.Serialization;
|
||||
case "bigint":
|
||||
type="long";
|
||||
break;
|
||||
case "numeric":
|
||||
case "real":
|
||||
case "decimal":
|
||||
type="decimal"+(nullable=="1"?"?":"");
|
||||
|
||||
Reference in New Issue
Block a user