easy code mybatis配置

Type Mapper

varchar(\(\d+\))?                                        java.lang.String
char(\(\d+\))?                                            java.lang.String
text                                                    java.lang.String
decimal(\(\d+\))?                                        java.lang.Double
decimal(\(\d+,\d+\))?                                    java.lang.Double
integer                                                    java.lang.Integer
int(\(\d+\))?                                            java.lang.Integer
int4                                                    java.lang.Integer
int8                                                    java.lang.Long
bigint(\(\d+\))?                                        java.lang.Long
datetime(\(\d+\))?                                        java.time.LocalDateTime
timestamp                                                java.time.LocalDateTime
boolean                                                    java.lang.Boolean
tinyint(\(\d+\))?                                        java.lang.Integer
smallint(\(\d+\))?                                        java.lang.Integer
double(\(\d+\))?                                        java.lang.Double
double(\(\d+,\d+\))?                                    java.lang.Double

 

链接:1

posted @ 2020-10-22 17:40  vvf  阅读(161)  评论(0编辑  收藏  举报