收银台-会员列表接口加条件

This commit is contained in:
zhaotianfeng 2024-09-12 14:08:46 +08:00
parent 540d1b3f5c
commit b435f944f9

View File

@ -177,6 +177,9 @@
<if test="user.params.endTime != null and user.params.endTime != ''"><!-- 结束时间检索 -->
and date_format(mub.create_time,'%y%m%d') &lt;= date_format(#{user.params.endTime},'%y%m%d')
</if>
<if test="user.userStatus != null and user.userStatus != ''">
and mub.user_status = #{user.userStatus}
</if>
</where>
ORDER BY mub.create_time desc
</select>