|
|
|
@@ -48,7 +48,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass()); |
|
|
|
|
|
|
|
private final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss"); |
|
|
|
private final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxCreditHistoryMapper wxCreditHistoryMapper; |
|
|
|
@@ -105,7 +105,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
|
wxCreditHistory.setEndTime(new Date()); |
|
|
|
} |
|
|
|
String tableSuffix = "_" + Integer.parseInt(wxCreditHistory.getFinalTenantId())%100; |
|
|
|
wxCreditHistoryMapper.userCreditClear(wxCreditHistory.getEndTime(),tableSuffix); |
|
|
|
wxCreditHistoryMapper.userCreditClear(dateFormat.format(wxCreditHistory.getEndTime()),tableSuffix); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|