|
@@ -300,9 +300,13 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
@@ -300,9 +300,13 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
300
|
logger.info("RealNameAuthorizeServiceImpl clearCacheZhiMaCertInfo uid is {} ", uid);
|
300
|
logger.info("RealNameAuthorizeServiceImpl clearCacheZhiMaCertInfo uid is {} ", uid);
|
301
|
int result = 0;
|
301
|
int result = 0;
|
302
|
if (uid!=null && uid > 0 ){
|
302
|
if (uid!=null && uid > 0 ){
|
303
|
-
|
|
|
304
|
List<ZhiMaCert> zhiMaCerts = zhiMaCertDao.selectByUid(uid);
|
303
|
List<ZhiMaCert> zhiMaCerts = zhiMaCertDao.selectByUid(uid);
|
|
|
304
|
+ try {
|
305
|
zhiMaCerts.stream().forEach(item -> zhiMaCertDao.insertbak(item));
|
305
|
zhiMaCerts.stream().forEach(item -> zhiMaCertDao.insertbak(item));
|
|
|
306
|
+ } catch (Exception e) {
|
|
|
307
|
+ logger.info("zhiMaCertDao.insertbak find error zhiMaCerts is : " + zhiMaCerts, e);
|
|
|
308
|
+ }
|
|
|
309
|
+
|
306
|
|
310
|
|
307
|
result = zhiMaCertDao.deleteByUid(uid);
|
311
|
result = zhiMaCertDao.deleteByUid(uid);
|
308
|
logger.info("RealNameAuthorizeServiceImpl clearCacheZhiMaCertInfo delete uid{} ,delete result is {}", uid, result);
|
312
|
logger.info("RealNameAuthorizeServiceImpl clearCacheZhiMaCertInfo delete uid{} ,delete result is {}", uid, result);
|