diff --git a/src/com/ample/esb/bean/amp/CustomerInfo.java b/src/com/ample/esb/bean/amp/CustomerInfo.java index 8eaea33fe..90a94a240 100644 --- a/src/com/ample/esb/bean/amp/CustomerInfo.java +++ b/src/com/ample/esb/bean/amp/CustomerInfo.java @@ -243,6 +243,29 @@ public class CustomerInfo { @XStreamAlias("GUARNUM") private String guarNum; + @XStreamAlias("QUERYREASON") + private String queryReason; + + public void setAgeInYear(Integer ageInYear) { + this.ageInYear = ageInYear; + } + + public void setRepeatedApplicantFlag(Integer repeatedApplicantFlag) { + this.repeatedApplicantFlag = repeatedApplicantFlag; + } + + public void setAgeInMonth(Integer ageInMonth) { + this.ageInMonth = ageInMonth; + } + + public String getQueryReason() { + return queryReason; + } + + public void setQueryReason(String queryReason) { + this.queryReason = queryReason; + } + public String getGuarNum() { return guarNum; } diff --git a/src/com/ample/esb/service/impl/AmpServiceImpl.java b/src/com/ample/esb/service/impl/AmpServiceImpl.java index 1b86dc7cd..5a2b2b2b5 100644 --- a/src/com/ample/esb/service/impl/AmpServiceImpl.java +++ b/src/com/ample/esb/service/impl/AmpServiceImpl.java @@ -496,6 +496,7 @@ public class AmpServiceImpl extends EsbCommon implements AmpService { ci.setIdCardTermEndDate(CardTermEndDate); ci.setOpenBankMobileNo(openBankMobileNo); ci.setNationId(nationId); + ci.setQueryReason("23"); return ci; } public Coborrowers getCoborrowers() throws JBOException { @@ -656,6 +657,8 @@ public class AmpServiceImpl extends EsbCommon implements AmpService { co.setRelationshipCode(relationshipCode); //共借人编号(目前系统只有一个共借人,默认填1) co.setBorrowerId("1"); + //征信查询原因 + co.setQueryReason("23"); return co; } public GuarantorInfo getGuarantorInfo() throws JBOException { @@ -839,7 +842,8 @@ public class AmpServiceImpl extends EsbCommon implements AmpService { gr.setCensusRegAddr(censusRegAddr); //与主借人关系 gr.setRelationshipCode(relationshipCode); - + //征信查询原因 + gr.setQueryReason("23"); return gr; } public ContInfo getContInfo() throws JBOException {