add 后台服务 和 部署sql 等
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 基础实体类
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.NbzsZheliban.Entity.Base
|
||||
namespace Ewide.Nbzs.Entity.Base
|
||||
{
|
||||
[Serializable, System.Runtime.Serialization.DataContract]
|
||||
public class RespModel
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:InvestigateTable
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:InvestigateTable_Assessment
|
||||
@@ -751,10 +750,10 @@ using System.Runtime.Serialization;
|
||||
[DataMember]
|
||||
public string Carrymode {get;set;}
|
||||
/// <summary>
|
||||
/// 分户评估附件
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="分户评估附件")]
|
||||
[Display(Name="无描述")]
|
||||
[Column("AssementFile")]
|
||||
[DataMember]
|
||||
public string AssementFile {get;set;}
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:NonInvestigateTable_Assessment
|
||||
@@ -291,14 +290,6 @@ using System.Runtime.Serialization;
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("PgPrice")]
|
||||
[DataMember]
|
||||
public decimal? PgPrice {get;set;}
|
||||
/// <summary>
|
||||
/// 分户评估附件
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="分户评估附件")]
|
||||
[Column("AssementFile")]
|
||||
[DataMember]
|
||||
public string AssementFile {get;set;}
|
||||
@@ -348,7 +339,6 @@ using System.Runtime.Serialization;
|
||||
this.Property(t => t.ExceedLand).HasColumnName("ExceedLand");
|
||||
this.Property(t => t.ValuationMethod).HasColumnName("ValuationMethod").IsRequired();
|
||||
this.Property(t => t.ValuationStatus).HasColumnName("ValuationStatus").IsRequired();
|
||||
this.Property(t => t.PgPrice).HasColumnName("PgPrice");
|
||||
this.Property(t => t.AssementFile).HasColumnName("AssementFile");
|
||||
}
|
||||
}**/
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:NonResidentialAgreement
|
||||
@@ -1806,14 +1805,6 @@ using System.Runtime.Serialization;
|
||||
[Column("XyFile")]
|
||||
[DataMember]
|
||||
public string XyFile {get;set;}
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("IsxyFile")]
|
||||
[DataMember]
|
||||
public int? IsxyFile {get;set;}
|
||||
|
||||
}
|
||||
|
||||
@@ -2050,7 +2041,6 @@ using System.Runtime.Serialization;
|
||||
this.Property(t => t.Deductible).HasColumnName("Deductible").IsRequired();
|
||||
this.Property(t => t.IsCancelRecord).HasColumnName("IsCancelRecord").IsRequired();
|
||||
this.Property(t => t.XyFile).HasColumnName("XyFile");
|
||||
this.Property(t => t.IsxyFile).HasColumnName("IsxyFile");
|
||||
}
|
||||
}**/
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:NonResidentialInvestigateTable
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:PoliciesRegulations
|
||||
@@ -96,6 +95,22 @@ using System.Runtime.Serialization;
|
||||
public DateTime? PublicTimeEnd {get;set;}
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("CreateTime")]
|
||||
[DataMember]
|
||||
public DateTime? CreateTime {get;set;}
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("CreateUserId")]
|
||||
[DataMember]
|
||||
public Guid? CreateUserId {get;set;}
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
@@ -142,6 +157,14 @@ using System.Runtime.Serialization;
|
||||
[Column("Files")]
|
||||
[DataMember]
|
||||
public string Files {get;set;}
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("Sort")]
|
||||
[DataMember]
|
||||
public int Sort {get;set;}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:Projects
|
||||
@@ -983,6 +982,22 @@ using System.Runtime.Serialization;
|
||||
[DataMember]
|
||||
public string ProjectOverUserName {get;set;}
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="创建时间")]
|
||||
[Column("CreateTime")]
|
||||
[DataMember]
|
||||
public DateTime? CreateTime {get;set;}
|
||||
/// <summary>
|
||||
/// 创建人ID
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="创建人ID")]
|
||||
[Column("CreateUserId")]
|
||||
[DataMember]
|
||||
public Guid? CreateUserId {get;set;}
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
|
||||
@@ -1047,6 +1062,14 @@ using System.Runtime.Serialization;
|
||||
[DataMember]
|
||||
public string XmFiles {get;set;}
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否删除")]
|
||||
[Column("IsDeleted")]
|
||||
[DataMember]
|
||||
public bool IsDeleted {get;set;}
|
||||
/// <summary>
|
||||
/// 项目状态,到那个节点
|
||||
/// </summary>
|
||||
|
||||
|
||||
143
Ewide.Nbzs.Entity/DataBase/PushZlb.cs
Normal file
143
Ewide.Nbzs.Entity/DataBase/PushZlb.cs
Normal file
@@ -0,0 +1,143 @@
|
||||
//----------PushZlb开始----------
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:PushZlb
|
||||
/// </summary>
|
||||
[Table("PushZlb")]
|
||||
public partial class PushZlb: BaseEntity {
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Key]
|
||||
[Column("ID")]
|
||||
[DataMember]
|
||||
public string ID {get;set;}
|
||||
/// <summary>
|
||||
/// 项目ID
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="项目ID")]
|
||||
[Column("PrjId")]
|
||||
[DataMember]
|
||||
public string PrjId {get;set;}
|
||||
/// <summary>
|
||||
/// 是否现在就做,1是0否
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否现在就做,1是0否")]
|
||||
[Column("IsNowDo")]
|
||||
[DataMember]
|
||||
public int IsNowDo {get;set;}
|
||||
/// <summary>
|
||||
/// 是否自动做,1是0否
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否自动做,1是0否")]
|
||||
[Column("IsAutoDo")]
|
||||
[DataMember]
|
||||
public int IsAutoDo {get;set;}
|
||||
/// <summary>
|
||||
/// 自动执行频率表达式
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="自动执行频率表达式")]
|
||||
[Column("AutoDoTime")]
|
||||
[DataMember]
|
||||
public string AutoDoTime {get;set;}
|
||||
/// <summary>
|
||||
/// 是否作废,1是0否
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否作废,1是0否")]
|
||||
[Column("IsDeleted")]
|
||||
[DataMember]
|
||||
public int IsDeleted {get;set;}
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="创建时间")]
|
||||
[Column("CreateTime")]
|
||||
[DataMember]
|
||||
public DateTime CreateTime {get;set;}
|
||||
/// <summary>
|
||||
/// 是否已处理,1是0否
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否已处理,1是0否")]
|
||||
[Column("IsProcessed")]
|
||||
[DataMember]
|
||||
public int IsProcessed {get;set;}
|
||||
/// <summary>
|
||||
/// 最后一次执行时间
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="最后一次执行时间")]
|
||||
[Column("LastProcessTime")]
|
||||
[DataMember]
|
||||
public DateTime? LastProcessTime {get;set;}
|
||||
/// <summary>
|
||||
/// 到现在执行了几次
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="到现在执行了几次")]
|
||||
[Column("ProcessCount")]
|
||||
[DataMember]
|
||||
public int? ProcessCount {get;set;}
|
||||
/// <summary>
|
||||
/// 是否出错, 1是0否
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否出错, 1是0否")]
|
||||
[Column("IsError")]
|
||||
[DataMember]
|
||||
public int? IsError {get;set;}
|
||||
/// <summary>
|
||||
/// 错误记录
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="错误记录")]
|
||||
[Column("ErrorReason")]
|
||||
[DataMember]
|
||||
public string ErrorReason {get;set;}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
/// <summary>
|
||||
/// 数据表实体类Map:PushZlb
|
||||
/// </summary>
|
||||
public class PushZlbMap : EntityTypeConfiguration<PushZlb>
|
||||
{
|
||||
public PushZlbMap()
|
||||
{
|
||||
this.ToTable("PushZlb");
|
||||
this.HasKey(t => t.ID);
|
||||
this.Property(t => t.PrjId).HasColumnName("PrjId").IsRequired();
|
||||
this.Property(t => t.IsNowDo).HasColumnName("IsNowDo").IsRequired();
|
||||
this.Property(t => t.IsAutoDo).HasColumnName("IsAutoDo").IsRequired();
|
||||
this.Property(t => t.AutoDoTime).HasColumnName("AutoDoTime");
|
||||
this.Property(t => t.IsDeleted).HasColumnName("IsDeleted").IsRequired();
|
||||
this.Property(t => t.CreateTime).HasColumnName("CreateTime").IsRequired();
|
||||
this.Property(t => t.IsProcessed).HasColumnName("IsProcessed").IsRequired();
|
||||
this.Property(t => t.LastProcessTime).HasColumnName("LastProcessTime");
|
||||
this.Property(t => t.ProcessCount).HasColumnName("ProcessCount");
|
||||
this.Property(t => t.IsError).HasColumnName("IsError");
|
||||
this.Property(t => t.ErrorReason).HasColumnName("ErrorReason");
|
||||
}
|
||||
}**/
|
||||
|
||||
}
|
||||
|
||||
//----------PushZlb结束----------
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:ResidentialAgreement
|
||||
@@ -1751,61 +1750,53 @@ using System.Runtime.Serialization;
|
||||
[DataMember]
|
||||
public decimal? ZXFSPGMoney {get;set;}
|
||||
/// <summary>
|
||||
/// 实际安置房面积
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="实际安置房面积")]
|
||||
[Display(Name="无描述")]
|
||||
[Column("AcutualPlaHouseArea")]
|
||||
[DataMember]
|
||||
public decimal? AcutualPlaHouseArea {get;set;}
|
||||
/// <summary>
|
||||
/// 其中货币补偿部分面积
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="其中货币补偿部分面积")]
|
||||
[Display(Name="无描述")]
|
||||
[Column("ActualCurrSectionArea")]
|
||||
[DataMember]
|
||||
public decimal? ActualCurrSectionArea {get;set;}
|
||||
public float ActualCurrSectionArea {get;set;}
|
||||
/// <summary>
|
||||
/// 其中产权调换部分面积
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="其中产权调换部分面积")]
|
||||
[Column("ActualPorpSwapSectionArea")]
|
||||
[DataMember]
|
||||
public decimal? ActualPorpSwapSectionArea {get;set;}
|
||||
/// <summary>
|
||||
/// 其中货币补偿部分评估价值
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="其中货币补偿部分评估价值 ")]
|
||||
[Display(Name="无描述")]
|
||||
[Column("ActualCurrSectionEval")]
|
||||
[DataMember]
|
||||
public decimal? ActualCurrSectionEval {get;set;}
|
||||
/// <summary>
|
||||
/// 货币补偿补助
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="货币补偿补助")]
|
||||
[Display(Name="无描述")]
|
||||
[Column("ActualPorpSwapSectionArea")]
|
||||
[DataMember]
|
||||
public decimal? ActualPorpSwapSectionArea {get;set;}
|
||||
/// <summary>
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="无描述")]
|
||||
[Column("CurrSubsidy")]
|
||||
[DataMember]
|
||||
public decimal? CurrSubsidy {get;set;}
|
||||
/// <summary>
|
||||
/// 协议打印文件
|
||||
/// 无描述
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="协议打印文件")]
|
||||
[Display(Name="无描述")]
|
||||
[Column("XyFile")]
|
||||
[DataMember]
|
||||
public string XyFile {get;set;}
|
||||
/// <summary>
|
||||
/// 是否存在协议打印文件
|
||||
/// </summary>
|
||||
|
||||
[Display(Name="是否存在协议打印文件")]
|
||||
[Column("IsxyFile")]
|
||||
[DataMember]
|
||||
public int? IsxyFile {get;set;}
|
||||
|
||||
}
|
||||
|
||||
@@ -2037,11 +2028,10 @@ using System.Runtime.Serialization;
|
||||
this.Property(t => t.ZXFSPGMoney).HasColumnName("ZXFSPGMoney");
|
||||
this.Property(t => t.AcutualPlaHouseArea).HasColumnName("AcutualPlaHouseArea");
|
||||
this.Property(t => t.ActualCurrSectionArea).HasColumnName("ActualCurrSectionArea");
|
||||
this.Property(t => t.ActualPorpSwapSectionArea).HasColumnName("ActualPorpSwapSectionArea");
|
||||
this.Property(t => t.ActualCurrSectionEval).HasColumnName("ActualCurrSectionEval");
|
||||
this.Property(t => t.ActualPorpSwapSectionArea).HasColumnName("ActualPorpSwapSectionArea");
|
||||
this.Property(t => t.CurrSubsidy).HasColumnName("CurrSubsidy");
|
||||
this.Property(t => t.XyFile).HasColumnName("XyFile");
|
||||
this.Property(t => t.IsxyFile).HasColumnName("IsxyFile");
|
||||
}
|
||||
}**/
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:zjzwfwTickets
|
||||
|
||||
@@ -23,4 +23,12 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="DataBase\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.NbzsZheliban.Entity.Extends
|
||||
namespace Ewide.Nbzs.Entity.Extends
|
||||
{
|
||||
public class ZhelibanUserInfo
|
||||
{
|
||||
|
||||
@@ -14,6 +14,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> { "Projects","InvestigateTable","NonResidentialInvestigateTable","InvestigateTable_Assessment","NonInvestigateTable_Assessment","NonResidentialAgreement","ResidentialAgreement","PoliciesRegulations","zjzwfwTickets" });
|
||||
DataTable dt = GetDataTable(new List<string> { "Projects","InvestigateTable","NonResidentialInvestigateTable","InvestigateTable_Assessment","NonInvestigateTable_Assessment","NonResidentialAgreement","ResidentialAgreement","PoliciesRegulations","zjzwfwTickets","PushZlb" });
|
||||
//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')";
|
||||
@@ -41,9 +41,8 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
//using System.Data.Entity.ModelConfiguration;
|
||||
using Ewide.NbzsZheliban.Entity;
|
||||
using System.Runtime.Serialization;
|
||||
namespace Ewide.NbzsZheliban.Entity
|
||||
namespace Ewide.Nbzs.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据表实体类:<#= tableClass #>
|
||||
|
||||
Reference in New Issue
Block a user