增加非现场执法、统计分析、举报核查等controller类
This commit is contained in:
parent
edd0d19e56
commit
722fdab1f2
|
|
@ -0,0 +1,101 @@
|
|||
package com.aisino.iles.lawenforcement.controller;
|
||||
|
||||
import com.aisino.iles.common.model.Ok;
|
||||
import com.aisino.iles.common.model.PageResult;
|
||||
import com.aisino.iles.common.model.Result;
|
||||
import com.aisino.iles.common.util.Constants;
|
||||
import com.aisino.iles.lawenforcement.model.EnterpriseWarn;
|
||||
import com.aisino.iles.lawenforcement.model.query.EnterpriseWarnQuery;
|
||||
import com.aisino.iles.lawenforcement.service.EnterpriseWarnService;
|
||||
import com.aisino.iles.lawenforcement.service.OffSiteLawEnforceService;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 综合执法/非现场执法统计
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(Constants.API_PREFIX + "/online/patrol")
|
||||
public class OffSiteLawEnforceController {
|
||||
|
||||
private final OffSiteLawEnforceService offSiteLawEnforceService;
|
||||
private final EnterpriseWarnService enterpriseWarnService;
|
||||
|
||||
public OffSiteLawEnforceController(OffSiteLawEnforceService offSiteLawEnforceService,
|
||||
EnterpriseWarnService enterpriseWarnService) {
|
||||
this.offSiteLawEnforceService = offSiteLawEnforceService;
|
||||
this.enterpriseWarnService = enterpriseWarnService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 企业接入统计
|
||||
*
|
||||
* @param
|
||||
* @return 企业接入统计
|
||||
*/
|
||||
@GetMapping("/qyjrtj")
|
||||
public Result<Long> getQyjrtj() {
|
||||
return Ok.of(offSiteLawEnforceService.getQyjrtj());
|
||||
}
|
||||
|
||||
/**
|
||||
* 企业类型接入统计
|
||||
*
|
||||
* @param
|
||||
* @return 企业类型接入统计
|
||||
*/
|
||||
@GetMapping("/qyjrlxtj")
|
||||
public Result<Map> getQyjrlxtj() {
|
||||
return Ok.of(offSiteLawEnforceService.getQyjrlxtj());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 非现场执法总数统计
|
||||
*
|
||||
* @param
|
||||
* @return 非现场执法总数统计
|
||||
*/
|
||||
@GetMapping("/fxczfzs")
|
||||
public Result<Map> getFxczfzs() {
|
||||
return Ok.of(offSiteLawEnforceService.getFxczfzs());
|
||||
}
|
||||
|
||||
/**
|
||||
* 企业预警统计
|
||||
*
|
||||
* @param
|
||||
* @return 企业预警统计
|
||||
*/
|
||||
@GetMapping("/qyyjtj")
|
||||
public Result<List> getQyyjtj() {
|
||||
return Ok.of(offSiteLawEnforceService.getQyyjtj());
|
||||
}
|
||||
|
||||
/**
|
||||
* 非现场执法统计
|
||||
*
|
||||
* @param
|
||||
* @return 非现场执法统计
|
||||
*/
|
||||
@GetMapping("/fxczftj")
|
||||
public Result<List> getFxczftj(String type) {
|
||||
return Ok.of(offSiteLawEnforceService.getFxczftj(type));
|
||||
}
|
||||
|
||||
/**
|
||||
* 监控预警信息
|
||||
*
|
||||
* @param
|
||||
* @return 监控预警信息
|
||||
*/
|
||||
@GetMapping("/jkyjxx")
|
||||
public PageResult<EnterpriseWarn> getEnterpriseWarnPage(EnterpriseWarnQuery query) {
|
||||
return PageResult.of(enterpriseWarnService.findEnterpriseWarnPage(query));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
package com.aisino.iles.lawenforcement.controller;
|
||||
|
||||
import com.aisino.iles.common.model.Ok;
|
||||
import com.aisino.iles.common.model.PageResult;
|
||||
import com.aisino.iles.common.model.Result;
|
||||
import com.aisino.iles.common.util.Constants;
|
||||
import com.aisino.iles.core.annotation.CurrentUser;
|
||||
import com.aisino.iles.lawenforcement.model.OnlinePatrol;
|
||||
import com.aisino.iles.lawenforcement.model.dto.OnlinePatrolDto;
|
||||
import com.aisino.iles.lawenforcement.model.query.OnlinePatrolQuery;
|
||||
import com.aisino.iles.lawenforcement.service.OnlinePatrolService;
|
||||
import com.smartlx.sso.client.model.RemoteUserInfo;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* 综合执法/非现场执法
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(Constants.API_PREFIX + "/online/patrol")
|
||||
public class OnlinePatrolController {
|
||||
|
||||
private final OnlinePatrolService onlinePatrolService;
|
||||
|
||||
public OnlinePatrolController(OnlinePatrolService onlinePatrolService) {
|
||||
this.onlinePatrolService = onlinePatrolService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建报送审批
|
||||
*
|
||||
* @param onlinePatrolDto 报送审批信息
|
||||
* @return 创建结果
|
||||
*/
|
||||
@PostMapping
|
||||
public Result createOnlinePatrol(OnlinePatrolDto onlinePatrolDto) {
|
||||
onlinePatrolService.saveOnlinePatrol(onlinePatrolDto);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询报送审批
|
||||
*
|
||||
* @param query 查询条件
|
||||
* @return 报送审批信息
|
||||
*/
|
||||
@GetMapping
|
||||
public PageResult<OnlinePatrol> getOnlinePatrolPage(OnlinePatrolQuery query) {
|
||||
return PageResult.of(onlinePatrolService.findOnlinePatrolPage(query));
|
||||
}
|
||||
|
||||
/**
|
||||
* 报送审批在线审批
|
||||
*
|
||||
* @param onlinePatrolDto 在线审批信息
|
||||
* @return 创建结果
|
||||
*/
|
||||
@PostMapping("/approval")
|
||||
public Result createOnlinePatrolApproval(@RequestBody OnlinePatrolDto onlinePatrolDto, @CurrentUser RemoteUserInfo user) {
|
||||
onlinePatrolService.saveOnlinePatrolApproval(onlinePatrolDto, user);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
package com.aisino.iles.lawenforcement.controller;
|
||||
|
||||
import com.aisino.iles.common.model.Ok;
|
||||
import com.aisino.iles.common.model.Result;
|
||||
import com.aisino.iles.lawenforcement.service.QrCodeService;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* 综合执法/扫码入企
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/api/qrcode")
|
||||
public class QrCodeController {
|
||||
|
||||
private final QrCodeService qrCodeService;
|
||||
|
||||
public QrCodeController(QrCodeService qrCodeService) {
|
||||
this.qrCodeService = qrCodeService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成二维码
|
||||
*
|
||||
* @return 二维码信息
|
||||
*/
|
||||
@GetMapping("/generate")
|
||||
public Result<String> generateQrCode() {
|
||||
return Ok.of(qrCodeService.generateQrCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验二维码
|
||||
*
|
||||
* @param token token
|
||||
* @param enforcementId 企业id
|
||||
* @return 校验结果
|
||||
*/
|
||||
@GetMapping("/validate")
|
||||
public Result validateToken(@RequestParam String token, @RequestParam String enforcementId) {
|
||||
qrCodeService.validateToken(token, enforcementId);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查二维码状态
|
||||
*
|
||||
* @param token token
|
||||
* @return 校验结果
|
||||
*/
|
||||
@GetMapping("/check-status")
|
||||
public Result<String> checkStatus(@RequestParam String token) {
|
||||
return Ok.of(qrCodeService.checkStatus(token));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
package com.aisino.iles.lawenforcement.controller;
|
||||
|
||||
import com.aisino.iles.common.model.Fail;
|
||||
import com.aisino.iles.common.model.Ok;
|
||||
import com.aisino.iles.common.model.PageResult;
|
||||
import com.aisino.iles.common.model.Result;
|
||||
import com.aisino.iles.common.util.Constants;
|
||||
import com.aisino.iles.core.annotation.CurrentUser;
|
||||
import com.aisino.iles.lawenforcement.model.RecipientInfo;
|
||||
import com.aisino.iles.lawenforcement.model.query.DeliveryQuery;
|
||||
import com.aisino.iles.lawenforcement.service.RecipientInfoService;
|
||||
import com.smartlx.sso.client.model.RemoteUserInfo;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 综合执法/受送人管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(Constants.API_PREFIX + "/lawenforcement/recipientInfos")
|
||||
public class RecipientInfoController {
|
||||
|
||||
private final RecipientInfoService recipientInfoService;
|
||||
|
||||
public RecipientInfoController(RecipientInfoService recipientInfoService) {
|
||||
this.recipientInfoService = recipientInfoService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建受送人信息
|
||||
*
|
||||
* @param recipientInfo 受送人信息
|
||||
* @return 创建结果
|
||||
*/
|
||||
@PostMapping
|
||||
public Result<RecipientInfo> createRecipientInfo(@RequestBody RecipientInfo recipientInfo, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(recipientInfoService.saveRecipientInfo(recipientInfo, user, "add"));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据ID查询受送人
|
||||
*
|
||||
* @param recipientId 受送人ID
|
||||
* @return 受送人信息
|
||||
*/
|
||||
@GetMapping("/{recipientId}")
|
||||
public Result<RecipientInfo> getRecipientInfoById(@PathVariable String recipientId) {
|
||||
return recipientInfoService.findRecipientInfoById(recipientId)
|
||||
.map(s -> (Result<RecipientInfo>) Ok.of(s))
|
||||
.orElse(Fail.of("受送人不存在"));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 分页查询受送人
|
||||
*
|
||||
* @param query 查询条件
|
||||
* @return 分页受送人信息
|
||||
*/
|
||||
@GetMapping
|
||||
public PageResult<RecipientInfo> getRecipientInfoPage(DeliveryQuery query) {
|
||||
Page<RecipientInfo> page = recipientInfoService.findRecipientInfoPage(query);
|
||||
return PageResult.of(page);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据查询条件查询受送人
|
||||
*
|
||||
* @param query 查询条件
|
||||
* @return 受送人集合
|
||||
*/
|
||||
@GetMapping("/list")
|
||||
public Result<List<RecipientInfo>> getRecipientInfoList(DeliveryQuery query) {
|
||||
return Ok.of(recipientInfoService.getRecipientInfoList(query));
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新受送人
|
||||
*
|
||||
* @param recipientId 受送人ID
|
||||
* @param recipientInfo 受送人信息
|
||||
* @return 更新结果
|
||||
*/
|
||||
@PutMapping("/{recipientId}")
|
||||
public Result<RecipientInfo> updateRecipientInfo(@PathVariable String recipientId, @RequestBody RecipientInfo recipientInfo, @CurrentUser RemoteUserInfo user) {
|
||||
if (!recipientInfoService.existsRecipientInfoById(recipientId)) {
|
||||
return Fail.of("受送人不存在");
|
||||
}
|
||||
recipientInfo.setRecipientId(recipientId);
|
||||
return Ok.of(recipientInfoService.saveRecipientInfo(recipientInfo, user, "up"));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据ID删除受送人
|
||||
*
|
||||
* @param recipientId 受送人ID
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping("/{recipientId}")
|
||||
public Result<Void> deleteRecipientInfoById(@PathVariable String recipientId) {
|
||||
if (!recipientInfoService.existsRecipientInfoById(recipientId)) {
|
||||
return Fail.of("受送人不存在");
|
||||
}
|
||||
recipientInfoService.deleteRecipientInfoById(recipientId);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除受送人
|
||||
*
|
||||
* @param recipientIds 受送人ID列表
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
public Result<Void> deleteRecipientInfoByIds(@RequestBody List<String> recipientIds) {
|
||||
recipientInfoService.deleteRecipientInfoByIds(recipientIds);
|
||||
return Ok.of();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,131 @@
|
|||
package com.aisino.iles.lawenforcement.controller;
|
||||
|
||||
import com.aisino.iles.common.model.Fail;
|
||||
import com.aisino.iles.common.model.Ok;
|
||||
import com.aisino.iles.common.model.PageResult;
|
||||
import com.aisino.iles.common.model.Result;
|
||||
import com.aisino.iles.common.util.Constants;
|
||||
import com.aisino.iles.core.annotation.CurrentUser;
|
||||
import com.aisino.iles.lawenforcement.model.ReportCheck;
|
||||
import com.aisino.iles.lawenforcement.model.dto.FormDataDto;
|
||||
import com.aisino.iles.lawenforcement.model.query.ReportCheckQuery;
|
||||
import com.aisino.iles.lawenforcement.service.ReportCheckService;
|
||||
import com.smartlx.sso.client.model.RemoteUserInfo;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 综合执法/举报核查管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(Constants.API_PREFIX + "/lawenforcement/reportChecks")
|
||||
public class ReportCheckController {
|
||||
|
||||
private final ReportCheckService reportCheckService;
|
||||
|
||||
public ReportCheckController(ReportCheckService reportCheckService) {
|
||||
this.reportCheckService = reportCheckService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建举报核查信息
|
||||
*
|
||||
* @param formData 举报核查信息
|
||||
* @return 创建结果
|
||||
*/
|
||||
@PostMapping
|
||||
public Result<ReportCheck> createReportCheck(FormDataDto formData, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(reportCheckService.saveReportCheck(formData, user, "add"));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据ID查询举报核查信息
|
||||
*
|
||||
* @param reportCheckId 举报核查ID
|
||||
* @return 举报核查信息
|
||||
*/
|
||||
@GetMapping("/{reportCheckId}")
|
||||
public Result<ReportCheck> getReportCheckById(@PathVariable String reportCheckId) {
|
||||
return reportCheckService.findReportCheckById(reportCheckId)
|
||||
.map(e -> ((Result<ReportCheck>) Ok.of(e)))
|
||||
.orElse(Fail.of("举报核查信息不存在"));
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询举报核查信息
|
||||
*
|
||||
* @param query 查询条件
|
||||
* @return 分页举报核查信息
|
||||
*/
|
||||
@GetMapping
|
||||
public PageResult<ReportCheck> getReportChecksPage(ReportCheckQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
Page<ReportCheck> page = reportCheckService.findReportChecksPage(query, user);
|
||||
return PageResult.of(page);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新举报核查信息
|
||||
*
|
||||
* @param reportCheckId 举报核查ID
|
||||
* @param formData 举报核查信息
|
||||
* @return 更新结果
|
||||
*/
|
||||
@PutMapping("/{reportCheckId}")
|
||||
public Result<ReportCheck> updateReportCheck(@PathVariable String reportCheckId,
|
||||
FormDataDto formData,
|
||||
@CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(reportCheckService.saveReportCheck(formData, user, "update"));
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除举报核查信息
|
||||
*
|
||||
* @param reportCheckIds 举报核查ID列表
|
||||
* @return 删除结果
|
||||
*/
|
||||
@DeleteMapping
|
||||
public Result<Void> deleteReportChecksByIds(@RequestBody List<String> reportCheckIds) {
|
||||
reportCheckService.deleteReportChecksByIds(reportCheckIds);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 转交
|
||||
*
|
||||
* @param reportCheckIds 举报核查ID列表
|
||||
* @return 转交结果
|
||||
*/
|
||||
@PutMapping("/transferAll")
|
||||
public Result<Void> transferReportChecksByIds(@RequestBody List<String> reportCheckIds, @CurrentUser RemoteUserInfo user) {
|
||||
reportCheckService.transferReportChecksByIds(reportCheckIds, user);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 转交
|
||||
*
|
||||
* @param reportCheck 举报核查
|
||||
* @param user 当前用户
|
||||
* @return 转交结果
|
||||
*/
|
||||
@PutMapping("/transfer")
|
||||
public Result<Void> transferReportChecksByIds(@RequestBody ReportCheck reportCheck, @CurrentUser RemoteUserInfo user) {
|
||||
reportCheckService.transferReportChecksById(reportCheck, user);
|
||||
return Ok.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 反馈
|
||||
*
|
||||
* @param reportCheckId 举报核查ID
|
||||
* @return 转交结果
|
||||
*/
|
||||
@PutMapping("/back/{reportCheckId}")
|
||||
public Result<ReportCheck> backReportCheck(@PathVariable String reportCheckId, @RequestBody ReportCheck reportCheck, @CurrentUser RemoteUserInfo user) {
|
||||
return reportCheckService.backReportCheck(reportCheckId, reportCheck, user)
|
||||
.map(e -> ((Result<ReportCheck>) Ok.of(e)))
|
||||
.orElse(Fail.of("举报核查信息不存在"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,218 @@
|
|||
package com.aisino.iles.lawenforcement.controller;
|
||||
|
||||
import com.aisino.iles.common.model.Ok;
|
||||
import com.aisino.iles.common.model.PageResult;
|
||||
import com.aisino.iles.common.model.Result;
|
||||
import com.aisino.iles.common.util.Constants;
|
||||
import com.aisino.iles.core.annotation.CurrentUser;
|
||||
import com.aisino.iles.lawenforcement.model.EnforcementInfoHistory;
|
||||
import com.aisino.iles.lawenforcement.model.query.CaseQuery;
|
||||
import com.aisino.iles.lawenforcement.service.StatisticService;
|
||||
import com.smartlx.sso.client.model.RemoteUserInfo;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 综合执法/统计报表
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(Constants.API_PREFIX + "/statistic")
|
||||
public class StatisticController {
|
||||
|
||||
private final StatisticService statisticService;
|
||||
|
||||
public StatisticController(StatisticService statisticService) {
|
||||
this.statisticService = statisticService;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 周报表
|
||||
*
|
||||
* @param
|
||||
* @return 执法周报表统计
|
||||
*/
|
||||
@GetMapping("/statisticByWeekForm")
|
||||
public Result<List> statisticByWeekForm(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.statisticByWeekForm(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法周报表统计查看監管企业数详情
|
||||
*
|
||||
* @return 执法周报表统计查看監管企业数详情
|
||||
*/
|
||||
@GetMapping("/getPagezbbjgqyDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagezbbjgqyDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagezbbjgqyDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法周报表统计查看检查企业数详情
|
||||
*
|
||||
* @return 执法周报表统计查看检查企业数详情
|
||||
*/
|
||||
@GetMapping("/getPagejcqyqkByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagejcqyqkByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagejcqyqkByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法周报表统计查看检查次数详情
|
||||
*
|
||||
* @return 执法周报表统计查看检查次数详情
|
||||
*/
|
||||
@GetMapping("/getPagejccsqkByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagejccsqkByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagejccsqkByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法周报表统计查看立案企业详情
|
||||
*
|
||||
* @return 执法周报表统计查看立案企业详情
|
||||
*/
|
||||
@GetMapping("/getPagelaqkByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagelaqkByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagelaqkByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法周报表统计查看立案次数数量
|
||||
*
|
||||
* @return 执法周报表统计查看立案次数数量
|
||||
*/
|
||||
@GetMapping("/getPagelaslByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagelaslByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagelaslByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法周报表统计查看立案填报情况
|
||||
*
|
||||
* @return 执法周报表统计查看立案填报情况
|
||||
*/
|
||||
@GetMapping("/getlaslByindustryTypeDetail")
|
||||
public Result<List<EnforcementInfoHistory>> getlaslByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.getlaqkByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 执法检查统计
|
||||
*
|
||||
* @return 执法检查统计
|
||||
*/
|
||||
@GetMapping("/statisticEnforceCheckForm")
|
||||
public Result<List> statisticEnforceCheckForm(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.statisticEnforceCheckForm(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法检查统计查看检查企业数详情
|
||||
*
|
||||
* @return 执法检查统计查看检查企业数详情
|
||||
*/
|
||||
@GetMapping("/getPageJcqk")
|
||||
public PageResult<EnforcementInfoHistory> getPageJcqk(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPageJcqk(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法检查统计查看检查次数详情
|
||||
*
|
||||
* @return 执法检查统计查看检查次数详情
|
||||
*/
|
||||
@GetMapping("/getPageJccsqk")
|
||||
public PageResult<EnforcementInfoHistory> getPageJccsqk(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPageJccsqk(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法检查统计查看检查次数详情
|
||||
*
|
||||
* @return 执法检查统计查看检查次数详情
|
||||
*/
|
||||
@GetMapping("/getPagejcqkDetail")
|
||||
public Result<List<EnforcementInfoHistory>> getjcqkDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.getjcqkDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 季报表
|
||||
*
|
||||
* @param
|
||||
* @return 执法季报表统计
|
||||
*/
|
||||
@GetMapping("/statisticByQuarterForm")
|
||||
public Result<List> statisticByQuarterForm(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.statisticByQuarterForm(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法季报表统计查看隐患数和文书数详情
|
||||
*
|
||||
* @return 执法季报表统计查看隐患数和文书数详情
|
||||
*/
|
||||
@GetMapping("/getjbbwsyhDetail")
|
||||
public Result<List<EnforcementInfoHistory>> getjbbwsyhDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.getjbbwsyhDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法季报表统计查看违法行为和罚款总额详情
|
||||
*
|
||||
* @return 执法季报表统计查看违法行为和罚款总额详情
|
||||
*/
|
||||
@GetMapping("/getjbbwfxwfkDetail")
|
||||
public Result<List<EnforcementInfoHistory>> getjbbwfxwfkDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(statisticService.getjbbwfxwfkDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法季报表统计查看立案约谈企业详情
|
||||
*
|
||||
* @return 执法季报表统计查看立案约谈企业详情
|
||||
*/
|
||||
@GetMapping("/getPagelaytqyByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagelaytqyByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagelaytqyByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法季报表统计查看立案暂扣证照企业详情
|
||||
*
|
||||
* @return 执法季报表统计查看立案暂扣证照企业详情
|
||||
*/
|
||||
@GetMapping("/getPagelazkzzqyByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagelazkzzqyByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagelazkzzqyByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法季报表统计查看立案责令停产停业企业详情
|
||||
*
|
||||
* @return 执法季报表统计查看立案责令停产停业企业详情
|
||||
*/
|
||||
@GetMapping("/getPagelatczdqyByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagelatczdqyByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagelatczdqyByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法季报表统计查看立案提请关闭企业详情
|
||||
*
|
||||
* @return 执法季报表统计查看立案提请关闭企业详情
|
||||
*/
|
||||
@GetMapping("/getPagelagbqyByindustryTypeDetail")
|
||||
public PageResult<EnforcementInfoHistory> getPagelagbqyByindustryTypeDetail(CaseQuery query, @CurrentUser RemoteUserInfo user) {
|
||||
return PageResult.of(statisticService.getPagelagbqyByindustryTypeDetail(query,user));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue