执法一张图,执法机构业务接口

This commit is contained in:
hanqi 2025-04-03 19:57:12 +08:00
parent 3bc3dae968
commit 95f022a307
6 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import java.util.Optional;
@Repository
public interface AgencyRepository extends BaseRepo<Agency, String> {
/**
* 根据执法机构代码查询执法机构
*

View File

@ -17,6 +17,7 @@ import java.util.Map;
@Repository
public interface BigScreenRepository extends BaseRepo<EnforcementInfo, String> {
@Query(value = "select count(0) from zf_enterprise a left join zf_agency b on a.agency_id = b.agency_id where a.del_flag = '0' and b.agency_code like :agencyCode", nativeQuery = true)
Long getqys(String agencyCode);

View File

@ -35,6 +35,7 @@ public class AgencyService {
private final OfficerRepository officerRepository;
private final CaseRepository caseRepository;
public AgencyService(AgencyRepository agencyRepository, OfficerRepository officerRepository, CaseRepository caseRepository) {
this.agencyRepository = agencyRepository;
this.officerRepository = officerRepository;

View File

@ -46,6 +46,7 @@ public class BigScreenService {
private final SupervisionCheckRepository supervisionCheckRepository;
private final ReportCheckOperRepository reportCheckOperRepository;
public BigScreenService(BigScreenRepository bigScreenRepository,
OnlinePatrolRepository onlinePatrolRepository,
EnterpriseRepository enterpriseRepository,

View File

@ -539,6 +539,7 @@ public class CaseService {
}
@PublishDataChange(action = DataChangeAction.SAVE)
@Transactional
public List<Object> discuss(Case c) {

View File

@ -32,6 +32,7 @@ public class CheckItemService {
}
/**
* 保存检查项信息
*