|
@@ -123,7 +123,7 @@ public class VillageServiceImpl extends ServiceImpl<VillageMapper, VillageEntity
|
|
|
LocalDate date = LocalDate.now();
|
|
|
log.info("日期: {}", date);
|
|
|
StringBuilder sql = new StringBuilder();
|
|
|
- sql.append("select count(id) from d_village_count where is_delete=0 and type='visit' ");
|
|
|
+ sql.append("select count(id) from tb_village_count where is_delete=0 and type='visit' ");
|
|
|
sql.append(StrUtil.format(" and DATE_FORMAT( create_time, '%Y%m%d' ) = DATE_FORMAT('{}' , '%Y%m%d' )", date));
|
|
|
|
|
|
return baseMapper.visitToday(sql.toString());
|