Unable to locate appropriate constructor on class

package com.syit.bid.wz.cggl.dbqbgl.vo;

import java.math.BigDecimal;
import java.util.Date;

public class WzZbqdVo {
	
	private String zbxmbh;
	private String bdxmzbh;
	private String zbbdbh;
	private String zbbdmc;
	private Long bId;
	private String orgName;
	private String zbh;
	private String wlbh;
	private Long wzId;
	private String wzmc;
	private BigDecimal xysl;
	private String dw;
	private BigDecimal gsjg;
	private BigDecimal dbj;
	private BigDecimal pbj;
	private BigDecimal bj;
	private String ggxhjjscs;
	private Date jhrq;
	private String jhdd;
	private String jhbz;
	
	public WzZbqdVo()
	{
		
	}
	public WzZbqdVo(String zbxmbh, String bdxmzbh, String zbbdbh,
			String zbbdmc, Long bId, String orgName, String zbh, String wlbh,
			Long wzId, String wzmc, BigDecimal xysl, String dw, BigDecimal gsjg,
			BigDecimal dbj, BigDecimal pbj, BigDecimal bj, String ggxhjjscs, Date jhrq,
			String jhdd, String jhbz) {
		this.zbxmbh = zbxmbh;
		this.bdxmzbh = bdxmzbh;
		this.zbbdbh = zbbdbh;
		this.zbbdmc = zbbdmc;
		this.bId = bId;
		this.orgName = orgName;
		this.zbh = zbh;
		this.wlbh = wlbh;
		this.wzId = wzId;
		this.wzmc = wzmc;
		this.xysl = xysl;
		this.dw = dw;
		this.gsjg = gsjg;
		this.dbj = dbj;
		this.pbj = pbj;
		this.bj = bj;
		this.ggxhjjscs = ggxhjjscs;
		this.jhrq = jhrq;
		this.jhdd = jhdd;
		this.jhbz = jhbz;
	}
	
	public String getZbxmbh() {
		return zbxmbh;
	}
	public void setZbxmbh(String zbxmbh) {
		this.zbxmbh = zbxmbh;
	}
	public String getBdxmzbh() {
		return bdxmzbh;
	}
	public void setBdxmzbh(String bdxmzbh) {
		this.bdxmzbh = bdxmzbh;
	}
	public String getZbbdbh() {
		return zbbdbh;
	}
	public void setZbbdbh(String zbbdbh) {
		this.zbbdbh = zbbdbh;
	}
	public String getZbbdmc() {
		return zbbdmc;
	}
	public void setZbbdmc(String zbbdmc) {
		this.zbbdmc = zbbdmc;
	}
	public Long getbId() {
		return bId;
	}
	public void setbId(Long bId) {
		this.bId = bId;
	}
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	public String getZbh() {
		return zbh;
	}
	public void setZbh(String zbh) {
		this.zbh = zbh;
	}
	public String getWlbh() {
		return wlbh;
	}
	public void setWlbh(String wlbh) {
		this.wlbh = wlbh;
	}
	public Long getWzId() {
		return wzId;
	}
	public void setWzId(Long wzId) {
		this.wzId = wzId;
	}
	public String getWzmc() {
		return wzmc;
	}
	public void setWzmc(String wzmc) {
		this.wzmc = wzmc;
	}
	public BigDecimal getXysl() {
		return xysl;
	}
	public void setXysl(BigDecimal xysl) {
		this.xysl = xysl;
	}
	public String getDw() {
		return dw;
	}
	public void setDw(String dw) {
		this.dw = dw;
	}
	public BigDecimal getGsjg() {
		return gsjg;
	}
	public void setGsjg(BigDecimal gsjg) {
		this.gsjg = gsjg;
	}
	public BigDecimal getDbj() {
		return dbj;
	}
	public void setDbj(BigDecimal dbj) {
		this.dbj = dbj;
	}
	public BigDecimal getPbj() {
		return pbj;
	}
	public void setPbj(BigDecimal pbj) {
		this.pbj = pbj;
	}
	public BigDecimal getBj() {
		return bj;
	}
	public void setBj(BigDecimal bj) {
		this.bj = bj;
	}
	public String getGgxhjjscs() {
		return ggxhjjscs;
	}
	public void setGgxhjjscs(String ggxhjjscs) {
		this.ggxhjjscs = ggxhjjscs;
	}
	public Date getJhrq() {
		return jhrq;
	}
	public void setJhrq(Date jhrq) {
		this.jhrq = jhrq;
	}
	public String getJhdd() {
		return jhdd;
	}
	public void setJhdd(String jhdd) {
		this.jhdd = jhdd;
	}
	public String getJhbz() {
		return jhbz;
	}
	public void setJhbz(String jhbz) {
		this.jhbz = jhbz;
	}
	
}
 


	  StringBuffer sql = new StringBuffer();	  
	  sql.append(" select NEW com.syit.bid.wz.cggl.dbqbgl.vo.WzZbqdVo(")
	  	 .append(" xm.zbxmbh ,bd.bdxmzbh ,bd.zbbdbh ,bd.zbbdmc, jhb.bId, ww.orgName,")
	  	 .append(" fp.zbh, jhtm.wlbh ,jhtm.wzId ,jhtm.wzmc ,jhtm.xysl ,jhtm.dw , jhtm.gsjg,")
	  	 .append(" tbr.dbj ,tbr.pbj ,tbr.bj ,jhtm.ggxhjjscs ,jhtm.jhrq ,jhtm.jhdd ,jhtm.jhbz)")
		 .append(" from WzJhb jhb")
		 .append(" left join jhb.wzZbbd bd")
		 .append(" left join bd.wzZbxm xm")
		 .append(" left join jhb.wzBqztbrs tbr")
		 .append(" left join tbr.wwBaseRegister ww")
		 .append(" left join jhb.wzJhtmfps fp")
		 .append(" left join fp.wzJhtm jhtm,")
		 .append(" WzZbbdqb b left join b.dbqb c")
		 .append(" where bd=b.zbbd and tbr.sgsqrzb=:sgsqrzb and c.qbId=:qbId and b.sfyx=:sfyx");
注意参数类型和个数是否匹配

你可能感兴趣的:(sql,C++,c,C#,FP)