开票申请价税合计必须和销售发票中价税合计一致
This commit is contained in:
parent
66a8e80f7e
commit
87095cacb8
|
@ -312,8 +312,8 @@ public class IVApplicationServiceImpl implements IVApplicationService {
|
||||||
//开票申请价税合计
|
//开票申请价税合计
|
||||||
UFDouble jshj = ivApplicationVO.getParentVO().getJshj();
|
UFDouble jshj = ivApplicationVO.getParentVO().getJshj();
|
||||||
//如果开票申请价税合计 大于 销售发票价税合计则返回报错
|
//如果开票申请价税合计 大于 销售发票价税合计则返回报错
|
||||||
if(jshj != null && ntotalorigmny != null && jshj.compareTo(ntotalorigmny) > 0){
|
if(jshj != null && ntotalorigmny != null && jshj.compareTo(ntotalorigmny) != 0){
|
||||||
throw new BusinessException("价税合计不能超过销售发票中价税合计");
|
throw new BusinessException("价税合计必须和销售发票中价税合计一致");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue