| | |
| | | // detlJson.put("rollback","触发回滚"); |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | } |
| | | if (printLog) { |
| | | // if (printLog) { |
| | | |
| | | // detlJson.put("service", "WrkArchiveToLogService"); |
| | | // detlJson.put("wrkNo", wrkNo); |
| | |
| | | // detlJson.put("wrkMastDeleted", wrkMastDeleted); |
| | | // detlJson.put("wrkDetlDeleted", wrkDetlDeleted); |
| | | // log.info(detlJson.toJSONString()); |
| | | } |
| | | // } |
| | | } |
| | | |
| | | } |
| | |
| | | return SUCCESS; |
| | | } |
| | | |
| | | @SuppressWarnings("SameParameterValue") |
| | | private void batchDelete(String tableName, String time, int days) { |
| | | int batchSize = 1000; |
| | | int affected; |