|
|
@ -279,8 +279,8 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
return queryInvoiceResult; |
|
|
|
return queryInvoiceResult; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getRecords(Map<String, Integer> pramsMap) { |
|
|
|
public String getRecords(Map<String, String> pramsMap) { |
|
|
|
|
|
|
|
DynamicContextHolder.push("business" + DbConstant.BUSINESS_WRITE); |
|
|
|
QueryWrapper<TdxRecordInvoice> recordWrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper<TdxRecordInvoice> recordWrapper = new QueryWrapper<>(); |
|
|
|
List<String> uuids = tdxRecordInvoiceDao.selectRecords(pramsMap); |
|
|
|
List<String> uuids = tdxRecordInvoiceDao.selectRecords(pramsMap); |
|
|
|
log.info("获取的uuid为{}",uuids); |
|
|
|
log.info("获取的uuid为{}",uuids); |
|
|
@ -312,11 +312,10 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
} |
|
|
|
} |
|
|
|
log.info("taxRate={}",taxRate); |
|
|
|
log.info("taxRate={}",taxRate); |
|
|
|
|
|
|
|
|
|
|
|
Map<String, String> pramsUpdate = new HashMap<>(); |
|
|
|
pramsMap.put("taxRate",taxRate); |
|
|
|
pramsUpdate.put("taxRate",taxRate); |
|
|
|
pramsMap.put("uuid",uuid); |
|
|
|
pramsUpdate.put("uuid",uuid); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tdxRecordInvoiceDao.updateTaxRate(pramsUpdate); |
|
|
|
tdxRecordInvoiceDao.updateTaxRate(pramsMap); |
|
|
|
} |
|
|
|
} |
|
|
|
return "ok"; |
|
|
|
return "ok"; |
|
|
|
} |
|
|
|
} |
|
|
|