fixed apt error and update apt package

This commit is contained in:
开源海哥 2023-04-07 12:23:52 +08:00
parent d3ec1c5a0b
commit f4d812a466
4 changed files with 12 additions and 5 deletions

View File

@ -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.*;

View File

@ -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());

View File

@ -1 +1 @@
com.mybatisflex.processer.QueryEntityProcessor
com.mybatisflex.processor.QueryEntityProcessor

View File

@ -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() {