|
|
|
@ -2049,7 +2049,7 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
private HXResponse queryRedInfoByElepant(Redinfo redinfo, Companyservice companyservice) { |
|
|
|
|
public HXResponse queryRedInfoByElepant(Redinfo redinfo, Companyservice companyservice) { |
|
|
|
|
//返回信息
|
|
|
|
|
|
|
|
|
|
if (ObjectUtils.isEmpty(redinfo)){ |
|
|
|
@ -2111,7 +2111,6 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService { |
|
|
|
|
|
|
|
|
|
int i = redinfoMapper.updateRedinfo(redinfo); |
|
|
|
|
if (i<1){ |
|
|
|
|
return new HXResponse("9992","返回红字信息更新失败"); |
|
|
|
|
debugLog("红字订单更新主表信息失败",uuid,System.currentTimeMillis()); |
|
|
|
|
throw new JianshuiServiceException("红字订单更新主表信息失败"); |
|
|
|
|
} |
|
|
|
@ -2145,7 +2144,6 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService { |
|
|
|
|
|
|
|
|
|
int count = redinfoMapper.batchRedinfodetail(redinfodetailList); |
|
|
|
|
if(count <1){ |
|
|
|
|
return new HXResponse("9992","返回红字信息更新失败"); |
|
|
|
|
debugLog("红字订单更新明细信息失败",uuid,System.currentTimeMillis()); |
|
|
|
|
throw new JianshuiServiceException("红字订单更新明细信息失败"); |
|
|
|
|
} |
|
|
|
|