src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -26,6 +26,9 @@ <if test="record.accountStatus!=null"> and m.account_status = #{record.accountStatus} </if> <if test="record.director!=null"> and m.director = #{record.director} </if> <if test="record.level!=null and record.level!=''"> and m.level=#{record.level} </if> @@ -458,6 +461,12 @@ where id = #{id} </update> <update id="updateLevel"> update mall_member set level = #{level} where id = #{id} </update> <update id="updateNameAndAvatar"> update mall_member set avatar = #{photo},