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>
分享到:
相关推荐
在此,我们将深入探讨二级目录结构的磁盘文件系统以及相关文件操作。 首先,二级目录结构是指每个用户或程序都有一个主目录,主目录下再包含若干子目录,子目录中则存储具体的文件。这种结构类似于现实生活中的文件...
4. **用户交互**:提供友好的命令行选项,让用户可以指定待整理的目录、输出目录以及是否覆盖已存在的文件等。 在Go语言中,我们可以使用`os`和`path/filepath`包来操作文件和目录。例如,`filepath.Walk()`函数...
操作系统文件管理实验报告 本实验报告主要介绍了操作系统文件管理的实验过程和结果,涵盖了文件和文件夹的管理、控制面板的设置、Windows 附件的使用等内容。通过实验,掌握了包括文件的管理、控制面板的设置、...
这个脚本首先定义了待整理文件所在的根目录("rootdir"),然后使用`for /f`循环遍历该目录下所有的非目录文件。`%%i`代表当前处理的文件名,`%%~xi`获取文件的扩展名。接着,脚本判断扩展名对应的文件夹是否存在,...
### 操作系统整理资料 #### 重要知识点概览 本篇整理资料主要围绕大学操作系统考试的关键概念和原理展开,深入探讨了操作系统的定义、历史、特征、主要功能以及微内核与客户服务器模式等核心议题。同时,针对进程...
操作系统概念复习整理笔记 操作系统是计算机系统中的一个系统软件,它管理和控制计算机系统中的资源。操作系统是用户和计算机之间的接口,也是程序和数据结构的集合。操作系统的主要功能是管理计算机系统中的资源,...
- **文件复制**:一旦找到匹配的文件,使用文件操作函数(如Windows的CopyFile或Linux的cp命令)将文件复制到目标位置。复制过程中可能需要处理权限问题和错误处理。 - **进度反馈**:为了提升用户体验,工具可能...
"filejoin.exe"可能是执行文件合并的主要程序,负责实际的文件操作;"TextEditor.exe"可能是文本编辑器的主程序,可能包含预览和编辑文本的功能;"help.htm"是HTML格式的帮助文档,提供在线查看的选项;"Plan.ini"和...
在IT领域,文件管理和操作是日常工作的重要组成部分。文件与复制合并是常见的...在实际应用中,还可以结合自动化脚本和现有工具,如Unix/Linux的`cat`命令或编程语言的文件操作库,进一步优化文件合并和恢复的过程。
软件通常会提供一个“添加文件”或“添加文件夹”的选项,让你导入待处理的文件。 2. **设置规则**:软件通常支持多种重命名规则,例如数字递增、替换字符串、插入文本、去除前缀或后缀等。你可以根据需要选择合适...
通过分析和研究源代码,初学者可以理解如何使用C++进行文件操作,特别是文件重命名的系统调用和文件遍历逻辑,这对于学习系统编程和文件I/O非常有帮助。 标签进一步强调了程序的功能和使用的开发平台。批量文件改名...
例如,当内存资源紧张时,操作系统可能会选择将部分进程交换到磁盘,待需要时再调回内存。 3. **文件系统管理**:操作系统负责文件的创建、删除、读取和写入等操作,确保数据的一致性和安全性。例如,当多个进程...
4. 文件操作异常处理: 在这两个方法中,都使用了try-catch语句来捕获可能出现的`IOException`,包括`FileNotFoundException`和`IOException`。这些异常在进行文件I/O操作时可能会发生,例如文件未找到、无法打开或...
用户首先需要设定每个文件夹内允许的文件最大数量,然后指定待处理的文件源目录。工具会遍历源目录中的所有文件,每达到预设的文件数量,就会创建一个新的文件夹,并将这些文件移动进去。这样,每个文件夹内的文件...
3. 高频率的文件操作:频繁地安装、卸载程序,或者大量下载、上传文件,都会加剧碎片的产生。 **二、UDefrag的功能与优势** 1. **碎片整理**:UDefrag的核心功能是对硬盘上的文件进行分析,识别出分散的文件碎片,...
这在日常工作中非常常见,例如整理照片、文档或任何其他需要统一命名规则的文件集合。 批量重命名脚本的核心原理是利用Windows命令行工具(CMD)中的REN(rename)命令。REN命令允许用户将一个或多个文件从旧名称...
在Excel工作中,有时我们需要对大量的XLSX文件进行重命名,尤其在数据处理、报表整理或文件归档时,批量重命名能大大提高工作效率。本文将详细介绍如何使用Excel及相关工具来批量重命名XLSX文件。 首先,理解XLSX...
批量拷贝文件通常涉及到编程或脚本语言,如Python、批处理(Batch)或Shell脚本等,通过编写自动化脚本来执行重复的文件操作。在这个压缩包中,我们可能有一个脚本或者程序,它会读取一个名为"name.txt"的文本文件,这...
1. **创建文件清单**:清单是一个包含待处理文件路径的列表,可能是文本文件或其他格式,用于指导后续的扫描和提取操作。 2. **文件扫描**:通过编程语言(如Python、Java或C#)实现一个文件扫描器,遍历指定文件夹...
用户可以预先整理好待拷贝文件的路径信息,保存为TXT文本文件,工具读取这些信息后,自动生成一个任务列表。任务列表有助于批量处理多个文件或目录,提高了工作效率,避免了人为输入的繁琐。 2. 检索并生成拷贝文件...