Commit 8486df18 by jianglong

优化fttfcm报文注册

parent 5050b135
...@@ -19,13 +19,13 @@ public class FttfcmDocset extends AbstractTransactionDocSet<FttfcmStoreBo> { ...@@ -19,13 +19,13 @@ public class FttfcmDocset extends AbstractTransactionDocSet<FttfcmStoreBo> {
@PostConstruct @PostConstruct
public void buildMember() { public void buildMember() {
buildLetterProvider("fttfcm","FTT3001"); buildLetterProvider("fttfcm","FTT3201","FTT1991","FTT2991");
//扫描Cortype支持,必须要执行 //扫描Cortype支持,必须要执行
scanDocCortypSupport(); scanDocCortypSupport();
} }
public Map<String,Object> buildExtraMapForLetter(FttfcmStoreBo trnbo, DoceotVo doceotVo){ public Map<String,Object> buildExtraMapForLetter(FttfcmStoreBo trnbo, DoceotVo doceotVo){
if (MdaUtils.compareTo(doceotVo.getDocnam(),"FTT3001")==0){ if (MdaUtils.compareTo(doceotVo.getDocnam(),"FTT3201")==0){
return buildFtt320l1.build(trnbo,doceotVo); return buildFtt320l1.build(trnbo,doceotVo);
} else { } else {
return new HashMap<>(); return new HashMap<>();
......
...@@ -63,12 +63,15 @@ public class FttfcmDocumentRegister implements IDocumentRegister { ...@@ -63,12 +63,15 @@ public class FttfcmDocumentRegister implements IDocumentRegister {
{ {
case "320": case "320":
trndocService.defDocEot (trndoc, "TRN", "320", "\\FTT320L1", "LET", 0, troPtspta.getPts().getPtainr(), "\\FTDGRP\\REC","MT 320", "TRO", "" ); trndocService.defDocEot (trndoc, "TRN", "320", "\\FTT320L1", "LET", 0, troPtspta.getPts().getPtainr(), "\\FTDGRP\\REC","MT 320", "TRO", "" );
trndocService.setDocSendFormat(trndoc, "TRN320", "SWT", "MT320");
break; break;
case "199": case "199":
trndocService.defDocEot ( trndoc, "TRN", "199", "\\FTT199L1", "LET", 0, troPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 199", "TRO", "" ); trndocService.defDocEot ( trndoc, "TRN", "199", "\\FTT199L1", "LET", 0, troPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 199", "TRO", "" );
trndocService.setDocSendFormat(trndoc, "TRN199", "SWT", "MT199");
break; break;
case "299": case "299":
trndocService.defDocEot (trndoc, "TRN", "299", "\\FTT299L1", "LET", 0, troPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 299", "TRO", "" ); trndocService.defDocEot (trndoc, "TRN", "299", "\\FTT299L1", "LET", 0, troPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 299", "TRO", "" );
trndocService.setDocSendFormat(trndoc, "TRN299", "SWT", "MT299");
break; break;
} }
} }
...@@ -78,12 +81,15 @@ public class FttfcmDocumentRegister implements IDocumentRegister { ...@@ -78,12 +81,15 @@ public class FttfcmDocumentRegister implements IDocumentRegister {
{ {
case "320": case "320":
trndocService.defDocEot (trndoc, "TRN", "320", "\\FTT320L1", "LET", 0, triPtspta.getPts().getPtainr(), "\\FTDGRP\\REC","MT 320", "TRI", "" ); trndocService.defDocEot (trndoc, "TRN", "320", "\\FTT320L1", "LET", 0, triPtspta.getPts().getPtainr(), "\\FTDGRP\\REC","MT 320", "TRI", "" );
trndocService.setDocSendFormat(trndoc, "TRN320", "SWT", "MT320");
break; break;
case "199": case "199":
trndocService.defDocEot (trndoc, "TRN", "199", "\\FTT199L1", "LET", 0, triPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 199", "TRI", "" ); trndocService.defDocEot (trndoc, "TRN", "199", "\\FTT199L1", "LET", 0, triPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 199", "TRI", "" );
trndocService.setDocSendFormat(trndoc, "TRN199", "SWT", "MT199");
break; break;
case "299": case "299":
trndocService.defDocEot (trndoc, "TRN", "299", "\\FTT299L1", "LET", 0, triPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 299", "TRI", "" ); trndocService.defDocEot (trndoc, "TRN", "299", "\\FTT299L1", "LET", 0, triPtspta.getPts().getPtainr(), "\\FTDGRP\\REC", "MT 299", "TRI", "" );
trndocService.setDocSendFormat(trndoc, "TRN299", "SWT", "MT299");
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment