yanyan 1 year ago
parent
commit
03e213b966
  1. 3
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnforcementRegistrationServiceImpl.java
  2. 4
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnforcementRegistrationMapper.xml

3
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnforcementRegistrationServiceImpl.java

@ -206,7 +206,7 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat
}
@Override
// @DataScope
@DataScope
public List<EnforcementRegistration> selectEnforcementRegistrationListNew(EnforcementRegistration enforcementRegistration)
{
List<EnforcementRegistration> enforcementRegistrations =
@ -215,6 +215,7 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat
}
@Override
@DataScope
public List<EnforcementRegistration> selectEnforcementRegistrationByEpId(EnforcementRegistration enforcementRegistration)
{
List<EnforcementRegistration> enforcementRegistrations =

4
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnforcementRegistrationMapper.xml

@ -390,6 +390,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
and enforcement_time &lt;= #{params.endTime}
</if>
<if test="params.dataScope != null and params.dataScope != ''">
<!-- 数据范围过滤 -->
${params.dataScope}
</if>
</where>
order by enforcement_time desc
</select>

Loading…
Cancel
Save