Commit 749a4f19 by jianglong

修改平盘交易校验错误

parent 225875b8
......@@ -391,7 +391,8 @@ public class SetgllValidator extends AbstractModuleValidator<SetgllVo> {
if (((MdaUtils.compareTo(setgllVo.getAcccur(), rmb) == 0 && MdaUtils.compareTo(setgllVo.getCur(), rmb) != 0 && MdaUtils.compareTo(setgllVo.getAmt(), 0) < 0)
|| (MdaUtils.compareTo(setgllVo.getAcccur(), rmb) != 0 && MdaUtils.compareTo(setgllVo.getCur(), rmb) == 0 && MdaUtils.compareTo(setgllVo.getAmt(), 0) > 0))) {
if (MdaUtils.isEmpty(setgllVo.getTrdint())) {
return ValidResult.build(false, "请选择结汇方式代码!");
return null;
//return ValidResult.build(false, "请选择结汇方式代码!");
}
}
return null;
......@@ -408,7 +409,8 @@ public class SetgllValidator extends AbstractModuleValidator<SetgllVo> {
String rmb = xrtmodService.sysiso();
if (((MdaUtils.compareTo(setgllVo.getAcccur(), rmb) == 0 && MdaUtils.compareTo(setgllVo.getCur(), rmb) != 0 && MdaUtils.compareTo(setgllVo.getAmt(), 0) > 0) || (MdaUtils.compareTo(setgllVo.getAcccur(), rmb) != 0 && MdaUtils.compareTo(setgllVo.getCur(), rmb) == 0 && MdaUtils.compareTo(setgllVo.getAmt(), 0) < 0))) {
if (MdaUtils.isEmpty(setgllVo.getTrdout())) {
return ValidResult.build(false, "请选择售汇方式代码!");
return null;
//return ValidResult.build(false, "请选择售汇方式代码!");
}
}
return null;
......
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