Files
shz-dataDashboard/ruoyi-bussiness/src/main/resources/mapper/app/JobIndexMapper.xml
2026-04-24 18:02:16 +08:00

21 lines
773 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.cms.mapper.JobIndexMapper">
<select id="getList" parameterType="com.ruoyi.cms.domain.JobIndex" resultType="com.ruoyi.cms.domain.JobIndex">
select * from JOB_INDEX where del_flag='0'
<if test="indexName != null and indexName != ''">
and index_name like CONCAT('%',#{indexName},'%')
</if>
<if test="indexDesc != null and indexDesc != ''">
and index_desc like CONCAT('%',#{indexDesc},'%')
</if>
<if test="isActive != null and isActive != ''">
and is_active = #{isActive}
</if>
</select>
</mapper>