zyy
2025-07-16 37c4b8d314a93ac866a7886b262346ff8810dc3e
src/main/resources/mapper/UserPositionMapper.xml
@@ -542,21 +542,6 @@
    limit 1
  </select>
  <select id="getUserPositionDzList" resultType="com.nq.pojo.UserPosition">
        SELECT u.*
            FROM user_position u
        LEFT JOIN user_position_check_dz dz ON dz.id = u.dz_id
    <where>
      <if test="userId != null ">
        and u.user_id = #{userId}
      </if>
      <if test="checkType != null ">
        and dz.check_type = #{checkType}
      </if>
    </where>
    ORDER BY u.buy_order_time DESC
  </select>
</mapper>