|
@@ -1,6 +1,7 @@
|
|
package com.sooka.sponest.data.emergency.service.impl;
|
|
package com.sooka.sponest.data.emergency.service.impl;
|
|
|
|
|
|
import com.ruoyi.common.datascope.annotation.DataScope;
|
|
import com.ruoyi.common.datascope.annotation.DataScope;
|
|
|
|
+import com.ruoyi.common.datascope.annotation.DataScopeMutiDept;
|
|
import com.sooka.sponest.data.base.service.impl.BaseServiceImpl;
|
|
import com.sooka.sponest.data.base.service.impl.BaseServiceImpl;
|
|
import com.sooka.sponest.data.emergency.domain.TPatrolAlert;
|
|
import com.sooka.sponest.data.emergency.domain.TPatrolAlert;
|
|
import com.sooka.sponest.data.emergency.mapper.TAttachMapper;
|
|
import com.sooka.sponest.data.emergency.mapper.TAttachMapper;
|
|
@@ -23,7 +24,7 @@ public class TPatrolAlertServiceImpl extends BaseServiceImpl implements TPatrol
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- @DataScope(deptAlias = "d")
|
|
|
|
|
|
+ @DataScopeMutiDept(deptAlias = "d")
|
|
public List<TPatrolAlert> selectTPatrolAlertList(TPatrolAlert patrolAlert) {
|
|
public List<TPatrolAlert> selectTPatrolAlertList(TPatrolAlert patrolAlert) {
|
|
setSookaDataBase(patrolAlert);
|
|
setSookaDataBase(patrolAlert);
|
|
return mapper.selectTPatrolAlertList(patrolAlert);
|
|
return mapper.selectTPatrolAlertList(patrolAlert);
|