diff --git a/pom.xml b/pom.xml
index db1bbc0..841ce6e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,6 +170,12 @@
junit
test
+
+ com.alibaba
+ tools
+ 1.8.0
+ compile
+
diff --git a/src/main/java/com/cm/systemcity/controller/apis/kpi/KpiController.java b/src/main/java/com/cm/systemcity/controller/apis/kpi/KpiController.java
new file mode 100644
index 0000000..0456914
--- /dev/null
+++ b/src/main/java/com/cm/systemcity/controller/apis/kpi/KpiController.java
@@ -0,0 +1,29 @@
+package com.cm.systemcity.controller.apis.kpi;
+
+import com.cm.common.base.AbstractController;
+import com.cm.common.constants.ISystemConstant;
+import com.cm.common.result.SuccessResult;
+import com.cm.common.result.SuccessResultData;
+import com.cm.systemcity.service.kpi.IKpiService;
+import io.swagger.annotations.Api;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "网格员接口")
+@RestController
+@RequestMapping(ISystemConstant.API_PREFIX + "/kpi")
+public class KpiController extends AbstractController {
+
+ @Autowired
+ private IKpiService kpiService;
+
+ @GetMapping("update-community-boss-day-count/{level}")
+ public SuccessResultData updateCommunityBossDayCount(@PathVariable("level") Integer level,
+ @RequestParam("dayDate") String dayDate) {
+ long startTime = System.currentTimeMillis();
+ kpiService.updateCommunityBossDayCount(dayDate, level);
+ long endTime = System.currentTimeMillis();
+ return new SuccessResultData<>("used "+ (endTime - startTime) +" ms");
+ }
+
+}
diff --git a/src/main/java/com/cm/systemcity/dao/kpi/IKpiDao.java b/src/main/java/com/cm/systemcity/dao/kpi/IKpiDao.java
new file mode 100644
index 0000000..6196ac7
--- /dev/null
+++ b/src/main/java/com/cm/systemcity/dao/kpi/IKpiDao.java
@@ -0,0 +1,19 @@
+package com.cm.systemcity.dao.kpi;
+
+import com.cm.systemcity.pojo.pos.kpi.CommunityBossDayCountPO;
+import org.springframework.stereotype.Repository;
+
+import java.util.Map;
+
+@Repository
+public interface IKpiDao {
+
+ void saveCommunityBossDayCount(Map params);
+
+ void deleteCommunityBossDayCount(Map params);
+
+ void updateCommunityBossDayCount(Map params);
+
+ CommunityBossDayCountPO getCommunityBossDayCountPO(Map params);
+
+}
diff --git a/src/main/java/com/cm/systemcity/dao/userlocation/IUserLocationDao.java b/src/main/java/com/cm/systemcity/dao/userlocation/IUserLocationDao.java
index 0921fd1..ad917df 100755
--- a/src/main/java/com/cm/systemcity/dao/userlocation/IUserLocationDao.java
+++ b/src/main/java/com/cm/systemcity/dao/userlocation/IUserLocationDao.java
@@ -6,6 +6,7 @@ import com.cm.common.exception.SearchException;
import com.cm.common.exception.UpdateException;
import com.cm.systemcity.pojo.bos.userlocation.BaiduOffsetBO;
import com.cm.systemcity.pojo.dtos.userlocation.UserLocationDTO;
+import com.cm.systemcity.pojo.pos.userlocation.UserLocationPO;
import org.springframework.stereotype.Repository;
import java.util.List;
@@ -118,4 +119,7 @@ public interface IUserLocationDao {
Map getUserInfoById(String userId);
List