Commit b83d5f72 by zhoujunpeng

头寸调拨确认交易

parent 83b56deb
......@@ -19,14 +19,18 @@ import com.brilliance.isc.mda.dao.FtdselMapper;
import com.brilliance.isc.mda.dao.CbbMapper;
import com.brilliance.isc.mda.dao.CndMapper;
import com.brilliance.isc.vo.TrncodVo;
import com.brilliance.mda.runtime.mda.util.MdaUtils;
import com.brilliance.mda.runtime.mda.util.Strings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@Component
public class FtToolComponent {
......@@ -191,6 +195,82 @@ public class FtToolComponent {
return ptspta;
}
public static void isFTTrnAllowed(Ftdgrp ftdgrp, TrncodVo trncodVo) {
ftdgrp.reset();
String trnNam = trncodVo.getInifrm().toUpperCase();
String errOpnY = "Selected foreign exchange is already opened.";
String errOpnN = "No foreign exchange selected.";
String errClsY = "Selected foreign exchange has been closed.";
String errQuoY = "Selected foreign exchange has been quoted.";
String errQuoN = "Selected foreign exchange has not quoted yet.";
String errSigY = "Sight exchange cannot settle at maturity.";
String errCnfY = "Selected foreign exchange has been confirmed.";
String errCnfN = "Selected foreign exchange has not been confirmed.";
String errAccN = "There is no amount in transit.";
String errZJB = "此交易只能资金部经办!";
String errYYB = "此交易只能营运部经办!";
String errHO = "Only Headoffice can quote.";
String errRel = "The former registration transaction(FXTSOP/FXTBOP) not released yet.";
String errSetY = "Selected foreign exchange has been settled.";
String errLB = "";
if ("FXTLOP".equals(trnNam)||"FXTFOP".equals(trnNam)||"FXTDEP".equals(trnNam)) {
if (!StringUtils.isEmpty(ftdgrp.getRec().getInr())){
trncodVo.setDisResult(errOpnY);
trncodVo.setIsAllowed("N");
}
}
if ("FXTLCM".equals(trnNam)||"FXTFCM".equals(trnNam)||"FXTDEM".equals(trnNam)) {
if (StringUtils.isEmpty(ftdgrp.getRec().getInr())){
trncodVo.setDisResult(errOpnN);
trncodVo.setIsAllowed("N");
}else if(Objects.nonNull(ftdgrp.getRec().getCnfdat())){
trncodVo.setDisResult(errCnfY);
trncodVo.setIsAllowed("N");
}
if(Objects.nonNull(ftdgrp.getRec().getClsdat())){
trncodVo.setDisResult(errClsY);
trncodVo.setIsAllowed("N");
}
}
if ("FXTLCN".equals(trnNam)||"FXTSUC".equals(trnNam)||"FXTFCN".equals(trnNam)||"FXTDEN".equals(trnNam)) {
if (StringUtils.isEmpty(ftdgrp.getRec().getInr())){
trncodVo.setDisResult(errOpnN);
trncodVo.setIsAllowed("N");
}else if(ftdgrp.getCbs().getOpn2().getAmt().compareTo(BigDecimal.valueOf(0)) <= 0){
trncodVo.setDisResult(errAccN);
trncodVo.setIsAllowed("N");
}
if(Objects.nonNull(ftdgrp.getRec().getClsdat())){
trncodVo.setDisResult(errClsY);
trncodVo.setIsAllowed("N");
}
if(Objects.isNull(ftdgrp.getRec().getCnfdat())){
trncodVo.setDisResult(errCnfN);
trncodVo.setIsAllowed("N");
}
}
if(MdaUtils.isEmpty(trnNam)) {
String msgTxt = "The selected transaction cannot be started under the selected F/X.";
trncodVo.setDisResult(msgTxt);
trncodVo.setIsAllowed("N");
}
if(Strings.isEmpty(trncodVo.getDisResult())){
trncodVo.setIsAllowed("Y");
}
}
}
......@@ -2,10 +2,7 @@ package com.brilliance.isc.funds.basesel.ftdsel.service.impl;
import com.brilliance.isc.bo.FtdVo;
import com.brilliance.isc.funds.basesel.ftdsel.service.FtdselService;
import com.brilliance.isc.mda.dao.FtdselMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
......
......@@ -10,7 +10,7 @@ import java.util.List;
import java.util.Map;
public interface TrncodService extends ITrnCodService {
String isFTTrnAllowed(Ftdgrp cpdgrp, String trnNam);
List<TrncodVo> dealWithByInr(TrnCodeQueryVo trnCodeQueryVo);
Object selectXxdByPrimaryKey(Map<String, String> map);
......
......@@ -47,135 +47,33 @@ public class TrncodServiceImpl implements TrncodService {
@Resource
private FtToolComponent ftToolComponent;
@Override
public String isFTTrnAllowed(Ftdgrp ftdgrp, String trnNam) {
ftdgrp.reset();
trnNam = trnNam.toUpperCase();
String errMsg = "";
switch(trnNam){
case "FTTFMT":
if(MdaUtils.isEmpty(ftdgrp.getRec().getInr())){
errMsg += ErrorPrompt.ErrSelN;}
// }else {
// if(!MdaUtils.isEmpty(ftdgrp.getRec().getClsdat())){
// errMsg += ErrorPrompt.ErrClsY;
// }
// if(MdaUtils.isEmpty(cpdgrp.getRec().getOpndat())){
// errMsg += ErrorPrompt.ErrOpnN;
// }
// if(!MdaUtils.equals(cpdgrp.getRec().getAccmod(),"2")){
// errMsg += "业务未挂账!\n";
// }
// }
break;
case "FTTFCN":
if(MdaUtils.isEmpty(ftdgrp.getRec().getInr())){
errMsg += ErrorPrompt.ErrSelN;
}
// }else {
// if (!MdaUtils.isEmpty(cpdgrp.getRec().getClsdat())) {
// errMsg += ErrorPrompt.ErrClsY;
// }
// }
// break;
// case "CPTROP":
// if(MdaUtils.isEmpty(cpdgrp.getRec().getInr())){
// errMsg += ErrorPrompt.ErrSelN;
// }else {
// if (MdaUtils.isEmpty(cpdgrp.getRec().getClsdat())) {
// errMsg += ErrorPrompt.ErrClsN;
// }
// }
break;
case "CPTFEE":
case "CPTFRE":
case "CPTATT":
case "JSTOPN":
if(MdaUtils.isEmpty(ftdgrp.getRec().getInr())){
errMsg += ErrorPrompt.ErrSelN;
}
break;
default:
errMsg += "";
break;
}
return errMsg;
}
@Override
public List<TrncodVo> dealWithByInr(TrnCodeQueryVo trnCodeQueryVo) {
List<TrncodVo> result = Lists.newArrayList();
//获取模型数据
Ftdgrp cpdgrp = ftToolComponent.getCpdgrpByInr(trnCodeQueryVo.getInr());
List<Busbtn> busbtnList = busbtnMapper.selectByBustypAndIsShow(trnCodeQueryVo.getType());
String disResult = "";
Ftdgrp ftdgrp = ftToolComponent.getCpdgrpByInr(trnCodeQueryVo.getInr());
String isAllowed = "";
String[] fxTraArray = {"FTTFMT", "FTTFCN","FTTPCN"};
String[] fxButArray = {"资金拆借到期", "资金拆借销账","头寸调拨销账"};
Cbb gz1amt = new Cbb();
cbsmodService.cbsGetBalance(gz1amt, "CPD", trnCodeQueryVo.getInr(), "GZ1AMT", "AMT1", Dates.today());
Cbb jf1amt = new Cbb();
cbsmodService.cbsGetBalance(jf1amt, "CPD", trnCodeQueryVo.getInr(), "JF1AMT", "AMT1", Dates.today());
Cbb th1amt = new Cbb();
cbsmodService.cbsGetBalance(th1amt, "CPD", trnCodeQueryVo.getInr(), "TH1AMT", "AMT1", Dates.today());
for (int i = 0; i < fxTraArray.length; i++) {
for (int i = 0; i < busbtnList.size(); i++) {
//按钮亮灰显逻辑
disResult = "";
// if ("资金拆借".equals(busbtnList.get(i).getBtnnam())) {
// // 如果btnnam是"挂账退汇"
// if (gz1amt.getAmt() != null && gz1amt.getAmt().compareTo(BigDecimal.ZERO) > 0) {
// } else {
// disResult = "业务未挂账!\n";
// }
// } else if ("头寸调拨".equals(busbtnList.get(i).getBtnnam())) {
// // 如果btnnam是"解付后退汇"
// if (jf1amt.getAmt() != null && jf1amt.getAmt().compareTo(BigDecimal.ZERO) > 0) {
// } else {
// disResult = "业务未解付!\n";
// }
// } else {
// disResult = trncodService.isFTTrnAllowed(cpdgrp, busbtnList.get(i).getInifrm());
// }
TrncodVo trncodVo = new TrncodVo(busbtnList.get(i).getInifrm(), busbtnList.get(i).getBtnnam(), MdaUtils.isEmpty(disResult) ? "Y" : "N", busbtnList.get(i).getIsMain(), disResult);
TrncodVo trncodVo = new TrncodVo(fxTraArray[i],fxButArray[i],isAllowed,"Y","");
ftToolComponent.isFTTrnAllowed(ftdgrp,trncodVo);
result.add(trncodVo);
}
return result;
}
@Override
public Object selectXxdByPrimaryKey(Map<String, String> map) {
String objinr = map.get("objinr");
String objtyp = map.get("objtyp");
// String pntinr = map.get("pntinr");
String paytyp = map.get("paytyp");
// switch(paytyp) {
// case "I":
// CptadvStoreBo cptadvStoreBo = new CptadvStoreBo();
// cptadvStoreBo.reset();
// if(objinr.length() == 16) {
// Trn trnCpdI = trnMapper.selectByObjinrTrn(objtyp, objinr, "FTTFMT");
// if (!Objects.isNull(trnCpdI)) {
// cptadvStoreBo = sysmodService.streamGetNameInSubDir(CptadvStoreBo.class, trnCpdI.getInr());
// }
// }
// cptadvStoreBo.setCpdgrp(cpToolComponent.getCpdgrpByInr(objinr));
// return cptadvStoreBo;
// case "O":
// CptopnStoreBo cptopnStoreBo = new CptopnStoreBo();
// cptopnStoreBo.reset();
// if(objinr.length() == 16) {
// Trn trnCpdO = trnMapper.selectByObjinrTrn(objtyp, objinr, "FTTFCN");
// if (!Objects.isNull(trnCpdO)) {
// cptopnStoreBo = sysmodService.streamGetNameInSubDir(CptopnStoreBo.class, trnCpdO.getInr());
// }
// }
// cptopnStoreBo.setCpdgrp(cpToolComponent.getCpdgrpByInr(objinr));
// return cptopnStoreBo;
// }
return null;
}
......
package com.brilliance.isc.funds.fttpcm.check;
import com.brilliance.isc.common.transaction.newcheck.AbstractModuleValidator;
import com.brilliance.isc.common.transaction.newcheck.Validate;
import com.brilliance.isc.funds.bo.funds.FttpcmStoreBo;
import com.brilliance.isc.funds.vo.funds.FttpcmStoreVo;
import com.brilliance.mda.runtime.mda.util.MdaUtils;
import javax.annotation.PostConstruct;
import java.util.HashMap;
import java.util.Map;
public class FttpcmValidator extends AbstractModuleValidator<FttpcmStoreBo> {
@Override
@PostConstruct
public void register() {
super.register();
}
// @Override
// public Map<String, String> validate(FttpcmStoreVo vo) {
// Map<String, String> maps = new HashMap<>();
// maps.putAll(super.validate(vo));
// return maps;
// }
/**
* source:fttpcm.0016.script
*/
@Validate(path="setmod.setglg.setgll")
public boolean checkSetmodSetglgSetgllN1000(){
// IContext ctx = MdaEnv.getContext();
//
// for(int i = 1;i <= Grids.gridCount(this.getSetmod().getSetglg().getSetgll());i++)
// {
// if( MdaUtils.compareTo(this.getSetmod().getSetglg().getSetgll().getElement(i).getSftmt(),"103") == 0 )
// {
// if( MdaUtils.isEmpty(this.getSetmod().getSetglg().getSetgll().getElement(i).getSetgrp().getBei().getPts().getExtkey()) )
// {
// ctx.setFieldError(this,"setmod.setglg.setgll[i].setgrp.bei.pts.extkey",MdaUtils.getI18NString("fttpcm","CT000100"));
// }
// }
// }
return true;
}
}
package com.brilliance.isc.funds.fttpcm.document;
import com.brilliance.isc.doc.handle.impl.AbstractTransactionDocSet;
import com.brilliance.isc.funds.bo.funds.FttpcmStoreBo;
import com.brilliance.isc.funds.fxtfop.document.FxtfopDocSet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
@Component("fttpcm.docset")
public class FttpcmDocSet extends AbstractTransactionDocSet<FttpcmStoreBo> {
private static final Logger logger = LoggerFactory.getLogger(FxtfopDocSet.class);
/**
* 构建需要支持的面函组件
*/
@PostConstruct
public void buildMember() {
//扫描Cortype支持,必须要执行
scanDocCortypSupport();
}
}
package com.brilliance.isc.funds.fttpcm.register.diasav;
import com.brilliance.isc.common.register.diasav.IDiasavRegister;
import com.brilliance.isc.common.register.diasav.common.DftcreDiasavRegister;
import com.brilliance.isc.common.register.diasav.common.LiaallDiasavRegister;
import com.brilliance.isc.common.register.diasav.common.LiaallDiasavZZZRegister;
import com.brilliance.isc.common.register.diasav.common.TrtcreDiasavRegister;
import com.brilliance.isc.common.trndia.service.TrndiaService;
import com.brilliance.isc.common.trndia.vo.TrndiaVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("fttpcm.diasavRegister")
public class FttpcmDiasavRegister implements IDiasavRegister {
@Autowired
private TrndiaService trndiaService;
@Autowired
private LiaallDiasavRegister liaallDiasavRegister;
@Autowired
private LiaallDiasavZZZRegister liaallDiasavZZZRegister;
@Autowired
private TrtcreDiasavRegister trtcreDiasavRegister;
@Autowired
private DftcreDiasavRegister dftcreDiasavRegister;
@Override
public void diasav(TrndiaVo trndia) {
trnDiasav(trndia);
liaallDiasavRegister.diasav(trndia);
liaallDiasavZZZRegister.diasav(trndia);
trtcreDiasavRegister.diasav(trndia);
dftcreDiasavRegister.diasav(trndia);
}
private void trnDiasav(TrndiaVo trndiaVo) {
}
}
package com.brilliance.isc.funds.fttpcm.register.doc;
import com.brilliance.isc.common.register.document.IDocumentRegister;
import com.brilliance.isc.common.trndoc.vo.TrndocVo;
import org.springframework.stereotype.Component;
@Component("fttpcm.documentRegister")
public class FttpcmDocumentRegister implements IDocumentRegister {
@Override
public void registerDocument(TrndocVo trndoc) {
doRegister(trndoc);
}
public void doRegister(TrndocVo trndoc) {
}
}
package com.brilliance.isc.funds.fttpcm.register.fee;
import com.brilliance.isc.common.register.fee.AbstractFeeRegister;
import com.brilliance.isc.common.setmod.vo.SetmodVo;
import org.springframework.stereotype.Component;
@Component("fxtfop.feeRegister")
public class FttpcmFeeRegister extends AbstractFeeRegister {
@Override
public void registerSettlement(SetmodVo setmodVo) {
}
}
package com.brilliance.isc.funds.fttpcm.register.settle;
import com.brilliance.isc.common.glemod.service.GlemodService;
import com.brilliance.isc.common.register.settle.DefaultSettleRegister;
import com.brilliance.isc.common.register.settle.ISettleRegister;
import com.brilliance.isc.common.setglg.service.SetglgService;
import com.brilliance.isc.common.setmod.service.SetmodService;
import com.brilliance.isc.common.setmod.vo.SetmodVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("fttpcm.settleRegister")
public class FttpcmSettleRegister implements ISettleRegister {
@Autowired
private SetmodService setmodService;
@Autowired
private SetglgService setglgService;
@Autowired
private DefaultSettleRegister defaultSettleRegister;
@Autowired
private GlemodService glemodService;
@Override
public void registerSettlement(SetmodVo setmodVo) {
transRegister(setmodVo);
defaultSettleRegister.registerSettlement(setmodVo);
//dftcreSettleRegister.registerSettlement(setmodVo);
//trtcreSettleRegister.registerSettlement(setmodVo);
// //取得上下文
// IContext ctx = MdaEnv.getContext();
// ctx.setErrorCode(NO_ERROR);
// this.getSetmod().setDocAmt ( this.getFtdgrp().getCbs().getMax().getCur(), this.getFtdgrp().getCbs().getMax().getAmt(), "Disable" );
// this.getSetmod().getSetglg().setglgClrAmount ( "TRN" );
// String dbtKey = NULLSTR;
// String cdtKey = NULLSTR;
// if( Platform.checkUsrBranch("2") )
// {
// dbtKey = this.getSetmod().setGlgAmt ( "TRN", "OWN", this.getSetmod().getDoccur(), this.getFtdgrp().getCbs().getMax().getAmt(), "" );
// cdtKey = this.getSetmod().setGlgAmt ( "TRN", "TRO", this.getSetmod().getDoccur(), this.getFtdgrp().getCbs().getMax().getAmt().negate(), "" );
// this.getTrnmod().getTrnism().setDefDsp ( "OWN", "D", "FTD" + CR + "DRD" );
// this.getTrnmod().getTrnism().setDefDsp ( "TRO", "C", "PAC" + CR + "DRC" );
// this.getSetmod().setFeeCliRol ( "TRO" );
// this.getSetmod().setglgAllValDat ( this.getFtdgrp().getRec().getValdat(), "D" );
// }
}
public void transRegister(SetmodVo setmodVo) {
}
}
package com.brilliance.isc.funds.fttpcm.resource;
import com.brilliance.isc.common.context.SettleContext;
import com.brilliance.isc.common.transaction.controller.AbstractTransactionController;
import com.brilliance.isc.funds.fttpcm.service.FttpcmTransactionServiceImpl;
import com.brilliance.isc.funds.transfer.transaction.FttpcmStructMapper;
import com.brilliance.isc.funds.vo.funds.FttpcmStoreVo;
import com.brilliance.isc.vo.ResponseSet;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@RequestMapping("/fttpcm")
@Api("头寸调拨登记")
public class FttpcmResource extends AbstractTransactionController<FttpcmStoreVo> {
@Resource
private FttpcmStructMapper fttpcmStructMapper;
@Resource(name = "fttpcm.transaction")
FttpcmTransactionServiceImpl transactionService;
@Autowired
private SettleContext settleContext;
@PostMapping("/getRef")
public ResponseSet<String> getRef(@RequestBody FttpcmStoreVo fttpcmStoreVo) {
return ResponseSet.simpleSuccess(transactionService.getRef(fttpcmStoreVo));
}
}
package com.brilliance.isc.funds.fttpcm.service;
import com.brilliance.isc.bo.Bch;
import com.brilliance.isc.bo.Pta;
import com.brilliance.isc.bo.model.Fxdgrp;
import com.brilliance.isc.common.context.SettleContext;
import com.brilliance.isc.common.transaction.AbstractTransactionService;
import com.brilliance.isc.common.util.StringUtils;
import com.brilliance.isc.common.vo.BizInfoVo;
import com.brilliance.isc.common.vo.PtsptaVo;
import com.brilliance.isc.funds.bo.funds.FttpcmStoreBo;
import com.brilliance.isc.funds.vo.funds.FttpcmStoreVo;
import com.brilliance.isc.funds.vo.funds.FxtfopStoreVo;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.Objects;
import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;
@Service("fttpcm.transaction")
public class FttpcmTransactionServiceImpl extends AbstractTransactionService<FttpcmStoreBo> {
@Override
protected void txnSave(FttpcmStoreBo transactionVo) {
}
@Override
protected Map<String, String> txnCheck(FttpcmStoreBo transactionVo) {
return null;
}
@Override
protected BizInfoVo buildBizInfo(FttpcmStoreBo transactionVo) {
return null;
}
@Override
public void beforeSave(FttpcmStoreBo transactionVo) {
}
public String getRef(FttpcmStoreVo fttpcmStoreVo) {
fttpcmStoreVo.reset();
// PtsptaVo ptsptaVo = fttpcmStoreVo.getFtdgrp().getApl();
// if (ptsptaVo == null || StringUtils.isEmpty(ptsptaVo.getPtainr())) {
// return NULLSTR;
// }
// Pta pta = ptaCacheService.getPtaByInr(ptsptaVo.getPtainr());
// Bch wrkbch = new Bch();
// wrkbch.setInr(pta.getBranchinr());
// wrkbch = bchService.selectByPrimaryKey(wrkbch);
// if (Objects.isNull(wrkbch)) {
// return NULLSTR;
// }
// SettleContext.getUserSession().setWrkbch(wrkbch);
// Fxdgrp fxdgrp = fttpcmStoreVo.getFxdgrp();
// fxToolComponent.getref(fxdgrp);
// return fxdgrp.getRec().getOwnref();
return null;
}
}
package com.brilliance.isc.funds.bo.funds;
import com.brilliance.isc.bo.model.Ftdgrp;
import com.brilliance.isc.common.transaction.vo.BaseTransactionVo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class FttpcmStoreBo extends BaseTransactionVo {
private Ftdgrp ftdgrp;
// private Fttp fttp;
@Override
public void reset(){
super.reset();
if (ftdgrp == null){
ftdgrp = new Ftdgrp();
}
ftdgrp.reset();
// if (fttp == null){
// fttp = new Fttp();
// }
// fttp.reset();
}
}
package com.brilliance.isc.funds.transfer.transaction;
import com.brilliance.isc.funds.bo.funds.FttpcmStoreBo;
import com.brilliance.isc.funds.bo.funds.FxtfcmStoreBo;
import com.brilliance.isc.funds.vo.funds.FttpcmStoreVo;
import com.brilliance.isc.funds.vo.funds.FxtfcmStoreVo;
import com.brilliance.isc.transfer.IBaseStructMapper;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring")
public interface FttpcmStructMapper extends IBaseStructMapper<FttpcmStoreBo, FttpcmStoreVo> {
/**
* 此行语句一定要写,StructMapper需要
*/
FxtfcmStructMapper INSTANCE = Mappers.getMapper(FxtfcmStructMapper.class);
/**
* Vo转为Bo
*
* @param vo
* @return 返回业务Bo
*/
@Override
FttpcmStoreBo voTransferToBo(FttpcmStoreVo vo);
/**
* Vo追加更新至Bo
*
* @param vo
* @param bo
*/
@Override
@Mappings({
})
void voUpdateToBo(FttpcmStoreVo vo, @MappingTarget FttpcmStoreBo bo);
/**
* Bo转为Vo
*
* @param bo
* @return 返回Vo
*/
@Override
FttpcmStoreVo boTransferToVo(FttpcmStoreBo bo);
/**
* bo追加更新至Bo
*
* @param bo
* @param vo
*/
@Override
void boUpdateToVo(FttpcmStoreBo bo, @MappingTarget FttpcmStoreVo vo);
}
package com.brilliance.isc.funds.vo.funds;
import com.brilliance.isc.bo.model.Ftdgrp;
import com.brilliance.isc.bo.model.Fxdgrp;
import com.brilliance.isc.bo.model.Fxtp;
import com.brilliance.isc.common.transaction.vo.BaseTransactionVo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class FttpcmStoreVo extends BaseTransactionVo {
private Ftdgrp ftdgrp;
// private Fttp fttp;
@Override
public void reset() {
super.reset();
if (ftdgrp == null) {
ftdgrp = new Ftdgrp();
}
ftdgrp.reset();
// if (fttp == null) {
// fttp = new Fxtp();
// }
// fttp.reset();
}
}
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