Commit b86a29e1 by huangshunlin

清算模块跳过east7759,补充setDefDsp函数(HLJ版本)

parent c7a15bcc
......@@ -182,7 +182,6 @@ public class SetmodServiceImpl implements SetmodService {
private SetstaMapper setstaMapper;
/**
* source:setmod.0021.script
*/
......@@ -1720,6 +1719,16 @@ public class SetmodServiceImpl implements SetmodService {
// i.e. those that need a separate module and panels
// So no PAY, TRF, BAT,...
// cur, curtyp,amt,flg used in old function : DefSetDsp
if (StringUtils.isNotEmpty(setmodVo.getTrnismParstm())) {
String[] arr = setmodVo.getTrnismParstm().split(TAB);
if (MdaUtils.compareTo(amt, 0) > 0 && "D".equals(arr[1])) {
return arr[2];
} else if (MdaUtils.compareTo(amt, 0) < 0 && "C".equals(arr[1])) {
return arr[2];
} else {
setmodVo.setTrnismParstm(NULLSTR);
}
}
IStream dsps = new StreamImpl();
Streams.streamClear(dsps);
Streams.streamInsert(dsps, 0, "LO");
......@@ -2813,7 +2822,12 @@ public class SetmodServiceImpl implements SetmodService {
}
@Override
public void setglgAllValDat ( SetmodVo setmodVo, Date argValdat , String argFlag ){
public void setDefDsp(SetmodVo setmodVo, String rol, String dcflag, String dspLst) {
setmodVo.setTrnismParstm(rol + TAB + dcflag + TAB + dspLst);
}
@Override
public void setglgAllValDat(SetmodVo setmodVo, Date argValdat, String argFlag) {
setmodVo.getSetglg().setAllvaldat(argValdat);
setmodVo.getSetglg().setAllvaldatflg(argFlag);
}
......
......@@ -2984,6 +2984,7 @@ public class TrnmodServiceImpl implements TrnmodService {
case "JSD":
case "MCD":
case "FXD":
case "CRD":
break;
case "FTD":
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