|
@@ -123,7 +123,8 @@ public class InvoiceAfterCheckEvent implements IRule<InvoiceVO>{
|
|
|
String orgname = (String) bs.executeQuery(sql1, new ColumnProcessor());
|
|
|
// 使用正则表达式替换中文括号为英文括号
|
|
|
String orgnames = orgname.replaceAll("(", "(").replaceAll(")", ")");
|
|
|
- if(!orgnames.equals(defdocVO.getName2())) {
|
|
|
+ String name2 = defdocVO.getName2().replaceAll("(", "(").replaceAll(")", ")");
|
|
|
+ if(!orgnames.equals(name2)) {
|
|
|
ExceptionUtils.wrappBusinessException("发票抬头与财务组织不一致,请修改财务组织!");
|
|
|
}
|
|
|
//比较纳税人识别号
|