|
|
|
@ -3112,6 +3112,17 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService { |
|
|
|
|
return new HXResponse("批量开票:订单号为空,请检查报文!"); |
|
|
|
|
} |
|
|
|
|
// update_by 0未删除 1已删除
|
|
|
|
|
|
|
|
|
|
/** 查找权限ID */ |
|
|
|
|
String entId = ""; |
|
|
|
|
CompanyserviceProp companyservicePropEntId = companyservicePropMapper.selectPropByKey(companyservice.getCompanyid(), "ent_id"); |
|
|
|
|
if(companyservicePropEntId != null && StrUtil.isNotEmpty(companyservicePropEntId.getValue()) ){ |
|
|
|
|
entId = companyservicePropEntId.getValue(); |
|
|
|
|
}else{ |
|
|
|
|
log.info("权限id未配置,需配置key名 ent_id,实现权限管理"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Invoice invoiceValidateTemp = new Invoice(); |
|
|
|
|
List<Invoice> invoicesValidate = invoiceMapper.selectByOutTradeOrdernoList(companyservice.getCompanyid(), outNO, "0"); |
|
|
|
|
|
|
|
|
@ -3212,6 +3223,9 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService { |
|
|
|
|
String fplxdm = ElephantUtils.transElephantType(invioceType, 1); |
|
|
|
|
ddpcxx.setFPLXDM(fplxdm); |
|
|
|
|
|
|
|
|
|
// 权限id赋值
|
|
|
|
|
ddpcxx.setENTID(entId); |
|
|
|
|
|
|
|
|
|
//kk 2023/9/15 V6数电新增
|
|
|
|
|
// 标准开具
|
|
|
|
|
Qdtxx qdtxx = BeanUtil.copyProperties(billInfo, Qdtxx.class); |
|
|
|
|