Mybatisplus 自定義sql 使用條件構造器做爲參數 兩種方式

1.註解 只需添加  ${ew.customSqlSegment}和@Param(Constants.WRAPPER)便可java @Select("select * from mysql_data ${ew.customSqlSegment}") List<MysqlData> getAll(@Param(Constants.WRAPPER) Wrapper wrapper); 2.xml--重
相關文章
相關標籤/搜索