From 1a2892aa45de9de5d8f145062938102144eaa6fe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 九月 2019 11:28:33 +0800 Subject: [PATCH] 解决华为并发问题 --- fanli/src/main/java/com/yeshi/fanli/dao/ad/DouYinClickEventDao.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/ad/DouYinClickEventDao.java b/fanli/src/main/java/com/yeshi/fanli/dao/ad/DouYinClickEventDao.java index 503a80f..3f89970 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/ad/DouYinClickEventDao.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/ad/DouYinClickEventDao.java @@ -16,4 +16,10 @@ return findOne(query); } + public DouYinClickEvent selectByUuid(String uuid) { + Query query = new Query(); + query.addCriteria(Criteria.where("uuid").is(uuid)); + return findOne(query); + } + } -- Gitblit v1.8.0