|
@ -10,7 +10,6 @@ import org.aspectj.lang.JoinPoint; |
|
|
import org.aspectj.lang.annotation.Aspect; |
|
|
import org.aspectj.lang.annotation.Aspect; |
|
|
import org.aspectj.lang.annotation.Before; |
|
|
import org.aspectj.lang.annotation.Before; |
|
|
import org.aspectj.lang.reflect.MethodSignature; |
|
|
import org.aspectj.lang.reflect.MethodSignature; |
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.core.annotation.Order; |
|
|
import org.springframework.core.annotation.Order; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
@ -78,7 +77,7 @@ public class ReportRequestAspect { |
|
|
Object argBean = BeanUtil.mapToBean(storedParams, arg.getClass(), true); |
|
|
Object argBean = BeanUtil.mapToBean(storedParams, arg.getClass(), true); |
|
|
|
|
|
|
|
|
// 分页参数需要从
|
|
|
// 分页参数需要从
|
|
|
BeanUtils.copyProperties(argBean, arg, "pageSize", "pageNo", "isPage"); |
|
|
BeanUtil.copyProperties(argBean, arg, "pageSize", "pageNo", "isPage"); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|