mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fixed apt error and update apt package
This commit is contained in:
parent
d3ec1c5a0b
commit
f4d812a466
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.mybatisflex.processer;
|
||||
package com.mybatisflex.processor;
|
||||
|
||||
|
||||
import java.io.*;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.mybatisflex.processer;
|
||||
package com.mybatisflex.processor;
|
||||
|
||||
|
||||
import com.mybatisflex.annotation.Column;
|
||||
@ -257,7 +257,11 @@ public class QueryEntityProcessor extends AbstractProcessor {
|
||||
|
||||
|
||||
StringJoiner defaultColumnStringJoiner = new StringJoiner(", ");
|
||||
defaultColumns.forEach(s -> defaultColumnStringJoiner.add(camelToUnderline(s).toUpperCase()));
|
||||
propertyAndColumns.forEach((property, column) -> {
|
||||
if (defaultColumns.contains(column)) {
|
||||
defaultColumnStringJoiner.add(camelToUnderline(property).toUpperCase());
|
||||
}
|
||||
});
|
||||
String defaultColumnsString = defaultColumnsTemplate.replace("@allColumns", defaultColumnStringJoiner.toString());
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
com.mybatisflex.processer.QueryEntityProcessor
|
||||
com.mybatisflex.processor.QueryEntityProcessor
|
||||
@ -21,7 +21,10 @@ public class Account {
|
||||
|
||||
private Date birthday;
|
||||
|
||||
@Column(typeHandler = Fastjson2TypeHandler.class)
|
||||
@Column("DEPT_ID_")
|
||||
private String deptId;
|
||||
|
||||
@Column(typeHandler = Fastjson2TypeHandler.class,isLarge = true)
|
||||
private Map<String, Object> options;
|
||||
|
||||
public Long getId() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user