diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html index 242af6f0..d509c102 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html @@ -24,7 +24,7 @@ .panel-card-top{ width: 60%; height: 35%; - padding-left: 6%; + padding-left: 8%; padding-top: 2%; display: flex; flex-direction: column; diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/controller/StatisticalPanelController.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/controller/StatisticalPanelController.java new file mode 100644 index 00000000..b6bc7ab7 --- /dev/null +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/controller/StatisticalPanelController.java @@ -0,0 +1,22 @@ +package com.zdxt.code.controller; + +import com.zdxt.common.ZDResponse; +import com.zdxt.common.controller.BaseController; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +/** + * 综合统计 + */ +@RequestMapping("/statisticalPanel") +@Controller +public class StatisticalPanelController extends BaseController { + + + @RequestMapping("/") + public ZDResponse home(){ + + return ZDResponse.success(); + } +} + diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/StatisticsIndicatorPart.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/StatisticsIndicatorPart.java index 149e59a2..bf79e3c5 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/StatisticsIndicatorPart.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/StatisticsIndicatorPart.java @@ -8,9 +8,34 @@ import java.util.List; @Data public class StatisticsIndicatorPart extends BaseDomain { private String name; - private int number; - private int huan; - private int tong; - private int complaint; + private Integer number; + private Integer huan; + private Integer tong; + private Integer complaint; List statisticsIndicatorPartList; + + /** + * 类型 + */ + private String type; + /** + * 总数量 + */ + private Integer total; + + /** + * 年度 + */ + private String year; + + /** + * 季度 + */ + private Integer quarter; + + /** + * 月度 + */ + private String month; + } diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/StatisticalPanelMapper.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/StatisticalPanelMapper.java new file mode 100644 index 00000000..0c11a134 --- /dev/null +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/StatisticalPanelMapper.java @@ -0,0 +1,28 @@ +package com.zdxt.code.mapper; + +import com.zdxt.code.domain.StatisticsIndicatorPart; + +public interface StatisticalPanelMapper { + + /** + * 统计执法部门数量 + * @param statisticsIndicatorPart + * @return + */ + Integer statisticalPanelDept(StatisticsIndicatorPart statisticsIndicatorPart); + + /** + * 统计执法人员数量 + * @param statisticsIndicatorPart + * @return + */ + Integer statisticalPanelUser(StatisticsIndicatorPart statisticsIndicatorPart); + + /** + * 统计执法人员数量 + * @param statisticsIndicatorPart + * @return + */ + Integer statisticalPanelOwerDept(StatisticsIndicatorPart statisticsIndicatorPart); + +} diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/StatisticalPanelMapper.xml b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/StatisticalPanelMapper.xml new file mode 100644 index 00000000..bddb4093 --- /dev/null +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/StatisticalPanelMapper.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file