public static PapayQuerycontractResult papayQuerycontract(PapayQuerycontract papayQuerycontract,String key){
		Map<String,String> map = MapUtil.objectToMap(papayQuerycontract);
		String sign = SignatureUtil.generateSign(map,papayQuerycontract.getSign_type(),key);
		papayQuerycontract.setSign(sign);
		String closeorderXML = XMLConverUtil.convertToXML(papayQuerycontract);
		HttpUriRequest httpUriRequest = RequestBuilder.post()
				.setHeader(xmlHeader)
				.setUri(baseURI()+ "/papay/querycontract")
				.setEntity(new StringEntity(closeorderXML,Charset.forName("utf-8")))
				.build();
		return LocalHttpClient.executeXmlResult(httpUriRequest,PapayQuerycontractResult.class,papayQuerycontract.getSign_type(),key);
	}
public static PapayQuerycontractResult papayQuerycontract ( PapayQuerycontract papayQuerycontract , String key ) { Map < String , String > map = MapUtil . objectToMap ( papayQuerycontract ) ; String sign = SignatureUtil . generateSign ( map , papayQuerycontract . getSign_type ( ) , key ) ; papayQuerycontract . setSign ( sign ) ; String closeorderXML = XMLConverUtil . convertToXML ( papayQuerycontract ) ; HttpUriRequest httpUriRequest = RequestBuilder . post ( ) . setHeader ( xmlHeader ) . setUri ( baseURI ( ) + "/papay/querycontract" ) . setEntity ( new StringEntity ( closeorderXML , Charset . forName ( "utf-8" ) ) ) . build ( ) ; return LocalHttpClient . executeXmlResult ( httpUriRequest , PapayQuerycontractResult . class , papayQuerycontract . getSign_type ( ) , key ) ; }
委托代扣-查询签约关系
@param papayQuerycontract papayQuerycontract
@param key key
@return PapayQuerycontractResult