linhw 2024-06-26 10:35:43 +08:00
parent 407f0cce54
commit b682f6d576
2 changed files with 2 additions and 1 deletions

View File

@ -122,6 +122,7 @@ public class AppLoginController {
case 1: case 1:
return R.ok(null, "您的账号已通过"); return R.ok(null, "您的账号已通过");
case 2: case 2:
register.setStatus(0);
appRegisterService.updateAppRegisterByPhone(register); appRegisterService.updateAppRegisterByPhone(register);
break; break;
} }

View File

@ -177,7 +177,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="companyName != null">company_name = #{companyName},</if> <if test="companyName != null">company_name = #{companyName},</if>
<if test="pushId != null">push_id = #{pushId},</if> <if test="pushId != null">push_id = #{pushId},</if>
<if test="nickname != null">nickname = #{nickname},</if> <if test="nickname != null">nickname = #{nickname},</if>
status = 0, <if test="status != null">status = #{status},</if>
</trim> </trim>
where phone = #{phone} where phone = #{phone}
</update> </update>