Jelajahi Sumber

导出预估单价

xuefy 3 tahun lalu
induk
melakukan
4942b770d7

+ 13 - 2
adm/src/main/java/com/minpay/guomao/contractmanage/action/FinaceExcelShouFu.java

@@ -14,6 +14,7 @@ public class FinaceExcelShouFu {
 	private String id;				//收付款编号
 	private String id;				//收付款编号
 	private String aopAllWeight;	//重量
 	private String aopAllWeight;	//重量
 	private String aopRemarks;		//备注
 	private String aopRemarks;		//备注
+	private String aopPredictPrice;	//预估单价
 	public String getTypeDesc() {
 	public String getTypeDesc() {
 		return typeDesc;
 		return typeDesc;
 	}
 	}
@@ -92,9 +93,15 @@ public class FinaceExcelShouFu {
 	public void setAopRemarks(String aopRemarks) {
 	public void setAopRemarks(String aopRemarks) {
 		this.aopRemarks = aopRemarks;
 		this.aopRemarks = aopRemarks;
 	}
 	}
+	public String getAopPredictPrice() {
+		return aopPredictPrice;
+	}
+	public void setAopPredictPrice(String aopPredictPrice) {
+		this.aopPredictPrice = aopPredictPrice;
+	}
 	public FinaceExcelShouFu(String typeDesc, String priceTypeDesc, String buyer, String seller, String totalMoney,
 	public FinaceExcelShouFu(String typeDesc, String priceTypeDesc, String buyer, String seller, String totalMoney,
 			String totalMoneys, String bankNum, String bankName, String createTime, String termsPayment, String id,
 			String totalMoneys, String bankNum, String bankName, String createTime, String termsPayment, String id,
-			String aopAllWeight, String aopRemarks) {
+			String aopAllWeight, String aopRemarks, String aopPredictPrice) {
 		super();
 		super();
 		this.typeDesc = typeDesc;
 		this.typeDesc = typeDesc;
 		this.priceTypeDesc = priceTypeDesc;
 		this.priceTypeDesc = priceTypeDesc;
@@ -109,6 +116,7 @@ public class FinaceExcelShouFu {
 		this.id = id;
 		this.id = id;
 		this.aopAllWeight = aopAllWeight;
 		this.aopAllWeight = aopAllWeight;
 		this.aopRemarks = aopRemarks;
 		this.aopRemarks = aopRemarks;
+		this.aopPredictPrice = aopPredictPrice;
 	}
 	}
 	public FinaceExcelShouFu() {
 	public FinaceExcelShouFu() {
 		super();
 		super();
@@ -118,9 +126,12 @@ public class FinaceExcelShouFu {
 		return "FinaceExcelShouFu [typeDesc=" + typeDesc + ", priceTypeDesc=" + priceTypeDesc + ", buyer=" + buyer
 		return "FinaceExcelShouFu [typeDesc=" + typeDesc + ", priceTypeDesc=" + priceTypeDesc + ", buyer=" + buyer
 				+ ", seller=" + seller + ", totalMoney=" + totalMoney + ", totalMoneys=" + totalMoneys + ", bankNum="
 				+ ", seller=" + seller + ", totalMoney=" + totalMoney + ", totalMoneys=" + totalMoneys + ", bankNum="
 				+ bankNum + ", bankName=" + bankName + ", createTime=" + createTime + ", termsPayment=" + termsPayment
 				+ bankNum + ", bankName=" + bankName + ", createTime=" + createTime + ", termsPayment=" + termsPayment
-				+ ", id=" + id + ", aopAllWeight=" + aopAllWeight + ", aopRemarks=" + aopRemarks + "]";
+				+ ", id=" + id + ", aopAllWeight=" + aopAllWeight + ", aopRemarks=" + aopRemarks + ", aopPredictPrice="
+				+ aopPredictPrice + "]";
 	}
 	}
 	
 	
 	
 	
 	
 	
+	
+	
 }
 }

+ 2 - 1
adm/src/main/java/com/minpay/guomao/contractmanage/action/FinanceToExecl.java

@@ -530,7 +530,7 @@ public class FinanceToExecl implements IMINAction{
 		//当前时间
 		//当前时间
 		String date = DateUtil.getCurrentDateString();
 		String date = DateUtil.getCurrentDateString();
 		//获取表头信息
 		//获取表头信息
-		String exportExcel = "收付款编号#id,付款期限#termsPayment,重量#aopAllWeight,预估收付款金额#totalMoney,实际收付款金额#totalMoneys,备注#aopRemarks,收付类型#typeDesc,费用类型#priceTypeDesc,付款单位#buyer,收款单位#seller,收款账号#bankNum,开户行#bankName,创建时间#createTime";
+		String exportExcel = "收付款编号#id,付款期限#termsPayment,重量#aopAllWeight,预估收付款金额#totalMoney,预估单价#aopPredictPrice,实际收付款金额#totalMoneys,备注#aopRemarks,收付类型#typeDesc,费用类型#priceTypeDesc,付款单位#buyer,收款单位#seller,收款账号#bankNum,开户行#bankName,创建时间#createTime";
 		String[] excelHeader = exportExcel.split(",");
 		String[] excelHeader = exportExcel.split(",");
 		//获取表格数据
 		//获取表格数据
 		List<FinaceExcelShouFu> pro = new ArrayList<FinaceExcelShouFu>();
 		List<FinaceExcelShouFu> pro = new ArrayList<FinaceExcelShouFu>();
@@ -571,6 +571,7 @@ public class FinanceToExecl implements IMINAction{
 			shoufu.setBankName(CommonUtil.objToString(map.get("bankName")));                  //开户行
 			shoufu.setBankName(CommonUtil.objToString(map.get("bankName")));                  //开户行
 			shoufu.setCreateTime(CommonUtil.objToString(map.get("createTime")));              //创建时间
 			shoufu.setCreateTime(CommonUtil.objToString(map.get("createTime")));              //创建时间
 			shoufu.setTermsPayment(CommonUtil.objToString(map.get("termsPayment")));		  //付款期限
 			shoufu.setTermsPayment(CommonUtil.objToString(map.get("termsPayment")));		  //付款期限
+			shoufu.setAopPredictPrice(CommonUtil.objToString(map.get("aopPredictPrice"))); 	  //预估价格
 			pro.add(shoufu);
 			pro.add(shoufu);
 		}
 		}
 		//导出Excel
 		//导出Excel