文件操作待整理

package test;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.apache.commons.io.FileUtils;

public class CopyOfBuildBPXML {
//	<xmlWrap > </xmlWrap > ------>  <xmlWrapBP>< /xmlWrapBP >
//	<xmlIColl> </xmlIColl> ------>  <xmlICollBP> < /xmlICollBP>
//	<xmlFullTag  ------>  <xmlFullTagBP
	static final String REGEX_BP = "xml(Wrap|IColl|FullTag])";
	static final String LINE_SEPARATOR = System.getProperty("line.separator"); // /r/n 回车换行
	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		
		String filePath = CopyOfBuildBPXML.class.getResource("").getPath()+"test.properties"; // 文件路径

		System.out.println(filePath);
		
		String inputFile = "C:/Documents and Settings/rdpc0545/桌面/社保二期/cb700410_socialInsurancePay_input.xml";
		String outputFile = "cb700410_socialInsurancePay_input" + (new Date().getTime()) + ".xml";

		//write(outputFile, read(inputFile)); // 读取修改文件

		//fileAppender(outputFile, "fileAppender 在文件前面追加内容 \n");// 在文件前面追加内容
		
		Pattern pattern = Pattern.compile(REGEX_BP);
		String txt = FileUtils.readFileToString(new File(inputFile));

		Matcher matcher = pattern.matcher(txt);

		while (matcher.find()) {
			String matchecText = matcher.group();
			int matchedFrom = matcher.start();
			int matchedTo = matcher.end();
			System.out.println("matched [" + matchecText + "] from [" + matchedFrom + "] to [" + matchedTo + "]" );
			//matcher.appendReplacement(txt, matchecText + "BP");
			String xxx = matcher.replaceAll(matchecText + "BP");
			System.out.println(xxx);
		}
		
	}
	
	
	
	/**
	 * 读取文件内容
	 * 
	 * @param inputFilePath
	 * @return
	 */
	public static String read(String inputFilePath) {
		BufferedReader in = null;
		String line = null;
		StringBuffer contexts = new StringBuffer();

		try {
			// 根据文件路径创建缓冲输入流
			in = new BufferedReader(new FileReader(inputFilePath));

			// 循环读取文件的每一行, 对需要修改的行进行修改, 放入缓冲对象中
			while ((line = in.readLine()) != null) {
				/**
				// 此处根据实际需要修改某些行的内容
				if(true){
					
				} else {// 如果不用修改, 则按原来的内容回写
					contexts.append(line);
				}
				*/
				contexts.append(line.replaceAll("xmlWrap", "xmlWrapBP").replaceAll("xmlIColl", "xmlICollBP").replaceAll("xmlFullTag", "xmlFullTagBP"));
				contexts.append(LINE_SEPARATOR);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			// 关闭流
			if (in != null) {
				try {
					in.close();
				} catch (IOException e) {
					in = null;
				}
			}
		}
		//System.out.println(contexts.toString());
		return contexts.toString();
	}
	
	/**
	 * 读取文件内容
	 * 
	 * @param inputFilePath
	 * @return
	 */
	public static String readFileToString(String inputFilePath) {
		BufferedReader in = null;
		String line = null;
		StringBuffer contexts = new StringBuffer();

		try {
			// 根据文件路径创建缓冲输入流
			in = new BufferedReader(new FileReader(inputFilePath));

			// 循环读取文件的每一行, 对需要修改的行进行修改, 放入缓冲对象中
			while ((line = in.readLine()) != null) {
				contexts.append(line).append(LINE_SEPARATOR);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			// 关闭流
			if (in != null) {
				try {
					in.close();
				} catch (IOException e) {
					in = null;
				}
			}
		}
		//System.out.println(contexts.toString());
		return contexts.toString();
	}

	
	/**
	 * 将内容写到文件中
	 * 
	 * @param outFilePath
	 * @param contents
	 */
	public static void write(String outputFilePath, String contents) {
		BufferedWriter out = null;

		try {
			// 根据文件路径创建缓冲输出流
			out = new BufferedWriter(new FileWriter(outputFilePath));
			// 将内容写入文件中
			out.write(contents);
			////out.newLine();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			// 关闭流
			if (out != null) {
				try {
					out.close();
				} catch (IOException e) {
					out = null;
				}
			}
		}
	}
	
	/**
	 * 将内容写到文件中
	 * 
	 * @param outFilePath
	 * @param contents
	 */
	public static void modifyFileContents(String inputFilePath, String outputFilePath,String regex,String replaceTo) {
		BufferedWriter out = null;

		try {
			// 根据文件路径创建缓冲输出流
			out = new BufferedWriter(new FileWriter(outputFilePath));
			
			Pattern pattern = Pattern.compile(regex);
			String txt = FileUtils.readFileToString(new File(inputFilePath));
			Matcher matcher = pattern.matcher(txt);
			
			String contents = null;
			String matchecText = null;
			int matchedFrom = 0;
			int matchedTo = 0;
			while (matcher.find()) {
				matchecText = matcher.group();
				matchedFrom = matcher.start();
				matchedTo = matcher.end();
				System.out.println("matched [" + matchecText + "] from [" + matchedFrom + "] to [" + matchedTo + "]" );
				//matcher.appendReplacement(txt, matchecText + "BP");
				contents = matcher.replaceAll(matchecText + "BP");
				System.out.println(contents);
			}
			
			// 将内容写入文件中
			out.write(contents);
			////out.newLine();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			// 关闭流
			if (out != null) {
				try {
					out.close();
				} catch (IOException e) {
					out = null;
				}
			}
		}
	}



}



<?xml version="1.0" encoding="GBK" ?>


<SelfDefinedOp.xml id="cb700410_socialInsurancePay_input">
	<EMPBusinessLogic id="cb700410_socialInsurancePay_input" operationContext="cb700410_socialInsurancePay_inputSrvCtx">
		<operation id="cb700410_inputList" name="经办页面初始化">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="hostNo"/>
				<field id="recordNum"/>
				<field id="firstKey"/>
				<field id="lastKey"/>
				<field id="pageMode"/>
				<field id="recordSize"/>
				<field id="currentPage"/>
				<field id="targetPage"/>
				<field id="std400flow"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="连接超时"/>
				<action id="EndAction2" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="通讯失败"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询三代客户号" sqlService="SQLExecService" refSQL="queryHostNo" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="SendXml2BpCompAction0"/>
				</action>
				<action id="CompareStringAction0" implClass="com.ecc.emp.action.CompareStringAction" label="比较客户签约信息是否有效" param2="RCDSTT" param1="RCDSTTVALID">
					<transition dest="CompareStringAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="EndAction3" result="notsign" implClass="com.ecc.emp.flow.EMPEndAction" label="客户未签约或签约信息无效"/>
				<action id="CompareStringAction1" implClass="com.ecc.emp.action.CompareStringAction" label="比较批扣代缴标志" param2="TRANFLAG" param1="TRANFLAGVALID">
					<transition dest="SendXml2BpCompAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="SendXml2BpCompAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" sendFormat="CPSSCQRYREQ" tranCode="CPSSCQRY" receiveFormat="CPSSCQRYRSP">
					<transition dest="CompareStringAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
				<action id="SendXml2BpCompAction1" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" label="社保缴费经办前查询" sendFormat="CPSSOQRYREQ" tranCode="CPSSOQRY" receiveFormat="CPSSOQRYRSP">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
			</flow>
		</operation>
		<operation id="cb700410_inputList_bak" name="经办页面初始化">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="hostNo"/>
				<field id="recordNum"/>
				<field id="firstKey"/>
				<field id="lastKey"/>
				<field id="pageMode"/>
				<field id="recordSize"/>
				<field id="currentPage"/>
				<field id="targetPage"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="连接超时"/>
				<action id="EndAction2" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="通讯失败"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询三代客户号" sqlService="SQLExecService" refSQL="queryHostNo" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="SendXml2BpCompAction0"/>
				</action>
				<action id="CompareStringAction0" implClass="com.ecc.emp.action.CompareStringAction" label="比较客户签约信息是否有效" param2="RCDSTT" param1="RCDSTTVALID">
					<transition dest="CompareStringAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="EndAction3" result="notsign" implClass="com.ecc.emp.flow.EMPEndAction" label="客户未签约或签约信息无效"/>
				<action id="CompareStringAction1" implClass="com.ecc.emp.action.CompareStringAction" label="比较批扣代缴标志" param2="TRANFLAG" param1="TRANFLAGVALID">
					<transition dest="SendXml2BpCompAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="SendXml2BpCompAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" sendFormat="CPSSCQRYREQ" tranCode="CPSSCQRY" receiveFormat="CPSSCQRYRSP">
					<transition dest="CompareStringAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
				<action id="SendXml2BpCompAction1" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" label="社保缴费经办前查询" sendFormat="CPSSOQRYREQ" tranCode="CPSSOQRY" receiveFormat="CPSSOQRYRSP">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
			</flow>
		</operation>
		<operation id="cb700410_inputInit" name="经办页面初始化">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="hostNo"/>
				<field id="recordNum"/>
				<field id="firstKey"/>
				<field id="lastKey"/>
				<field id="pageMode"/>
				<field id="recordSize"/>
				<field id="currentPage"/>
				<field id="targetPage"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="连接超时"/>
				<action id="EndAction2" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="通讯失败"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询三代客户号" sqlService="SQLExecService" refSQL="queryHostNo" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="SendXml2BpCompAction0"/>
				</action>
				<action id="CompareStringAction0" implClass="com.ecc.emp.action.CompareStringAction" label="比较客户签约信息是否有效" param2="RCDSTT" param1="RCDSTTVALID">
					<transition dest="CompareStringAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="EndAction3" result="notsign" implClass="com.ecc.emp.flow.EMPEndAction" label="客户未签约或签约信息无效"/>
				<action id="CompareStringAction1" implClass="com.ecc.emp.action.CompareStringAction" label="比较批扣代缴标志" param2="TRANFLAG" param1="TRANFLAGVALID">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="SendXml2BpCompAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" sendFormat="CPSSCQRYREQ" tranCode="CPSSCQRY" receiveFormat="CPSSCQRYRSP">
					<transition dest="CompareStringAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
			</flow>
		</operation>
		<operation id="cb700410_queryAccountBal" name="社保缴费账户余额查询">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="CSTRGSTNO"/>
				<field id="ACTACBL"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="TRNAMT"/>
				<field id="ACCNO"/>
				<field id="ACCNM"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="ID"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="BCNB"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询业务流程" sqlService="SQLExecService" refSQL="bsnFlowQrySqlDef" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="EndAction0" condition="($retValue='0') or ($retValue='2')"/>
					<transition dest="EndAction1"/>
				</action>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="查询失败" errorCode="EC17001"/>
			</flow>
		</operation>
		<operation id="cb700410_inputCfm" name="缴费信息确认">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="CSTRGSTNO"/>
				<field id="ACTACBL"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="TRNAMT"/>
				<field id="ACCNO"/>
				<field id="ACCNM"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="ID"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="BCNB"/>
				<field id="FLOWID"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="EndAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction"/>
			</flow>
		</operation>
		<operation id="cb700410_inputSave" name="保存社保缴费经办">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="CSTRGSTNO"/>
				<field id="ACTACBL"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="TRNAMT"/>
				<field id="ACCNO"/>
				<field id="ACCNM"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="ID"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="BCNB"/>
				<field id="FLOWID"/>
				<field id="TRNSUM"/>
				<field id="cipherText"/>
				<field id="plainText"/>
				<iColl id="userDataList">
					<kColl>
						<field id="ID"/>
						<field id="PREDATE"/>
						<field id="PRETIME"/>
						<field id="PURPOSE"/>
						<field id="PAYACC"/>
						<field id="PAYNM"/>
						<field id="FEEAREA"/>
						<field id="AREANAME"/>
						<field id="BSNTYPE"/>
						<field id="XZCODE"/>
						<field id="TRANFLOWNO"/>
						<field id="PAYAMT"/>
						<field id="SXAMT"/>
						<field id="MEDAMT"/>
						<field id="OGRACODE"/>
						<field id="FEEMONTH"/>
						<field id="YLAMT"/>
						<field id="LOSTAMT"/>
						<field id="INJUAMT"/>
						<field id="BORNAMT"/>
						<field id="YLTCTAMT"/>
						<field id="YLDWAMT"/>
						<field id="YLDEAMT"/>
						<field id="YLGRAMT"/>
						<field id="GFYLAMT"/>
						<field id="CHANNEL"/>
						<field id="BCNB"/>
						<field id="REM"/>
					</kColl>
				</iColl>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="VerifySigntureAction0"/>
				</action>
				<action id="SendXml2BpAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" label="社保缴费经办" sendFormat="CPSSPSUBREQ" sendListName="userDataList" tranCode="CPSSPSUB" receiveFormat="CPSSPSUBRSP">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction2"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction"/>
				<action id="VerifySigntureAction0" implClass="com.ecc.corporbank.action.VerifySignatureAction">
					<transition dest="SendXml2BpAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1"/>
				</action>
				<action id="EndAction1" result="fail" implClass="com.ecc.emp.flow.EMPEndAction" label="验签失败"/>
				<action id="EndAction2" result="fail" implClass="com.ecc.emp.flow.EMPEndAction"/>
			</flow>
		</operation>
		<refFormat name="0815reqFmt" refId="0815reqFmt"/>
		<refFormat name="0815rspFmt" refId="0815rspFmt"/>
		<refFormat name="CPSSOQRYREQ" refId="CPSSOQRYREQ"/>
		<refFormat name="CPSSOQRYRSP" refId="CPSSOQRYRSP"/>
		<refFormat name="EBQEYBALREQ" refId="EBQEYBALREQ"/>
		<refFormat name="EBQEYBALRSP" refId="EBQEYBALRSP"/>
		<refFormat name="CPSSCQRYREQ" refId="CPSSCQRYREQ"/>
		<refFormat name="CPSSCQRYRSP" refId="CPSSCQRYRSP"/>
		<refFormat name="CPSSPSUBREQ" refId="CPSSPSUBREQ"/>
		<refFormat name="CPSSPSUBRSP" refId="CPSSPSUBRSP"/>
	</EMPBusinessLogic>
	<context id="cb700410_socialInsurancePay_inputSrvCtx" parent="rootCtx" type="op">
		<refKColl refId="cb700410_socialInsurancePay_inputSrvData"/>
		<refService alias="queryHostNo" type="prv" refId="queryHostNo"/>
		<refService alias="bsnFlowQrySqlDef" type="prv" refId="bsnFlowQrySqlDef"/>
	</context>
	<kColl id="cb700410_socialInsurancePay_inputSrvData">
		<field id="errorCode"/>
		<field id="errorMsg"/>
		<field id="bsnCode"/>
		<field id="cstNo"/>
		<field id="oprNo"/>
		<field id="EMP_SID"/>
		<field id="loginName"/>
		<field id="oprType"/>
		<field id="session_certSerial"/>
		<field id="logonType"/>
		<field id="cstNmCn"/>
		<field id="oprName"/>
		<field id="hostNo"/>
		<field id="recordNum"/>
		<field id="currentPage" value="1"/>
		<field id="recordSize" value="10"/>
		<field id="firstKey"/>
		<field id="lastKey"/>
		<field id="pageMode"/>
		<field id="startDate"/>
		<field id="endDate"/>
		<field id="ACCNM"/>
		<field id="ACCNO"/>
		<field id="ACTACBL"/>
		<field id="AGREEFLAG"/>
		<field id="AGREEREM"/>
		<field id="AREANAME"/>
		<field id="AUDITFLAG   "/>
		<field id="BATNO"/>
		<field id="BCNB"/>
		<field id="BORNAMT"/>
		<field id="BSNTYPE"/>
		<field id="CHANNEL"/>
		<field id="CRYTYPE"/>
		<field id="CSTRGSTNO"/>
		<field id="EDAM"/>
		<field id="ENDDATE"/>
		<field id="ERRTOTALMONEY"/>
		<field id="ERRTOTALNUM"/>
		<field id="ESSACBL"/>
		<field id="ESSFZBL"/>
		<field id="ESSFZFG"/>
		<field id="FEEAREA"/>
		<field id="FEEMONTH"/>
		<field id="FLAG"/>
		<field id="FLOWID"/>
		<field id="GFYLAMT"/>
		<field id="HOSTNO"/>
		<field id="ID"/>
		<field id="INJUAMT"/>
		<field id="LASTOPRNO"/>
		<field id="LOSTAMT"/>
		<field id="LTMTRDT"/>
		<field id="MEDAMT"/>
		<field id="MOBILE"/>
		<field id="OGRACODE"/>
		<field id="OPRNM"/>
		<field id="OPRNO"/>
		<field id="ORDERNO"/>
		<field id="PAYACC"/>
		<field id="PAYAMT"/>
		<field id="PAYDATE"/>
		<field id="PAYNM"/>
		<field id="PAYSTT"/>
		<field id="PREDATE"/>
		<field id="PREFLG"/>
		<field id="PRETIME"/>
		<field id="PRINTTIME"/>
		<field id="PURPOSE"/>
		<field id="RCDNUM"/>
		<field id="RCDSTT"/>
		<field id="REM"/>
		<field id="RETCODE"/>
		<field id="SIGN    "/>
		<field id="SMTDATE"/>
		<field id="SMTTIME"/>
		<field id="STAM"/>
		<field id="STARTDATE"/>
		<field id="STARTNO"/>
		<field id="STT"/>
		<field id="SUBCHANNEL"/>
		<field id="SUCTOTALMONEY"/>
		<field id="SUCTOTALNUM"/>
		<field id="SUMAMT"/>
		<field id="SXAMT"/>
		<field id="TALNUM"/>
		<field id="TOTNUM"/>
		<field id="TRANFLAG"/>
		<field id="TRANFLOWNO"/>
		<field id="TRNAMT"/>
		<field id="TRNSUM"/>
		<field id="XZCODE"/>
		<field id="YLAMT"/>
		<field id="YLDEAMT"/>
		<field id="YLDWAMT"/>
		<field id="YLGRAMT"/>
		<field id="YLTCTAMT"/>
		<iColl id="userDataList">
			<kColl>
				<field id="ID"/>
				<field id="PREDATE"/>
				<field id="PRETIME"/>
				<field id="PURPOSE"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="CHANNEL"/>
				<field id="BCNB"/>
				<field id="REM"/>
			</kColl>
		</iColl>
		<iColl id="resultList">
			<kColl>
				<field id="CSTRGSTNO"/>
				<field id="BSNTYPE"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="XZCODE"/>
				<field id="PRINTTIME"/>
				<field id="PAYSTT"/>
				<field id="TRANFLOWNO"/>
				<field id="BCNB"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="SUBCHANNEL"/>
				<field id="PAYDATE"/>
				<field id="PAYACC"/>
			</kColl>
		</iColl>
		<iColl id="iFlowId">
			<kColl>
				<field id="flowId"/>
				<field id="flowNm"/>
				<field id="rcvLimit"/>
				<field id="level"/>
				<field id="amtDown"/>
				<field id="amtUp"/>
			</kColl>
		</iColl>
		<field id="RCDSTTVALID" value="1"/>
		<field id="cipherText"/>
		<field id="plainText"/>
		<iColl id="iresultList">
			<kColl>
				<field id="ID"/>
				<field id="FLAG"/>
			</kColl>
		</iColl>
		<field id="TRANFLAGVALID" value="0"/>
		<field id="targetPage"/>
		<field id="std400flow"/>
	</kColl>
	<SQLDefine id="queryHostNo" implClass="com.ecc.emp.jdbc.sql.SQLDefine" access="common" SQLStr="SELECT T.CCI_HOSTNO FROM cb_CST_INF T  WHERE T.CCI_CSTNO =? " sqlType="select">
		<input implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="cstNo"/>
		</input>
		<output implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="HOSTNO"/>
		</output>
	</SQLDefine>
	<SQLDefine id="bsnFlowQrySqlDef" implClass="com.ecc.emp.jdbc.sql.SQLDefine" iCollName="iFlowId" access="common" SQLStr="SELECT cb_cst_bsn.ccb_flowid, cb_cst_bsn.ccb_flownm, cb_cst_bsn.ccb_rcvlimit, ccb_amtdown, ccb_amtup FROM cb_cst_bsn, cb_bsn_opr, cb_bsn_acc WHERE cb_bsn_opr.cbo_oprno = ? AND cb_bsn_opr.cbo_flowid = cb_cst_bsn.ccb_flowid AND cbo_bsncode = 'CB700410' AND cbo_level = 0 AND cb_cst_bsn.ccb_stt = '0' AND cb_bsn_opr.cbo_bsncode = cb_cst_bsn.ccb_bsncode AND cba_flowid = cbo_flowid AND cba_accno = ?" sqlType="select">
		<input implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="oprNo"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="2" dataName="ACCNO"/>
		</input>
		<output implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="flowId" dataType="CHAR"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="2" dataName="flowNm" dataType="VARCHAR"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="3" dataName="rcvLimit" dataType="CHAR"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="4" dataName="amtDown"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="5" dataName="amtUp"/>
		</output>
	</SQLDefine>
	<fmtDef id="CPSSOQRYREQ">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="HOSTNO" tagName="HOSTNO"/>
				<xmlConstantTag tagName="BSNTYPE" value="0"/>
				<xmlFullTag dataName="std400flow" tagName="CPFLOWNO"/>
				<xmlFullTag dataName="FEEMONTH" tagName="FEEMONTH"/>
				<xmlFullTag dataName="STARTDATE" tagName="STARTDATE"/>
				<xmlFullTag dataName="ENDDATE" tagName="ENDDATE"/>
				<xmlConstantTag tagName="STARTNO" value="1"/>
				<xmlConstantTag tagName="RCDNUM" value="10"/>
				<xmlFullTag dataName="SUBCHANNEL" tagName="SUBCHANNEL"/>
				<xmlConstantTag tagName="PAYSTT" value="1"/>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="CPSSOQRYRSP">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTag dataName="recordNum" tagName="TOTNUM"/>
				<xmlIColl dataName="resultList" tagName="resultList">
					<xmlWrap tagName="row">
						<xmlFullTag dataName="CSTRGSTNO" tagName="CSTRGSTNO"/>
						<xmlFullTag dataName="BSNTYPE" tagName="BSNTYPE"/>
						<xmlFullTag dataName="SXAMT" tagName="SXAMT"/>
						<xmlFullTag dataName="MEDAMT" tagName="MEDAMT"/>
						<xmlFullTag dataName="OGRACODE" tagName="OGRACODE"/>
						<xmlFullTag dataName="FEEMONTH" tagName="FEEMONTH"/>
						<xmlFullTag dataName="YLAMT" tagName="YLAMT"/>
						<xmlFullTag dataName="LOSTAMT" tagName="LOSTAMT"/>
						<xmlFullTag dataName="INJUAMT" tagName="INJUAMT"/>
						<xmlFullTag dataName="BORNAMT" tagName="BORNAMT"/>
						<xmlFullTag dataName="YLTCTAMT" tagName="YLTCTAMT"/>
						<xmlFullTag dataName="YLDWAMT" tagName="YLDWAMT"/>
						<xmlFullTag dataName="YLDEAMT" tagName="YLDEAMT"/>
						<xmlFullTag dataName="YLGRAMT" tagName="YLGRAMT"/>
						<xmlFullTag dataName="GFYLAMT" tagName="GFYLAMT"/>
						<xmlFullTag dataName="XZCODE" tagName="XZCODE"/>
						<xmlFullTag dataName="PRINTTIME" tagName="PRINTTIME"/>
						<xmlFullTag dataName="PAYSTT" tagName="PAYSTT"/>
						<xmlFullTag dataName="TRANFLOWNO" tagName="TRANFLOWNO"/>
						<xmlFullTag dataName="BCNB" tagName="BCNB"/>
						<xmlFullTag dataName="FEEAREA" tagName="FEEAREA"/>
						<xmlFullTag dataName="AREANAME" tagName="AREANAME"/>
						<xmlFullTag dataName="HOSTNO" tagName="HOSTNO"/>
						<xmlFullTag dataName="SUMAMT" tagName="SUMAMT"/>
						<xmlFullTag dataName="SUBCHANNEL" tagName="SUBCHANNEL"/>
						<xmlFullTag dataName="PAYDATE" tagName="PAYDATE"/>
					</xmlWrap>
				</xmlIColl>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="EBQEYBALREQ">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="ACCNO" tagName="ACCNO"/>
				<xmlConstantTag tagName="CRYTYPE" value="01"/>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="EBQEYBALRSP">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTag dataName="FLAG" tagName="FLAG"/>
				<xmlFullTag dataName="ACCNO" tagName="ACCNO"/>
				<xmlFullTag dataName="LTMTRDT" tagName="LTMTRDT"/>
				<xmlFullTag dataName="ESSACBL" tagName="ESSACBL"/>
				<xmlFullTag dataName="ACTACBL" tagName="ACTACBL"/>
				<xmlFullTag dataName="ESSFZFG" tagName="ESSFZFG"/>
				<xmlFullTag dataName="ESSFZBL" tagName="ESSFZBL"/>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="CPSSCQRYREQ">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="HOSTNO" tagName="HOSTNO"/>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="CPSSCQRYRSP">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTag dataName="CSTRGSTNO" tagName="CSTRGSTNO"/>
				<xmlFullTag dataName="HOSTNO" tagName="HOSTNO"/>
				<xmlFullTag dataName="ACCNM" tagName="ACCNM"/>
				<xmlFullTag dataName="ACCNO" tagName="ACCNO"/>
				<xmlFullTag dataName="MOBILE" tagName="MOBILE"/>
				<xmlFullTag dataName="TRANFLAG" tagName="TRANFLAG"/>
				<xmlFullTag dataName="RCDSTT" tagName="RCDSTT"/>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="CPSSPSUBREQ">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="FLOWID" tagName="FLOWID"/>
				<xmlFullTag dataName="HOSTNO" tagName="HOSTNO"/>
				<xmlConstantTag tagName="TRNSUM" value="1"/>
				<xmlFullTag dataName="TRNAMT" tagName="TRNAMT"/>
				<xmlConstantTag tagName="CHANNEL" value="N"/>
				<xmlIColl dataName="userDataList" tagName="userDataList">
					<xmlWrap tagName="row">
						<xmlFullTag dataName="ID" tagName="ID"/>
						<xmlConstantTag tagName="PREFLG" value="0"/>
						<xmlFullTag dataName="PREDATE" tagName="PREDATE"/>
						<xmlFullTag dataName="PRETIME" tagName="PRETIME"/>
						<xmlFullTag dataName="PURPOSE" tagName="PURPOSE"/>
						<xmlFullTag dataName="PAYACC" tagName="PAYACC"/>
						<xmlFullTag dataName="PAYNM" tagName="PAYNM"/>
						<xmlFullTag dataName="FEEAREA" tagName="FEEAREA"/>
						<xmlFullTag dataName="AREANAME" tagName="AREANAME"/>
						<xmlFullTag dataName="BSNTYPE" tagName="BSNTYPE"/>
						<xmlFullTag dataName="XZCODE" tagName="XZCODE"/>
						<xmlFullTag dataName="TRANFLOWNO" tagName="TRANFLOWNO"/>
						<xmlFullTag dataName="PAYAMT" tagName="PAYAMT"/>
						<xmlFullTag dataName="SXAMT" tagName="SXAMT"/>
						<xmlFullTag dataName="MEDAMT" tagName="MEDAMT"/>
						<xmlFullTag dataName="OGRACODE" tagName="OGRACODE"/>
						<xmlFullTag dataName="FEEMONTH" tagName="FEEMONTH"/>
						<xmlFullTag dataName="YLAMT" tagName="YLAMT"/>
						<xmlFullTag dataName="LOSTAMT" tagName="LOSTAMT"/>
						<xmlFullTag dataName="INJUAMT" tagName="INJUAMT"/>
						<xmlFullTag dataName="BORNAMT" tagName="BORNAMT"/>
						<xmlFullTag dataName="YLTCTAMT" tagName="YLTCTAMT"/>
						<xmlFullTag dataName="YLDWAMT" tagName="YLDWAMT"/>
						<xmlFullTag dataName="YLDEAMT" tagName="YLDEAMT"/>
						<xmlFullTag dataName="YLGRAMT" tagName="YLGRAMT"/>
						<xmlFullTag dataName="GFYLAMT" tagName="GFYLAMT"/>
						<xmlFullTag dataName="BCNB" tagName="BCNB"/>
						<xmlFullTag dataName="REM" tagName="REM"/>
					</xmlWrap>
				</xmlIColl>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
	<fmtDef id="CPSSPSUBRSP">
		<xmlWrap>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrap tagName="stream">
				<xmlFullTag dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTag dataName="BATNO" tagName="BATNO"/>
				<xmlFullTag dataName="SUCTOTALNUM" tagName="SUCTOTALNUM"/>
				<xmlFullTag dataName="SUCTOTALMONEY" tagName="SUCTOTALMONEY"/>
				<xmlFullTag dataName="ERRTOTALNUM" tagName="ERRTOTALNUM"/>
				<xmlFullTag dataName="ERRTOTALMONEY" tagName="ERRTOTALMONEY"/>
				<xmlIColl dataName="iresultList" tagName="resultList">
					<xmlWrap tagName="row">
						<xmlFullTag dataName="ID" tagName="ID"/>
						<xmlFullTag dataName="FLAG" tagName="FLAG"/>
					</xmlWrap>
				</xmlIColl>
			</xmlWrap>
		</xmlWrap>
	</fmtDef>
</SelfDefinedOp.xml>


<?xml version="1.0" encoding="GBK" ?>


<SelfDefinedOp.xml id="cb700410_socialInsurancePay_input">
	<EMPBusinessLogic id="cb700410_socialInsurancePay_input" operationContext="cb700410_socialInsurancePay_inputSrvCtx">
		<operation id="cb700410_inputList" name="经办页面初始化">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="hostNo"/>
				<field id="recordNum"/>
				<field id="firstKey"/>
				<field id="lastKey"/>
				<field id="pageMode"/>
				<field id="recordSize"/>
				<field id="currentPage"/>
				<field id="targetPage"/>
				<field id="std400flow"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="连接超时"/>
				<action id="EndAction2" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="通讯失败"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询三代客户号" sqlService="SQLExecService" refSQL="queryHostNo" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="SendXml2BpCompAction0"/>
				</action>
				<action id="CompareStringAction0" implClass="com.ecc.emp.action.CompareStringAction" label="比较客户签约信息是否有效" param2="RCDSTT" param1="RCDSTTVALID">
					<transition dest="CompareStringAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="EndAction3" result="notsign" implClass="com.ecc.emp.flow.EMPEndAction" label="客户未签约或签约信息无效"/>
				<action id="CompareStringAction1" implClass="com.ecc.emp.action.CompareStringAction" label="比较批扣代缴标志" param2="TRANFLAG" param1="TRANFLAGVALID">
					<transition dest="SendXml2BpCompAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="SendXml2BpCompAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" sendFormat="CPSSCQRYREQ" tranCode="CPSSCQRY" receiveFormat="CPSSCQRYRSP">
					<transition dest="CompareStringAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
				<action id="SendXml2BpCompAction1" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" label="社保缴费经办前查询" sendFormat="CPSSOQRYREQ" tranCode="CPSSOQRY" receiveFormat="CPSSOQRYRSP">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
			</flow>
		</operation>
		<operation id="cb700410_inputList_bak" name="经办页面初始化">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="hostNo"/>
				<field id="recordNum"/>
				<field id="firstKey"/>
				<field id="lastKey"/>
				<field id="pageMode"/>
				<field id="recordSize"/>
				<field id="currentPage"/>
				<field id="targetPage"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="连接超时"/>
				<action id="EndAction2" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="通讯失败"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询三代客户号" sqlService="SQLExecService" refSQL="queryHostNo" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="SendXml2BpCompAction0"/>
				</action>
				<action id="CompareStringAction0" implClass="com.ecc.emp.action.CompareStringAction" label="比较客户签约信息是否有效" param2="RCDSTT" param1="RCDSTTVALID">
					<transition dest="CompareStringAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="EndAction3" result="notsign" implClass="com.ecc.emp.flow.EMPEndAction" label="客户未签约或签约信息无效"/>
				<action id="CompareStringAction1" implClass="com.ecc.emp.action.CompareStringAction" label="比较批扣代缴标志" param2="TRANFLAG" param1="TRANFLAGVALID">
					<transition dest="SendXml2BpCompAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="SendXml2BpCompAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" sendFormat="CPSSCQRYREQ" tranCode="CPSSCQRY" receiveFormat="CPSSCQRYRSP">
					<transition dest="CompareStringAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
				<action id="SendXml2BpCompAction1" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" label="社保缴费经办前查询" sendFormat="CPSSOQRYREQ" tranCode="CPSSOQRY" receiveFormat="CPSSOQRYRSP">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
			</flow>
		</operation>
		<operation id="cb700410_inputInit" name="经办页面初始化">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="hostNo"/>
				<field id="recordNum"/>
				<field id="firstKey"/>
				<field id="lastKey"/>
				<field id="pageMode"/>
				<field id="recordSize"/>
				<field id="currentPage"/>
				<field id="targetPage"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="连接超时"/>
				<action id="EndAction2" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="通讯失败"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询三代客户号" sqlService="SQLExecService" refSQL="queryHostNo" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="SendXml2BpCompAction0"/>
				</action>
				<action id="CompareStringAction0" implClass="com.ecc.emp.action.CompareStringAction" label="比较客户签约信息是否有效" param2="RCDSTT" param1="RCDSTTVALID">
					<transition dest="CompareStringAction1" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="EndAction3" result="notsign" implClass="com.ecc.emp.flow.EMPEndAction" label="客户未签约或签约信息无效"/>
				<action id="CompareStringAction1" implClass="com.ecc.emp.action.CompareStringAction" label="比较批扣代缴标志" param2="TRANFLAG" param1="TRANFLAGVALID">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction3"/>
				</action>
				<action id="SendXml2BpCompAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" sendFormat="CPSSCQRYREQ" tranCode="CPSSCQRY" receiveFormat="CPSSCQRYRSP">
					<transition dest="CompareStringAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1" condition="$retValue='2'"/>
					<transition dest="EndAction2"/>
				</action>
			</flow>
		</operation>
		<operation id="cb700410_queryAccountBal" name="社保缴费账户余额查询">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="CSTRGSTNO"/>
				<field id="ACTACBL"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="TRNAMT"/>
				<field id="ACCNO"/>
				<field id="ACCNM"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="ID"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="BCNB"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="SQLExecAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction" label="成功"/>
				<action id="SQLExecAction0" implClass="com.ecc.emp.jdbc.sql.SQLExecAction" label="查询业务流程" sqlService="SQLExecService" refSQL="bsnFlowQrySqlDef" transactionType="TRX_REQUIRE_NEW" dataSource="DB2JDBC">
					<transition dest="EndAction0" condition="($retValue='0') or ($retValue='2')"/>
					<transition dest="EndAction1"/>
				</action>
				<action id="EndAction1" result="failed" implClass="com.ecc.emp.flow.EMPEndAction" label="查询失败" errorCode="EC17001"/>
			</flow>
		</operation>
		<operation id="cb700410_inputCfm" name="缴费信息确认">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="CSTRGSTNO"/>
				<field id="ACTACBL"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="TRNAMT"/>
				<field id="ACCNO"/>
				<field id="ACCNM"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="ID"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="BCNB"/>
				<field id="FLOWID"/>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="EndAction0"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction"/>
			</flow>
		</operation>
		<operation id="cb700410_inputSave" name="保存社保缴费经办">
			<input>
				<field id="bsnCode"/>
				<field id="cstNo"/>
				<field id="oprNo"/>
				<field id="EMP_SID"/>
				<field id="loginName"/>
				<field id="oprType"/>
				<field id="session_certSerial"/>
				<field id="logonType"/>
				<field id="cstNmCn"/>
				<field id="oprName"/>
				<field id="CSTRGSTNO"/>
				<field id="ACTACBL"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="TRNAMT"/>
				<field id="ACCNO"/>
				<field id="ACCNM"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="ID"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="BCNB"/>
				<field id="FLOWID"/>
				<field id="TRNSUM"/>
				<field id="cipherText"/>
				<field id="plainText"/>
				<iColl id="userDataList">
					<kColl>
						<field id="ID"/>
						<field id="PREDATE"/>
						<field id="PRETIME"/>
						<field id="PURPOSE"/>
						<field id="PAYACC"/>
						<field id="PAYNM"/>
						<field id="FEEAREA"/>
						<field id="AREANAME"/>
						<field id="BSNTYPE"/>
						<field id="XZCODE"/>
						<field id="TRANFLOWNO"/>
						<field id="PAYAMT"/>
						<field id="SXAMT"/>
						<field id="MEDAMT"/>
						<field id="OGRACODE"/>
						<field id="FEEMONTH"/>
						<field id="YLAMT"/>
						<field id="LOSTAMT"/>
						<field id="INJUAMT"/>
						<field id="BORNAMT"/>
						<field id="YLTCTAMT"/>
						<field id="YLDWAMT"/>
						<field id="YLDEAMT"/>
						<field id="YLGRAMT"/>
						<field id="GFYLAMT"/>
						<field id="CHANNEL"/>
						<field id="BCNB"/>
						<field id="REM"/>
					</kColl>
				</iColl>
			</input>
			<flow>
				<action id="StartAction0" implClass="com.ecc.emp.flow.EMPStartAction">
					<transition dest="VerifySigntureAction0"/>
				</action>
				<action id="SendXml2BpAction0" compMode="1" implClass="com.ecc.corporbank.action.SendXml2BpCompAction" label="社保缴费经办" sendFormat="CPSSPSUBREQ" sendListName="userDataList" tranCode="CPSSPSUB" receiveFormat="CPSSPSUBRSP">
					<transition dest="EndAction0" condition="$retValue='0'"/>
					<transition dest="EndAction2"/>
				</action>
				<action id="EndAction0" result="success" implClass="com.ecc.emp.flow.EMPEndAction"/>
				<action id="VerifySigntureAction0" implClass="com.ecc.corporbank.action.VerifySignatureAction">
					<transition dest="SendXml2BpAction0" condition="$retValue='0'"/>
					<transition dest="EndAction1"/>
				</action>
				<action id="EndAction1" result="fail" implClass="com.ecc.emp.flow.EMPEndAction" label="验签失败"/>
				<action id="EndAction2" result="fail" implClass="com.ecc.emp.flow.EMPEndAction"/>
			</flow>
		</operation>
		<refFormat name="0815reqFmt" refId="0815reqFmt"/>
		<refFormat name="0815rspFmt" refId="0815rspFmt"/>
		<refFormat name="CPSSOQRYREQ" refId="CPSSOQRYREQ"/>
		<refFormat name="CPSSOQRYRSP" refId="CPSSOQRYRSP"/>
		<refFormat name="EBQEYBALREQ" refId="EBQEYBALREQ"/>
		<refFormat name="EBQEYBALRSP" refId="EBQEYBALRSP"/>
		<refFormat name="CPSSCQRYREQ" refId="CPSSCQRYREQ"/>
		<refFormat name="CPSSCQRYRSP" refId="CPSSCQRYRSP"/>
		<refFormat name="CPSSPSUBREQ" refId="CPSSPSUBREQ"/>
		<refFormat name="CPSSPSUBRSP" refId="CPSSPSUBRSP"/>
	</EMPBusinessLogic>
	<context id="cb700410_socialInsurancePay_inputSrvCtx" parent="rootCtx" type="op">
		<refKColl refId="cb700410_socialInsurancePay_inputSrvData"/>
		<refService alias="queryHostNo" type="prv" refId="queryHostNo"/>
		<refService alias="bsnFlowQrySqlDef" type="prv" refId="bsnFlowQrySqlDef"/>
	</context>
	<kColl id="cb700410_socialInsurancePay_inputSrvData">
		<field id="errorCode"/>
		<field id="errorMsg"/>
		<field id="bsnCode"/>
		<field id="cstNo"/>
		<field id="oprNo"/>
		<field id="EMP_SID"/>
		<field id="loginName"/>
		<field id="oprType"/>
		<field id="session_certSerial"/>
		<field id="logonType"/>
		<field id="cstNmCn"/>
		<field id="oprName"/>
		<field id="hostNo"/>
		<field id="recordNum"/>
		<field id="currentPage" value="1"/>
		<field id="recordSize" value="10"/>
		<field id="firstKey"/>
		<field id="lastKey"/>
		<field id="pageMode"/>
		<field id="startDate"/>
		<field id="endDate"/>
		<field id="ACCNM"/>
		<field id="ACCNO"/>
		<field id="ACTACBL"/>
		<field id="AGREEFLAG"/>
		<field id="AGREEREM"/>
		<field id="AREANAME"/>
		<field id="AUDITFLAG   "/>
		<field id="BATNO"/>
		<field id="BCNB"/>
		<field id="BORNAMT"/>
		<field id="BSNTYPE"/>
		<field id="CHANNEL"/>
		<field id="CRYTYPE"/>
		<field id="CSTRGSTNO"/>
		<field id="EDAM"/>
		<field id="ENDDATE"/>
		<field id="ERRTOTALMONEY"/>
		<field id="ERRTOTALNUM"/>
		<field id="ESSACBL"/>
		<field id="ESSFZBL"/>
		<field id="ESSFZFG"/>
		<field id="FEEAREA"/>
		<field id="FEEMONTH"/>
		<field id="FLAG"/>
		<field id="FLOWID"/>
		<field id="GFYLAMT"/>
		<field id="HOSTNO"/>
		<field id="ID"/>
		<field id="INJUAMT"/>
		<field id="LASTOPRNO"/>
		<field id="LOSTAMT"/>
		<field id="LTMTRDT"/>
		<field id="MEDAMT"/>
		<field id="MOBILE"/>
		<field id="OGRACODE"/>
		<field id="OPRNM"/>
		<field id="OPRNO"/>
		<field id="ORDERNO"/>
		<field id="PAYACC"/>
		<field id="PAYAMT"/>
		<field id="PAYDATE"/>
		<field id="PAYNM"/>
		<field id="PAYSTT"/>
		<field id="PREDATE"/>
		<field id="PREFLG"/>
		<field id="PRETIME"/>
		<field id="PRINTTIME"/>
		<field id="PURPOSE"/>
		<field id="RCDNUM"/>
		<field id="RCDSTT"/>
		<field id="REM"/>
		<field id="RETCODE"/>
		<field id="SIGN    "/>
		<field id="SMTDATE"/>
		<field id="SMTTIME"/>
		<field id="STAM"/>
		<field id="STARTDATE"/>
		<field id="STARTNO"/>
		<field id="STT"/>
		<field id="SUBCHANNEL"/>
		<field id="SUCTOTALMONEY"/>
		<field id="SUCTOTALNUM"/>
		<field id="SUMAMT"/>
		<field id="SXAMT"/>
		<field id="TALNUM"/>
		<field id="TOTNUM"/>
		<field id="TRANFLAG"/>
		<field id="TRANFLOWNO"/>
		<field id="TRNAMT"/>
		<field id="TRNSUM"/>
		<field id="XZCODE"/>
		<field id="YLAMT"/>
		<field id="YLDEAMT"/>
		<field id="YLDWAMT"/>
		<field id="YLGRAMT"/>
		<field id="YLTCTAMT"/>
		<iColl id="userDataList">
			<kColl>
				<field id="ID"/>
				<field id="PREDATE"/>
				<field id="PRETIME"/>
				<field id="PURPOSE"/>
				<field id="PAYACC"/>
				<field id="PAYNM"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="BSNTYPE"/>
				<field id="XZCODE"/>
				<field id="TRANFLOWNO"/>
				<field id="PAYAMT"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="CHANNEL"/>
				<field id="BCNB"/>
				<field id="REM"/>
			</kColl>
		</iColl>
		<iColl id="resultList">
			<kColl>
				<field id="CSTRGSTNO"/>
				<field id="BSNTYPE"/>
				<field id="SXAMT"/>
				<field id="MEDAMT"/>
				<field id="OGRACODE"/>
				<field id="FEEMONTH"/>
				<field id="YLAMT"/>
				<field id="LOSTAMT"/>
				<field id="INJUAMT"/>
				<field id="BORNAMT"/>
				<field id="YLTCTAMT"/>
				<field id="YLDWAMT"/>
				<field id="YLDEAMT"/>
				<field id="YLGRAMT"/>
				<field id="GFYLAMT"/>
				<field id="XZCODE"/>
				<field id="PRINTTIME"/>
				<field id="PAYSTT"/>
				<field id="TRANFLOWNO"/>
				<field id="BCNB"/>
				<field id="FEEAREA"/>
				<field id="AREANAME"/>
				<field id="HOSTNO"/>
				<field id="SUMAMT"/>
				<field id="SUBCHANNEL"/>
				<field id="PAYDATE"/>
				<field id="PAYACC"/>
			</kColl>
		</iColl>
		<iColl id="iFlowId">
			<kColl>
				<field id="flowId"/>
				<field id="flowNm"/>
				<field id="rcvLimit"/>
				<field id="level"/>
				<field id="amtDown"/>
				<field id="amtUp"/>
			</kColl>
		</iColl>
		<field id="RCDSTTVALID" value="1"/>
		<field id="cipherText"/>
		<field id="plainText"/>
		<iColl id="iresultList">
			<kColl>
				<field id="ID"/>
				<field id="FLAG"/>
			</kColl>
		</iColl>
		<field id="TRANFLAGVALID" value="0"/>
		<field id="targetPage"/>
		<field id="std400flow"/>
	</kColl>
	<SQLDefine id="queryHostNo" implClass="com.ecc.emp.jdbc.sql.SQLDefine" access="common" SQLStr="SELECT T.CCI_HOSTNO FROM cb_CST_INF T  WHERE T.CCI_CSTNO =? " sqlType="select">
		<input implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="cstNo"/>
		</input>
		<output implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="HOSTNO"/>
		</output>
	</SQLDefine>
	<SQLDefine id="bsnFlowQrySqlDef" implClass="com.ecc.emp.jdbc.sql.SQLDefine" iCollName="iFlowId" access="common" SQLStr="SELECT cb_cst_bsn.ccb_flowid, cb_cst_bsn.ccb_flownm, cb_cst_bsn.ccb_rcvlimit, ccb_amtdown, ccb_amtup FROM cb_cst_bsn, cb_bsn_opr, cb_bsn_acc WHERE cb_bsn_opr.cbo_oprno = ? AND cb_bsn_opr.cbo_flowid = cb_cst_bsn.ccb_flowid AND cbo_bsncode = 'CB700410' AND cbo_level = 0 AND cb_cst_bsn.ccb_stt = '0' AND cb_bsn_opr.cbo_bsncode = cb_cst_bsn.ccb_bsncode AND cba_flowid = cbo_flowid AND cba_accno = ?" sqlType="select">
		<input implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="oprNo"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="2" dataName="ACCNO"/>
		</input>
		<output implClass="com.ecc.emp.jdbc.sql.SQLParameterCollection">
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="1" dataName="flowId" dataType="CHAR"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="2" dataName="flowNm" dataType="VARCHAR"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="3" dataName="rcvLimit" dataType="CHAR"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="4" dataName="amtDown"/>
			<param implClass="com.ecc.emp.jdbc.sql.SQLParameter" idx="5" dataName="amtUp"/>
		</output>
	</SQLDefine>
	<fmtDef id="CPSSOQRYREQ">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="HOSTNO" tagName="HOSTNO"/>
				<xmlConstantTag tagName="BSNTYPE" value="0"/>
				<xmlFullTagBP dataName="std400flow" tagName="CPFLOWNO"/>
				<xmlFullTagBP dataName="FEEMONTH" tagName="FEEMONTH"/>
				<xmlFullTagBP dataName="STARTDATE" tagName="STARTDATE"/>
				<xmlFullTagBP dataName="ENDDATE" tagName="ENDDATE"/>
				<xmlConstantTag tagName="STARTNO" value="1"/>
				<xmlConstantTag tagName="RCDNUM" value="10"/>
				<xmlFullTagBP dataName="SUBCHANNEL" tagName="SUBCHANNEL"/>
				<xmlConstantTag tagName="PAYSTT" value="1"/>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="CPSSOQRYRSP">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTagBP dataName="recordNum" tagName="TOTNUM"/>
				<xmlICollBP dataName="resultList" tagName="resultList">
					<xmlWrapBP tagName="row">
						<xmlFullTagBP dataName="CSTRGSTNO" tagName="CSTRGSTNO"/>
						<xmlFullTagBP dataName="BSNTYPE" tagName="BSNTYPE"/>
						<xmlFullTagBP dataName="SXAMT" tagName="SXAMT"/>
						<xmlFullTagBP dataName="MEDAMT" tagName="MEDAMT"/>
						<xmlFullTagBP dataName="OGRACODE" tagName="OGRACODE"/>
						<xmlFullTagBP dataName="FEEMONTH" tagName="FEEMONTH"/>
						<xmlFullTagBP dataName="YLAMT" tagName="YLAMT"/>
						<xmlFullTagBP dataName="LOSTAMT" tagName="LOSTAMT"/>
						<xmlFullTagBP dataName="INJUAMT" tagName="INJUAMT"/>
						<xmlFullTagBP dataName="BORNAMT" tagName="BORNAMT"/>
						<xmlFullTagBP dataName="YLTCTAMT" tagName="YLTCTAMT"/>
						<xmlFullTagBP dataName="YLDWAMT" tagName="YLDWAMT"/>
						<xmlFullTagBP dataName="YLDEAMT" tagName="YLDEAMT"/>
						<xmlFullTagBP dataName="YLGRAMT" tagName="YLGRAMT"/>
						<xmlFullTagBP dataName="GFYLAMT" tagName="GFYLAMT"/>
						<xmlFullTagBP dataName="XZCODE" tagName="XZCODE"/>
						<xmlFullTagBP dataName="PRINTTIME" tagName="PRINTTIME"/>
						<xmlFullTagBP dataName="PAYSTT" tagName="PAYSTT"/>
						<xmlFullTagBP dataName="TRANFLOWNO" tagName="TRANFLOWNO"/>
						<xmlFullTagBP dataName="BCNB" tagName="BCNB"/>
						<xmlFullTagBP dataName="FEEAREA" tagName="FEEAREA"/>
						<xmlFullTagBP dataName="AREANAME" tagName="AREANAME"/>
						<xmlFullTagBP dataName="HOSTNO" tagName="HOSTNO"/>
						<xmlFullTagBP dataName="SUMAMT" tagName="SUMAMT"/>
						<xmlFullTagBP dataName="SUBCHANNEL" tagName="SUBCHANNEL"/>
						<xmlFullTagBP dataName="PAYDATE" tagName="PAYDATE"/>
					</xmlWrapBP>
				</xmlICollBP>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="EBQEYBALREQ">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="ACCNO" tagName="ACCNO"/>
				<xmlConstantTag tagName="CRYTYPE" value="01"/>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="EBQEYBALRSP">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTagBP dataName="FLAG" tagName="FLAG"/>
				<xmlFullTagBP dataName="ACCNO" tagName="ACCNO"/>
				<xmlFullTagBP dataName="LTMTRDT" tagName="LTMTRDT"/>
				<xmlFullTagBP dataName="ESSACBL" tagName="ESSACBL"/>
				<xmlFullTagBP dataName="ACTACBL" tagName="ACTACBL"/>
				<xmlFullTagBP dataName="ESSFZFG" tagName="ESSFZFG"/>
				<xmlFullTagBP dataName="ESSFZBL" tagName="ESSFZBL"/>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="CPSSCQRYREQ">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="HOSTNO" tagName="HOSTNO"/>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="CPSSCQRYRSP">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTagBP dataName="CSTRGSTNO" tagName="CSTRGSTNO"/>
				<xmlFullTagBP dataName="HOSTNO" tagName="HOSTNO"/>
				<xmlFullTagBP dataName="ACCNM" tagName="ACCNM"/>
				<xmlFullTagBP dataName="ACCNO" tagName="ACCNO"/>
				<xmlFullTagBP dataName="MOBILE" tagName="MOBILE"/>
				<xmlFullTagBP dataName="TRANFLAG" tagName="TRANFLAG"/>
				<xmlFullTagBP dataName="RCDSTT" tagName="RCDSTT"/>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="CPSSPSUBREQ">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="FLOWID" tagName="FLOWID"/>
				<xmlFullTagBP dataName="HOSTNO" tagName="HOSTNO"/>
				<xmlConstantTag tagName="TRNSUM" value="1"/>
				<xmlFullTagBP dataName="TRNAMT" tagName="TRNAMT"/>
				<xmlConstantTag tagName="CHANNEL" value="N"/>
				<xmlICollBP dataName="userDataList" tagName="userDataList">
					<xmlWrapBP tagName="row">
						<xmlFullTagBP dataName="ID" tagName="ID"/>
						<xmlConstantTag tagName="PREFLG" value="0"/>
						<xmlFullTagBP dataName="PREDATE" tagName="PREDATE"/>
						<xmlFullTagBP dataName="PRETIME" tagName="PRETIME"/>
						<xmlFullTagBP dataName="PURPOSE" tagName="PURPOSE"/>
						<xmlFullTagBP dataName="PAYACC" tagName="PAYACC"/>
						<xmlFullTagBP dataName="PAYNM" tagName="PAYNM"/>
						<xmlFullTagBP dataName="FEEAREA" tagName="FEEAREA"/>
						<xmlFullTagBP dataName="AREANAME" tagName="AREANAME"/>
						<xmlFullTagBP dataName="BSNTYPE" tagName="BSNTYPE"/>
						<xmlFullTagBP dataName="XZCODE" tagName="XZCODE"/>
						<xmlFullTagBP dataName="TRANFLOWNO" tagName="TRANFLOWNO"/>
						<xmlFullTagBP dataName="PAYAMT" tagName="PAYAMT"/>
						<xmlFullTagBP dataName="SXAMT" tagName="SXAMT"/>
						<xmlFullTagBP dataName="MEDAMT" tagName="MEDAMT"/>
						<xmlFullTagBP dataName="OGRACODE" tagName="OGRACODE"/>
						<xmlFullTagBP dataName="FEEMONTH" tagName="FEEMONTH"/>
						<xmlFullTagBP dataName="YLAMT" tagName="YLAMT"/>
						<xmlFullTagBP dataName="LOSTAMT" tagName="LOSTAMT"/>
						<xmlFullTagBP dataName="INJUAMT" tagName="INJUAMT"/>
						<xmlFullTagBP dataName="BORNAMT" tagName="BORNAMT"/>
						<xmlFullTagBP dataName="YLTCTAMT" tagName="YLTCTAMT"/>
						<xmlFullTagBP dataName="YLDWAMT" tagName="YLDWAMT"/>
						<xmlFullTagBP dataName="YLDEAMT" tagName="YLDEAMT"/>
						<xmlFullTagBP dataName="YLGRAMT" tagName="YLGRAMT"/>
						<xmlFullTagBP dataName="GFYLAMT" tagName="GFYLAMT"/>
						<xmlFullTagBP dataName="BCNB" tagName="BCNB"/>
						<xmlFullTagBP dataName="REM" tagName="REM"/>
					</xmlWrapBP>
				</xmlICollBP>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
	<fmtDef id="CPSSPSUBRSP">
		<xmlWrapBP>
			<xmlHead version="1.0" encoding="gb2312"/>
			<xmlWrapBP tagName="stream">
				<xmlFullTagBP dataName="RETCODE" tagName="RETCODE"/>
				<xmlFullTagBP dataName="BATNO" tagName="BATNO"/>
				<xmlFullTagBP dataName="SUCTOTALNUM" tagName="SUCTOTALNUM"/>
				<xmlFullTagBP dataName="SUCTOTALMONEY" tagName="SUCTOTALMONEY"/>
				<xmlFullTagBP dataName="ERRTOTALNUM" tagName="ERRTOTALNUM"/>
				<xmlFullTagBP dataName="ERRTOTALMONEY" tagName="ERRTOTALMONEY"/>
				<xmlICollBP dataName="iresultList" tagName="resultList">
					<xmlWrapBP tagName="row">
						<xmlFullTagBP dataName="ID" tagName="ID"/>
						<xmlFullTagBP dataName="FLAG" tagName="FLAG"/>
					</xmlWrapBP>
				</xmlICollBP>
			</xmlWrapBP>
		</xmlWrapBP>
	</fmtDef>
</SelfDefinedOp.xml>

你可能感兴趣的:(java,IO)