|
@@ -407,7 +407,7 @@ public class WeComUserDataJob {
|
|
|
UserWithTagExample userWithTagExample = new UserWithTagExample();
|
|
|
userWithTagExample.createCriteria().andUserIdEqualTo(userWithTag.getUserId()).andTagIdEqualTo(userWithTag.getTagId());
|
|
|
long l = userWithTagMapper.countByExample(userWithTagExample);
|
|
|
- if (l > 0) {
|
|
|
+ if (l == 0) {
|
|
|
userWithTagMapper.insertSelective(userWithTag);
|
|
|
}
|
|
|
}
|