You've already forked FrameTour-BE
景区账号管理
This commit is contained in:
@ -54,4 +54,28 @@
|
||||
from scenic_account
|
||||
where id = #{id}
|
||||
</select>
|
||||
<select id="pageQuery" resultType="com.ycwl.basic.model.pc.scenic.entity.ScenicAccountEntity">
|
||||
SELECT * FROM scenic_account
|
||||
<where>
|
||||
<if test="scenicId != null">
|
||||
AND scenic_id = #{scenicId}
|
||||
</if>
|
||||
<if test="account != null">
|
||||
AND account LIKE CONCAT('%', #{account}, '%')
|
||||
</if>
|
||||
<if test="status != null">
|
||||
AND status = #{status}
|
||||
</if>
|
||||
<if test="isSuper != null">
|
||||
AND is_super = #{isSuper}
|
||||
</if>
|
||||
<if test="startTime != null">
|
||||
AND create_time >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime != null">
|
||||
AND create_time <= #{endTime}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY create_time DESC
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user