|
@@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="title != null and title != ''">and g.title like concat('%', #{title},'%')</if>
|
|
|
<if test="typeId != null ">and g.type_id = #{typeId}</if>
|
|
|
<if test="beginTime != null and beginTime != '' and endTime != null and endTime != ''"> and g.create_time between #{beginTime} and #{endTime}</if>
|
|
|
+ <if test="state != null ">and g.state = #{state}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|