add
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user