|
|
|
@ -398,7 +398,7 @@ public class NosLawEnforcementTaskServiceImpl extends ServiceImpl<NosLawEnforcem |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public Boolean approveTask(NosLawEnforcementTaskApproveBO bo) { |
|
|
|
Integer platformType = LoginHelper.getPlatformType(); |
|
|
|
if(!PlatformTypeEnums.ENFORCEMENT.getKey().equals(platformType)) { |
|
|
|
if(!PlatformTypeEnums.ENFORCEMENT.getKey().equals(platformType.longValue())) { |
|
|
|
throw new ServiceException("当前用户不是执法端用户,无法对任务进行审核"); |
|
|
|
} |
|
|
|
|
|
|
|
|