src/main/resources/mapper/UserPositionMapper.xml
@@ -435,6 +435,9 @@ <if test="userId != null and userId != ''"> AND user_id = #{userId} </if> <if test="productType != null and productType != ''"> AND stock_gid = #{productType} </if> <if test="positionSn != null and positionSn != ''"> AND position_sn LIKE CONCAT('%', #{positionSn}, '%') </if>