# condify **Repository Path**: GRTSC/condify ## Basic Information - **Project Name**: condify - **Description**: condify的目标是后端开发人员不再进行数据库条件的组装。只需要在入参对象上添加合适的注解,根据注解自动转换成相应的查询条件。目前支持mybatis-plus. - **Primary Language**: Java - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-04-25 - **Last Updated**: 2025-09-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, MyBatis ## README # condify #### 介绍 condify的目标是后端开发人员不再进行数据库条件的组装。只需要在入参对象上添加合适的注解,根据注解自动转换成相应的查询条件。目前支持mybatis-plus. #### 软件架构 软件架构说明 #### 安装教程 jar包已经上传到中央仓库, 依赖引入: ``` io.gitee.grtsc condify4mybatis_plus 1.0 ``` #### 使用说明 1. 接收前端入参的DTO需要继承com.grt.condify.dto.BaseDTO 2. 通过MybatisSearchParser进行检索条件转换:(可参考condify_test模块) QueryWrapper queryWrapper = MybatisSearchParser.buildQueryWrapper(xxxDTO); 3. 相关注解说明: @SearchType:表明属性为检索属性,type决定检索类型 @OrderType:表明属性为排序属性,有两种使用方法 @OrderType:表明属性为分组属性,groupByFields指定分组字段 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技