潘志宝
9 天以前 6b13839488edcd06046e26a41fe897358176689c
提交 | 用户 | 时间
e7c126 1 package com.iailab.module.bpm.dal.mysql.definition;
H 2
3
4 import com.iailab.framework.common.pojo.PageResult;
5 import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
6 import com.iailab.framework.mybatis.core.query.QueryWrapperX;
7 import com.iailab.module.bpm.controller.admin.definition.vo.form.BpmFormPageReqVO;
8 import com.iailab.module.bpm.dal.dataobject.definition.BpmFormDO;
9 import org.apache.ibatis.annotations.Mapper;
10
11 /**
12  * 动态表单 Mapper
13  *
bb2880 14  * @author hou
e7c126 15  */
H 16 @Mapper
17 public interface BpmFormMapper extends BaseMapperX<BpmFormDO> {
18
19     default PageResult<BpmFormDO> selectPage(BpmFormPageReqVO reqVO) {
20         return selectPage(reqVO, new QueryWrapperX<BpmFormDO>()
21                 .likeIfPresent("name", reqVO.getName())
22                 .orderByDesc("id"));
23     }
24
25 }