There is no getter for property named 'params' in 'class com.dongting.paopao.manage.pojo.domain.SysDept'
时间: 2023-11-19 19:50:35 浏览: 45
The error message you mentioned suggests that there is no getter method for the 'params' property in the 'SysDept' class in the package 'com.dongting.paopao.manage.pojo.domain'. In Java, getter methods are typically used to access the values of private instance variables.
To resolve this issue, you should add a getter method for the 'params' property in the 'SysDept' class. The naming convention for getter methods is to prefix "get" followed by the capitalized property name. For example, if the property name is 'params', the corresponding getter method would be 'getParams()'.
Here's an example of how you can add a getter method for the 'params' property:
```java
public class SysDept {
private String params;
// Constructor, other methods, and properties...
public String getParams() {
return params;
}
// Other methods...
}
```
By adding this getter method, you will be able to access the value of the 'params' property using the `getParams()` method.