linwe
2023-11-29 c554a3dcfd7702b14658d9d29554dffba3f90764
src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.xml
@@ -35,5 +35,19 @@
        </if>
    </select>
    <!--自定义分页查询-->
    <select id="getGridmanList" resultType="org.springblade.modules.grid.vo.GridmanVO">
        select
        jgm.*
        from jczz_gridman jgm
        where jgm.is_deleted = 0
        <if test="gridman.gridmanName!=null and gridman.gridmanName!=''">
            and jgm.gridman_name like concat('%',#{gridman.gridmanName},'%')
        </if>
        <if test="gridman.mobile!=null and gridman.mobile!=''">
            and jgm.mobile like concat('%',#{gridman.mobile},'%')
        </if>
    </select>
</mapper>