景区账号管理

This commit is contained in:
2025-03-31 17:15:47 +08:00
parent d9619e6fea
commit da72e7e0a9
6 changed files with 207 additions and 0 deletions

View File

@ -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 &lt;= #{endTime}
</if>
</where>
ORDER BY create_time DESC
</select>
</mapper>