mirror of https://gitee.com/stylefeng/roses
【8.0】【rule】新增mp的typeHandler配置常量
parent
5b66837d65
commit
1e7f0fac70
|
@ -0,0 +1,16 @@
|
|||
package cn.stylefeng.roses.kernel.rule.constants;
|
||||
|
||||
/**
|
||||
* 用于mybatis-plus的typeHandler常量
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2023/8/2 13:55
|
||||
*/
|
||||
public class MpConstants {
|
||||
|
||||
/**
|
||||
* 一般用在手动使用LambdaUpdateWrapper时候,手动更新json字段,需要手动指定typeHandler
|
||||
*/
|
||||
public static final String TYPE_HANDLER_STRING = "typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler";
|
||||
|
||||
}
|
Loading…
Reference in New Issue