修改达标奖励重复给的问题

增加万能验证码
This commit is contained in:
GYJ
2024-12-13 18:07:57 +08:00
parent c463ab0ae1
commit 51e9ef0d91
2 changed files with 7 additions and 4 deletions

View File

@@ -9,7 +9,10 @@
</select>
<select id="findByPhoneAndCode" resultType="com.sqx.modules.app.entity.Msg">
select * from msg where phone=#{phone} and code=#{msg}
select * from msg where phone=#{phone}
<if test="msg!='147258'">
and v.code = #{msg}
</if>
</select>
</mapper>
</mapper>