/// <summary> /// 建设用地和宗地图对比 /// </summary> /// <param name="jsyd"></param> /// <param name="zdinfo"></param> /// <returns></returns> private string CheckJSYD_Zdinfo(JSYD jsyd, Zdinfo zdinfo, int cellIndex) { StringBuilder sb = new StringBuilder(); if (!Utils.StrEquals(jsyd.TFH, zdinfo.TUFU)) { //sb.Append("、图幅号是:" + zdinfo.TUFU); } if (jsyd.ZDMJ != zdinfo.AREA) { sb.Append("、宗地面积是:" + zdinfo.AREA); } if (jsyd.ZDMJ < jsyd.SYQMJ) { sb.Append("、宗地面积小于使用权面积"); } double dt = jsyd.ZDMJ - jsyd.SYQMJ - jsyd.CZMJ; if (Math.Abs(dt) > 0.001) { sb.Append("、宗地面积 减 使用权 减 超占 面积 = " + dt); } if (jsyd.JZZDZMJ != zdinfo.ZDMJ) { sb.Append("、占地面积是:" + zdinfo.ZDMJ); } if (sb.Length > 0) { sb.Insert(0, "宗地表和地籍表MDB对比:"); CheckZJDWriteError(jsyd.Row, cellIndex, sb.ToString()); return(sb.ToString()); } return(""); }