package com.iailab.module.bpm.dal.mysql.definition; import com.iailab.framework.common.pojo.PageResult; import com.iailab.framework.mybatis.core.mapper.BaseMapperX; import com.iailab.framework.mybatis.core.query.QueryWrapperX; import com.iailab.module.bpm.controller.admin.definition.vo.form.BpmFormPageReqVO; import com.iailab.module.bpm.dal.dataobject.definition.BpmFormDO; import org.apache.ibatis.annotations.Mapper; /** * 动态表单 Mapper * * @author hou */ @Mapper public interface BpmFormMapper extends BaseMapperX { default PageResult selectPage(BpmFormPageReqVO reqVO) { return selectPage(reqVO, new QueryWrapperX() .likeIfPresent("name", reqVO.getName()) .orderByDesc("id")); } }