|
|
@@ -1202,12 +1202,19 @@ public class WorkReimbursementController extends BaseController {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ System.out.println(map.get("BuyerInformationBuyerIdNum").toString());
|
|
|
+ System.out.println(map.get("BuyerInformationBuyerName").toString());
|
|
|
//对处理后的数据根据发票号进行数据库查询,查看是否存在已报销的电子发票数据
|
|
|
- if (StringUtils.isNotBlank(map.get("BuyerInformationBuyerName").toString()) && "江苏兴光项目管理有限公司".equals(map.get("BuyerInformationBuyerName").toString())) {
|
|
|
+ if ((StringUtils.isNotBlank(map.get("BuyerInformationBuyerName").toString()) && "江苏兴光项目管理有限公司".equals(map.get("BuyerInformationBuyerName").toString())) &&
|
|
|
+ (StringUtils.isNotBlank(map.get("BuyerInformationBuyerIdNum").toString()) && "91320000746823994F".equals(map.get("BuyerInformationBuyerIdNum").toString()))) {
|
|
|
map.put("flag", false);
|
|
|
} else {
|
|
|
map.put("flag", true);
|
|
|
- map.put("message", "上传的数电发票购买方不是“江苏兴光项目管理有限公司”,无法进行报销");
|
|
|
+ if(StringUtils.isNotBlank(map.get("BuyerInformationBuyerIdNum").toString()) && !"91320000746823994F".equals(map.get("BuyerInformationBuyerIdNum").toString())){
|
|
|
+ map.put("message", "上传的数电发票购买方不是“江苏兴光项目管理有限公司”的统一社会信用代码,无法进行报销");
|
|
|
+ }else {
|
|
|
+ map.put("message", "上传的数电发票购买方不是“江苏兴光项目管理有限公司”,无法进行报销");
|
|
|
+ }
|
|
|
return map;
|
|
|
}
|
|
|
|